Image tools · HEIC photos to one PDF

Put HEIC photos into one PDF on your own device.

Choose several iPhone photos, pick A4, Letter or photo-shaped pages, and download a single PDF. The photos are decoded and assembled in this tab and are never uploaded.

A multi-photo PDF without the detour

The usual route from iPhone photos to a PDF is two steps: convert every HEIC to JPG, then combine the JPGs. This page does both in one pass, so a stack of receipts, a lease signed in pieces or a set of damage photos for an insurance claim becomes one file you can email. It also avoids a trap in plain JPG-to-PDF tools: photos that rely on a rotation flag can arrive sideways. Here the rotation is applied to the pixels before the PDF is built, so every page is upright.

How the PDF is built

  1. Each HEIC is verified by its header, then decoded by your browser or, if it cannot, by the built-in decoder.
  2. The pixels are re-encoded as a JPEG at 90% quality. This is the one lossy step, and it is what keeps the PDF reasonable in size.
  3. The JPEG is embedded into a new PDF using the open-source pdf-lib library, scaled to fit inside the page and centred.
  4. You download one PDF. Pages follow the order in which your file chooser returned the files, which on some systems is alphabetical rather than the order you tapped. Rename files with a numeric prefix if order matters.

Page size and margins

Keeping the PDF small

Phone photos are high resolution, so a PDF with many of them gets large quickly. Because the images are embedded at their full pixel size, a ten-photo PDF can exceed a typical email attachment limit. If that happens, shrink the pictures first with the photo resizer or run the finished file through the PDF compressor. This tool does not downsample images itself, so what you see is what is embedded.

A worked example

After a minor car accident you photograph the bumper, the other car's plate and the exchange of details, nine photos in HEIC. Select all nine, leave A4 with a quarter-inch margin, and press Convert. Each row in the result shows the pixel size and any note, such as which decoder was used. The PDF appears below as a single download, nine pages, one photo per page, upright. If the claims portal limits attachments to a few megabytes, check the size line under the heading; when it is too large, run the pictures through the 200 KB resizer first and build the PDF from the smaller JPG files with the JPG to PDF tool. Keep the originals: this page changes nothing in them.

What this does not do

HEIC decoding uses your browser's own decoder when it has one (Safari, iPhone, iPad and some Windows setups). Everywhere else this page loads libheif 1.19.8 (LGPL-3.0, unmodified, built to WebAssembly by libheif-js) as a separate file, and only after you choose a file that needs it. The file is checked against a fixed SHA-384 hash before it runs.

Limits

Up to 40 photos per PDF, each up to 25 MB and 50 megapixels. Files are processed one by one. If one photo fails, it is listed with the reason and the rest still go into the PDF.

Frequently asked questions

Can I combine several HEIC photos into one PDF?

Yes. Choose up to 40 HEIC files and the page creates one PDF with one photo per page, in the order your file chooser returned them.

Are the photos uploaded anywhere?

No. Decoding, JPEG encoding and PDF assembly all run in this page on your device, inside a sandboxed frame that blocks network requests.

Will the pages be upright?

Yes. The rotation stored in each HEIC is applied to the pixels before the PDF is built, so photos are not sideways in the PDF.

Does converting to PDF reduce photo quality?

Each photo is re-encoded once as a JPEG at 90% quality before being embedded. That is a small, deliberate loss that keeps the PDF from becoming huge.

How do I change the page order?

The order follows what your file chooser returns, which is often alphabetical. Rename the files with 01, 02, 03 prefixes before choosing them, or build the PDF and reorder pages with a PDF organizer.

Why is my PDF too large to email?

The photos are embedded at their original pixel size. Shrink them first with the photo resizer or compress the PDF afterwards.

Does the PDF include my location data?

No. Only the picture pixels are embedded. Exif, including GPS, is not copied into the PDF.

Sources

Checked

Runs entirely in your browser. Your files are not uploaded, stored or sent anywhere.

Advertisement
Advertisement