How imagestopdf.app turns images into a PDF

The evidence behind the claims on the Images to PDF tool: what happens to each kind of image, how the PDFs are tested, the known limits, and how to check that your images stay on your device.

Updated

Open the Images to PDF tool

Three ways an image goes into the PDF

The tool writes the PDF in your browser and chooses one of three ways for each image. Each page in the tool says which.

ImageWhat happensDo pixels change?
JPEG (.jpg, .jpeg, .jfif), including progressive, grayscale and CMYKThe file's bytes are copied into the PDF unchangedNo
PNG with no transparency, not interlacedIts compressed data is copied unchanged, at its own bit depthNo
Other PNGDecoded and stored with lossless compression; transparency becomes a soft maskNo
GIF (first frame), BMP, lossless WebP, SVGDecoded by your browser and stored with lossless compressionNo
HEIC, HEIF, AVIF, lossy WebPDecoded on your device, then stored as JPEG at quality 92, or with lossless compression if you choose Exact pixelsSlightly with JPEG; not with Exact pixels

Turning a page, with the rotate button or from the EXIF orientation a phone stores in a JPEG, and fitting it to US Letter, A4 or Legal are done by the PDF page, so the image data stays as it was. Where the browser cannot open HEIC, the page loads libheif, an open-source HEIC decoder, from imagestopdf.app when the first HEIC file arrives.

How it is tested

Every test PDF is opened by other programs. Poppler's pdfinfo and pdfimages -list check the page count, the page sizes and how each image is stored. pdfimages -j pulls each JPEG back out of the PDF, and it must be byte for byte the file that went in. That is the proof behind "Copied unchanged". For a PNG that is copied, the PDF must hold the PNG's compressed image data exactly as it is in the file.

Each page is also drawn by three independent PDF renderers (Poppler, Ghostscript and Apple's Quartz) and compared pixel by pixel with the source image as ImageMagick decodes it, turned upright. The average difference must be under 3 levels out of 255 for lossless images and under 8 for JPEGs, whose decoders differ slightly (30 for CMYK, which each renderer converts to screen colors its own way). The test images are made for the purpose: JPEGs that are baseline, progressive, grayscale and CMYK, one in each of the eight EXIF orientations, two that state a resolution and one with an Adobe RGB color profile; PNGs from 1 to 16 bits in grayscale, color and palette, with and without transparency, and interlaced; raw pixels with and without transparency; and damaged or oversized files, which must be refused with the right error.

The page itself is tested in a browser driven by a script: three images in order, the JPEG inside the downloaded PDF checked byte for byte, reordering by dragging and by keyboard, rotate, remove, sort and reverse, a phone photo stored sideways, a transparent PNG, US Letter with a margin, one PDF per image and the ZIP, HEIC, WebP, AVIF, GIF and SVG with both photo options, paste, 60 images at once, wrong files, offline use with a HEIC photo, and the network check below.

Last tested: November 22, 2026. Result: all 38 engine tests passed, and all 8 page tests passed in Chrome, in Firefox and in WebKit, the engine of Safari.

Known limits

One image can be at most 268 megapixels and 65,535 pixels on a side. Where the page decodes a HEIC photo itself, with libheif, the photo can be at most 64 megapixels and 128 MB. There is no limit on the number of images, but there is one on memory: JPEGs and plain PNGs are copied from your files without being decoded, while every other image is decoded and kept, compressed, in the page's memory until you clear it.

Images in formats other than JPEG and PNG are decoded on a canvas at full size. Phone browsers, Safari on an iPhone or iPad most of all, limit the size of a canvas, and the tool does not yet adjust for that limit, so a large photo of that kind may not open on a phone.

A copied JPEG keeps everything stored inside it, including the date, the camera model and, for phone photos taken with location on, the place. Other images carry none of it: only their pixels, or a PNG's image data, go into the PDF. A JPEG's color profile is carried into the PDF unless it is incomplete or does not match the image's colors, in which case it is left out; a PNG's color profile is not carried. Rare kinds of JPEG (12-bit, lossless or arithmetic-coded) are refused with a message.

SVG drawings become pixels, not vectors, at the size the drawing states (its width and height, or its viewBox). Animated images give their first frame. The tool does not recognize text (OCR), shrink JPEGs, make PDF/A files or edit existing PDFs. Not tested yet: Safari on an iPhone and Chrome on an Android phone in hand, and the PDFs in Adobe Acrobat and Chrome's PDF viewer.

How to check that nothing is uploaded

Three checks, from quickest to most thorough:

  1. Go offline. Load the tool, turn off Wi-Fi, then make a PDF. It works, which it could not do if your images had to reach a server.
  2. Watch the network. Open your browser's developer tools, go to the Network tab and add images. The page fetches its own code from imagestopdf.app, including the HEIC decoder if your browser needs it, and if analytics is on, small requests go to Google Analytics and Microsoft Clarity. None contains an image, its name or its contents.
  3. Read the security policy. Every page is sent with a Content-Security-Policy header that blocks it from sending data anywhere except imagestopdf.app and the two analytics services.

Tests run the first two checks before each release, the second with a marker in the images' names and bytes that must not appear in any request. The privacy page lists what the analytics services do receive.