Skip to content
PNG to PDF ToolsAll tools

How it works

There is no server-side conversion here. The whole pipeline runs in your browser, which is both the privacy property and the performance story.

The pipeline

  1. Decode. The browser decodes the image through createImageBitmap(). Every current browser ships decoders for PNG, JPG, JPEG, WebP, GIF, BMP, TIFF, AVIF, SVG, HEIC, so no custom codec or plugin is needed.

  2. Embed. PNG and JPEG data is passed to the PDF writer as its original compressed stream. The pixels are not decompressed, resampled, or re-encoded, which is why no generation of compression artefacts is added.

  3. Lay out. A page is created for each image. With Match image the page adopts the image’s pixel dimensions; with A4 or US Letter the page takes standard paper dimensions and the image is scaled to fit inside the margin box while preserving its aspect ratio.

  4. Deliver. The finished PDF is created as a Blob in memory and handed to your browser as a download. It is never sent anywhere.

Verify it yourself: zero upload

You do not have to take our word for it. Two checks take under a minute and work on any converter page.

Check 1: watch the Network tab

  1. Open a converter page, then open your browser’s developer tools: press F12or Ctrl+Shift+I(Cmd+Option+I on a Mac).
  2. Select the Network tab and click the clear (🚫) button so the list is empty.
  3. Add an image and press the convert button, then download the PDF.
  4. Look at the list. You will see no POST or PUT request, and nothing that carries your file. Sort by Size or check the Method column to make this easy to see.

What may appear: the page’s own scripts and, for HEIC or PDF-to-image tools, a decoder or renderer fetched the first time you use it (a GET that downloads code, not your data). The site also uses cookieless Cloudflare Web Analytics, which sends a small page-view beacon that contains no file data. See theprivacy page.

Check 2: convert with no connection

  1. Load the converter page while you are online.
  2. Turn on Airplane Mode, or unplug or disable Wi-Fi. In developer tools you can instead set the Network tab’s throttling dropdown to Offline.
  3. Add your images and convert. The PDF is still produced, because nothing needs a server.

One caveat: HEIC decoding and the PDF-to-image tools download their decoder or renderer on first use. Convert one small file while online first, then go offline and repeat.

Page geometry, precisely

PDF measures page size in points, where 72 points equal one inch. A4 is 595.28 × 841.89 points and US Letter is 612 × 792 points. Image pixels are a different unit entirely, which is why a page size has to be chosen explicitly rather than inherited.

At the default screen resolution of 96 pixels per inch, an A4 page is roughly 794 × 1123 pixels. For print at 300 DPI you would want roughly 2480 × 3508 pixels. When the page size is set to match the image, one pixel is treated as one point, so the PDF page reproduces the image’s exact pixel grid.

Transparency

PNG and WebP can carry an alpha channel, and PDF supports transparency through a soft mask, so alpha is carried through rather than discarded. One caveat is worth stating plainly: a transparent region has no colour of its own, so a PDF viewer decides what to paint behind it. That is usually white but is not guaranteed by the format.

Browser support

The tools require JavaScript and a canvas-capable browser, which every browser released since 2017 provides. HEIC is decoded natively where the browser can (Safari). Elsewhere a libheif decoder compiled to WebAssembly is loaded on demand and runs locally, so HEIC works in Chrome, Edge and Firefox on Windows as well. A HEIC file that still will not load is damaged or an unusual variant.

Why it is built this way

Server-side conversion has three costs that are easy to overlook. It puts every user document on hardware you do not control. It makes the service expensive to run, which is why free tiers tend to carry watermarks and file caps. And it adds a round trip to every conversion.

Doing the work locally removes all three. There is no upload to attack, no per-conversion cost to pass on, and no network latency to wait through. It also means the site is a set of static files with no backend to be slow or unavailable.

Open-source components

The conversion runs on these open-source libraries, each used unmodified under its own licence:

See also what data this site handles.