Convert HEIF to PDF

Converting HEIF to PDF wraps the photograph in a document an upload form will accept, on A4, US Letter or a page cut to the picture itself. The image is embedded losslessly, so the PDF is larger than the HEIF, and the whole conversion happens inside this page.

  • Where it runs In your browser. The file is never uploaded.
  • Lossless Nothing is discarded. The PDF holds exactly what the HEIF held.
  • File size limit Up to 100 MB per file, free, without an account.

Up to 100 files at once. Mixed formats are fine.

The form dictates PDF, and the phone produced a HEIF

Institutions standardised on PDF because a PDF is a page: it has a size, it prints predictably, it can be stamped and archived, and it looks the same to the person receiving it as to the person sending it. An image file is none of those things, which is why the upload box says PDF and rejects everything else.

Meanwhile the picture came off a phone in a container that half of the world's software cannot open. Converting solves both problems at once, and the only decisions left are about the page rather than about the picture — which is what most of this page is about.

Fit-to-image, and the 56-inch page it can produce

PDF measures everything in points, of which there are 72 to the inch. "Fit to image" makes the page exactly as large as the picture in those units, so a 4,032 by 3,024 photograph becomes a page 4,032 by 3,024 points — that is 56 inches by 42, or roughly 1.4 metres by 1.1.

On a screen this is invisible and harmless: the viewer scales the page to the window and the picture fills it edge to edge, which is exactly what you want for an attachment somebody will glance at. Send that same file to a print queue or to an institution that checks page dimensions and the answer is different, which is what the paper sizes are for.

A4 and US Letter, in the units the format uses

Choosing A4 makes the page 595.28 by 841.89 points, which is 210 by 297 millimetres. US Letter is 612 by 792 points, or 8.5 by 11 inches. Both are exact, both are what a printer and a document management system expect to see, and either is the right choice when the specification names a paper size.

The picture is then centred on that page and scaled down to fit inside the margins. A landscape photograph on a portrait page leaves white above and below it; the orientation control turns the page instead if that is not what you want. The image itself is never rotated or cropped to make it fit.

The picture is never enlarged to fill the page

Scaling runs one way only. If the photograph is larger than the room available it is reduced to fit; if it is smaller it is left at its own size and centred, with white around it.

That rule exists because the alternative looks worse in every case that matters. Blowing a 600-pixel image up to fill an A4 page turns crisp text into soft grey shapes and makes a document photograph look like a fax. A smaller picture on a clean page reads as deliberate; a stretched one reads as a mistake.

Why a HEIF makes a bigger PDF than a JPG would

PDF can carry two image formats natively: JPEG and PNG. A JPG dropped onto this site is embedded byte for byte, costing nothing in quality and almost nothing in time. HEIF is not one of the two, so the picture is decoded to pixels and re-encoded as a PNG on the way into the document.

PNG is lossless, which means nothing further is lost and also that the photograph is stored the expensive way — a two megabyte HEIF can become a fifteen or twenty megabyte PDF. This page has no lever for that: it offers page size, orientation and margin, and none of the three changes a single pixel. If the upload has a size limit, go through JPG instead — convert the HEIF to JPG at 1,600 pixels wide, which is plenty for a document read on screen, then drop that JPG here, since a JPG is embedded byte for byte rather than re-encoded as PNG.

One photograph, one page, one file

Each HEIF becomes a single-page PDF. Converting a folder gives you one PDF per photograph, with a progress row each and an "all as ZIP" button once two are finished, but it does not assemble them into a document.

Where the requirement is a single multi-page PDF — a tenancy application with six photographs, a claim with front and back of a receipt — convert each picture, then merge the PDFs in a tool built for that. Doing it in that order also lets you fix the page order, which is the part that goes wrong when a converter guesses at it from file names such as IMG_4471 and IMG_4472.

The words in the photograph stay a picture

A PDF made this way holds an image of a document, not the document. Nothing in it can be selected, searched, copied or read by a screen reader, and a system that scans submissions for a reference number will find nothing.

That is frequently acceptable — a human opens the file and reads it. Where it is not, the HEIF to TXT page runs character recognition and hands back the words as plain text, which you can paste into the form alongside the picture. The two answers solve different halves of the same problem.

Photograph a document so it survives being one

Since the PDF preserves whatever the camera captured, the quality of the submission is decided before the conversion. Lay the paper flat, shoot straight down rather than at an angle, and put the light to one side so your own shadow is not across the text.

Fill the frame with the page and nothing else. A photograph of a desk with an A4 sheet in the middle of it wastes most of its pixels on the desk, and when the PDF is scaled to fit a page the document ends up small, soft and hard to read — which is the version that gets sent back with a request to resubmit.

What the PDF does not carry from the camera

The photograph's EXIF does not survive the trip: no camera model, no capture timestamp, no GPS coordinates land in the document. The conversion decodes to raw pixels and re-encodes, and metadata has no path across that step.

For a submission to an institution this is a sensible default. It also has a consequence worth knowing: if the recipient expects the photograph to prove when or where something was taken, the PDF cannot support that claim, and the original HEIF is the only file that carries the evidence.

Nothing is uploaded, which matters for what people file

Decoding, encoding and the PDF writing all happen inside the browser tab. No copy of your document reaches a server, there is no queue and no account, and the free tier accepts inputs up to 100 MB each.

For this pair that is more than a nicety. The photographs people convert into PDFs are payslips, passports, medical letters, tenancy agreements and bank statements — files whose entire risk profile is who else has a copy. Here the answer is nobody, and the network tab is where you can check it rather than take our word.

Orientation, and the landscape photograph on a portrait page

On a fixed paper size the page starts portrait, and a landscape photograph is scaled to fit the width with white above and below it. That is often perfectly acceptable and occasionally wasteful: a wide receipt reduced to fit a portrait A4 ends up small enough that the print is hard to read.

The orientation control turns the page rather than the picture. Setting it to landscape swaps the page dimensions, so a wide photograph fills far more of the sheet. The margin setting works alongside it, holding the picture away from the edges of a fixed sheet, which is what most print and scanning processes expect to see. Orientation has no effect when the page size is fit-to-image, because there the page already has the picture's own proportions and there is nothing to letterbox.

Colour in a PDF that carries no profile

The picture goes into the document with no ICC profile attached, so any viewer or printer reading the PDF interprets the values as ordinary sRGB. On screen that is what everybody assumes anyway and the document looks as expected.

It matters if the submission will be printed and the colours are the point — a photograph of damage for an insurance claim, a swatch, a medical image. In those cases the safest step is to look at a printed proof rather than at the screen, and to accept that a converter cannot manage colour for a press it knows nothing about. For a photograph of a document, which is the usual case here, none of this is worth a second thought.

How to turn a HEIF photograph into a PDF document

  1. Photograph the page flat and fill the frame with it.
  2. Drop the HEIF here and choose A4, US Letter or fit-to-image.
  3. Download the PDF and open it once before you attach it to anything.

HEIF against PDF: a picture file inside a page

HEIF compared with PDF
HEIFPDF
Full nameHigh Efficiency Image File FormatPortable Document Format
File extension.heif.pdf
Media typeimage/heifapplication/pdf
CompressionLossy — file size is bought with qualityEither, depending on the setting
First published20151993
Published byMPEGAdobe
SpecificationISO/IEC 23008-12ISO 32000-2
LicensingPublished, not standardisedOpen standard
Standing todayCurrentCurrent
Bit depth10
Colour it can describeYCbCr, wide gamutRGB, CMYK, greyscale
Opens in a browserSome browsersEvery browser
Considered insteadJPG, AVIFDOCX, HTML

What is lost

PDF has nowhere to put the EXIF block — camera, lens, shutter speed and ISO, the embedded ICC colour profile and the GPS coordinates, so those go no further than the HEIF. Worth checking before the original is deleted, and worth knowing if the point was to strip it.

What survives

Transparency survives. Both HEIF and PDF store an alpha channel, so a cut-out stays cut out and nothing is filled in behind it.

Both HEIF and PDF hold several pages, so a multi-page document stays one file.

Opening the result

PDF opens in every current browser. HEIF has narrower browser support than that. If the file is going onto a web page or into a form, that is usually the whole reason for the conversion.

File size and quality

The result is larger than the original and no better. HEIF has already discarded detail, and PDF stores what is left without discarding more — it prevents further loss rather than undoing the first one.

What each format is for

The two are aimed at different work: HEIF at phones and photography, PDF at handing a finished file over, print and archiving. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.

HEIF is MPEG's format, published in 2015. It records 10 bits per channel.

PDF comes from Adobe and dates from 1993, specified as ISO 32000-2. Adobe Acrobat, Preview and LibreOffice Draw all read it.

PDF was published in 1993 and HEIF in 2015. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.

HEIF to PDF: page size, margins and document quality

Are my HEIF files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is libheif, the reference decoder for Apple's HEIC; your browser fetches it once and caches it.

Should I choose fit-to-image or A4?

A4 or US Letter if the PDF will be printed or checked against a paper specification. Fit-to-image makes the page exactly as large as the picture, which is fine on screen and produces an absurd physical size — a 4,032-pixel-wide photograph becomes a page about 56 inches across.

Why is the PDF so much bigger than the HEIF?

Because a HEIF cannot be embedded directly. PDF natively carries JPEG and PNG, so the picture is decoded and re-encoded as a lossless PNG before it goes in. That is faithful and it is large — expect a PDF several times the size of the photograph.

Can I put several photographs in one PDF?

Not from this pair. Each file becomes a single-page PDF, and a batch gives you one PDF per photograph. Merging them into one document is a separate step in a PDF tool.

Is the text in the photograph searchable?

No. The PDF holds a picture of the text, so nothing can be selected, searched or copied from it. If you need the words, the HEIF to TXT page runs recognition instead.

Will the picture be enlarged to fill the page?

Never. The image is scaled down to fit inside the margins if it is too large, and left at its own size if it is smaller — enlarging would turn a crisp document photograph into a blurry one, so it is not done.

Does the PDF carry the photograph's metadata?

No. The conversion decodes to pixels and re-encodes, so the camera model, capture time and GPS coordinates do not travel into the document. For an application you are sending to a stranger, that is usually welcome.

More about these formats

Where these figures come from

The claims this page makes about HEIF and PDF are checkable, and these are the documents that settle them.