HEIC to PDF
Published Updated
Add one or more HEIC or HEIF photos and compile them into a single downloadable PDF — free, private, and processed entirely in your browser.
Pages are as large as the photos
The first thing to know about this converter is how it sizes pages. It does not fit photos onto A4 or Letter. Each page is created with the width and height of the image in pixels, read as PDF points (72 per inch, defined in ISO 32000-1), and the photo fills it edge to edge with no margin.
What common photos become
| Photo size | Page size in inches | Page size in cm |
|---|---|---|
| 4032 × 3024 (12 MP, landscape) | 56.0 × 42.0 | 142.2 × 106.7 |
| 3024 × 4032 (12 MP, portrait) | 42.0 × 56.0 | 106.7 × 142.2 |
| 8064 × 6048 (48 MP) | 112.0 × 84.0 | 284.5 × 213.4 |
On screen the viewer scales the page to the window, so you will not notice. When printing, choose Fit to page or Scale to fit, or the printer will try to print at full size.
Making the PDF
Step 1
Add your HEIC photos
Select several files together. They are placed in the order your browser returns them, so rename them 01, 02, 03 first if order matters.
Step 2
Press Convert to PDF
Each photo is decoded, saved as a JPEG at 90% quality and placed on its own page. A counter shows which file is in progress.
Step 3
Download converted-images.pdf
The result card lists the page count and file size, and warns if the 500-page limit stopped the run.
How the photos are processed
The work happens on your device, one file at a time:
- Every HEIC is decoded and written as a JPEG at quality 0.9, then embedded in the PDF without a second compression.
- A file holding several images adds one page per image.
- The total is capped at 500 pages. A file that would cross the cap is skipped along with those after it.
- Order follows the file list. There is no way to drag pages around after selecting them.
Why HEIC needs this extra step
iPhone cameras save HEIF photos by default (Apple Support), and most PDF makers cannot read them. Converting to JPEG inside the page is what lets the PDF open anywhere. For a lighter PDF, convert the photos with HEIC to JPG, shrink them with Resize Image and combine them with JPG to PDF.
What the converter does, photo by photo
Each HEIC is decoded in the page by the heic2any library and written as JPEG at quality 0.9. The JPEG bytes are then embedded as they are in a new PDF page whose size is the photo's pixel size, one PDF point per pixel, and the image fills the page. A HEIC that holds several images adds one page per image. The pages follow the order of the files.
Some HEIC files, including the ones macOS wrote for our tests, mark their values as full range (0 to 255), while heic2any 0.0.4 decodes as video range (16 to 235) and stretches the levels; the page reads that flag and undoes the stretch before writing the JPEG. In our test on a generated photo written by macOS, PSNR against the original for the decoded pixels was 41 dB with the correction and 28 dB without; the JPEG at quality 0.9 that goes into the PDF scored 38.7 dB. Pixels the decoder had already clipped at pure black or white cannot be recovered.
pdf-lib lists US Letter as 612 x 792 points (pdf-lib API), which is 8.5 x 11 inches at 72 points per inch, so a page of 4,032 x 3,024 points measures 56 x 42 inches. HEIF is a container format for images and image sequences, with the pixels stored in codecs such as HEVC (Library of Congress, HEIF). The test PDF was only about 950 bytes larger than the JPEG, which fits the JPEG being stored as is.
Worked example: four generated HEIC files
The HEIC files were written by macOS sips from generated images, so they are synthetic: a 12-megapixel photo with sensor-style noise, a 12-megapixel smooth one, a 1600 x 1200 crop of the noisy one, and the noisy one turned to portrait (3024 x 4032). The tool's conversion code, level correction included, was put in a test page and measured in Chromium 153.0.8010.12 (the build bundled with Playwright, run headless). Times are from one Mac.
| File | HEIC size | JPEG inside | PDF size | Page size, points | Time |
|---|---|---|---|---|---|
| 1600 x 1200 | 624,474 B | 425,780 B | 426,728 B | 1600 x 1200 | 0.5 s |
| 4032 x 3024, noisy | 3,956,303 B | 2,700,312 B | 2,701,265 B | 4032 x 3024 | 3.1 s |
| 4032 x 3024, smooth | 161,491 B | 410,742 B | 411,691 B | 4032 x 3024 | 1.4 s |
| 3024 x 4032, portrait | 3,953,854 B | 2,720,521 B | 2,721,474 B | 3024 x 4032 | 3.3 s |
| The first, second and third together | 4,742,268 B | 3,536,834 B | 3,538,466 B | 1600 x 1200, then two of 4032 x 3024 | 4.9 s |
The PDF is only about 950 bytes larger than the JPEG it holds, or 1,632 bytes for three pages, so the size of the PDF is the size of the JPEGs. That makes the result depend on the picture. The smooth photo's HEIC was 161 KB and its PDF 412 KB, about 2.5 times larger, while the noisy photo's PDF was 68 percent of its HEIC. The page sizes are the second thing to notice: an A4 page is 595 x 842 points, so a 12-megapixel page is about 6.8 times wider. Most viewers fit it to the window, but it will not match a print size.
HEIC to PDF questions
Is each page A4 or Letter?
No. A page takes the photo's pixel size as its size in points, where 72 points make an inch. A 4032 × 3024 photo becomes a 56 × 42 inch page. It looks fine on screen, but print with Fit to page.
In what order do the photos appear?
In the order your browser hands the files to the page, which usually follows the file picker's selection or name order. There is no reorder control, so number the files before you select them.
Why did one HEIC create several pages?
Burst and bracketed HEIC files hold more than one image, and every image becomes a page. The result card tells you how many source files did this.
Is the picture quality the same as my HEIC?
Expect some loss. Each photo is converted to a JPEG at quality 90 and embedded as is, so the PDF carries one more lossy generation. Pixel dimensions are not reduced.
How many photos can I combine?
Up to 500 pages in total. If the next file would pass that limit, the run stops there and the files after it are left out, with a warning on the result card.
The PDF is huge. How do I shrink it?
This tool has no size or quality setting, and the PDF is about the sum of the JPEGs inside it. To get a smaller file, convert the photos with HEIC to JPG, shrink them with Resize Image, then combine them with JPG to PDF.
How big is each PDF page?
As many points as the photo has pixels. In our test a 4032 x 3024 photo made a 4032 x 3024 point page, which is 56 x 42 inches, and a 1600 x 1200 photo made a 22.2 x 16.7 inch page.
Why is the PDF larger than my HEIC?
The photo is written as JPEG at quality 0.9 first. In Chromium 153, a smooth photo grew from 161,491 B as HEIC to 411,691 B as a PDF, while a noisy one shrank from 3,956,303 B to 2,701,265 B.
Does the PDF add much to the photo's size?
Very little. Our test PDFs were 948 to 953 bytes larger than the JPEG inside them.
Related guides
How to compress, merge and convert PDFs without uploading them. The guide does the page-size arithmetic for photos placed in a PDF, from 12 to 48 megapixels.
How to open and convert HEIC photos. The guide measures the PDF as the quality-90 JPG plus 952 bytes of wrapper, on a page the size of the photo in points.