Convert AVIF to PDF

Converting AVIF to PDF turns an image that only browsers read into a document every machine will open, without re-compressing the picture. Choose the page size, and the whole thing runs on your own machine — nothing is uploaded.

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

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

You saved an image and got a file nothing opens

AVIF is a delivery format for web pages. Sites serve it because it is the smallest thing every current browser reads, and saving a picture from such a page hands you a format nobody on your computer asked for.

The consequence is familiar: the photo viewer refuses it, the email client will not preview it, the print service rejects the upload, and the colleague you sent it to asks what it is. Nothing is wrong with the file — the software outside the browser has simply not followed.

Why PDF rather than JPG

It depends on where the picture is going, and both answers are legitimate. If the destination expects an image — a photo library, an editor, an upload form asking for a picture — then JPG or PNG is the more natural conversion and this is the wrong page.

PDF is right when the destination expects a document. An email attachment somebody will open and print. A form that accepts PDFs and nothing else. A filing system. A print shop. In those cases wrapping the image in a document removes every question about what the recipient can open, because the answer is everybody.

The AVIF is not re-compressed on the way in

The picture is written into the PDF without a further lossy pass, so the document holds exactly the pixels the AVIF held. No second round of compression, no resampling, no softening of edges.

What it cannot do is undo what already happened. An AVIF served by a website has been compressed to be small, sometimes aggressively, and that compression is in the picture now. Converting changes the container faithfully; it does not restore detail the site chose not to send.

Page size: fit the picture, or fit the paper

Fitting the page to the image is the right default for anything that will be looked at on a screen — no white border, no letterboxing, and no decision about paper for a file nobody will print.

A4 or US Letter is right when the PDF is going to be printed or filed alongside other paper-sized documents. The image is then centred on the sheet, and it is scaled down if it does not fit but never scaled up: enlarging a small web image onto a full page would turn a sharp picture into a soft one, and a modest picture centred on a page is the honest result.

A margin, and when it matters

Setting a margin adds space around the picture. On the default page size it grows the page; on A4 it reduces the room the image is given.

It is worth using when the document is going to a printer, since most printers cannot put ink right to the edge of a sheet and will otherwise crop into the picture. For anything staying on a screen, leave it at zero — a margin on an attachment is white space the recipient scrolls past.

Transparency lands on white

AVIF carries a full alpha channel, and the transparency is preserved in the conversion. But a PDF page is white underneath, so what you see when the document opens is the picture sitting on white.

For most images that is exactly right. The case where it bites is a light-coloured graphic designed to sit on a dark background, which disappears against the page. If that is what you have, place it on its intended colour before converting rather than afterwards.

It works even where the AVIF does not

The decoding happens in your browser rather than in the operating system, which is the useful part on a machine that cannot display the format at all. If double-clicking the file does nothing, this still works — the browser is the one piece of software that definitely reads it.

And nothing is uploaded. The conversion runs on your own processor, so there is no account, no queue and no daily allowance, and a folder of saved images converts in a single pass with the results returned as one ZIP.

How to turn an AVIF image into a PDF

  1. Drop the AVIF onto this page — it decodes in your browser, whatever your system supports.
  2. Choose fit-to-image for screens, or A4 and a margin for printing.
  3. Download the PDF, which anybody can open.

AVIF and PDF: a web image placed on a page

AVIF compared with PDF
AVIFPDF
Full nameAV1 Image File FormatPortable Document Format
File extension.avif.pdf
Media typeimage/avifapplication/pdf
CompressionEither, depending on the settingEither, depending on the setting
First published20191993
Published byAlliance for Open MediaAdobe
SpecificationAV1 Image File FormatISO 32000-2
LicensingOpen standardOpen standard
Standing todayCurrentCurrent
Bit depth12
Colour it can describeRGB, YCbCr, wide gamutRGB, CMYK, greyscale
Largest image65,536 px per side
Opens in a browserCurrent browsersEvery browser
Considered insteadWebP, JXL, JPGDOCX, HTML

What is lost

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

What survives

Nothing is discarded. AVIF and PDF both store their content losslessly, so the conversion is a change of packaging rather than a change of quality, and it can be repeated without accumulating damage.

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

Opening the result

PDF opens in every current browser. AVIF 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.

The usual programs do not overlap: AVIF opens in GIMP, Squoosh and ImageMagick, PDF in Adobe Acrobat, Preview and LibreOffice Draw — so whoever receives the result needs something from the second list.

What each format is for

AVIF is Alliance for Open Media's format, published in 2019. It records 12 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 AVIF in 2019. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.

AVIF to PDF: quality, page size and compatibility

Are my AVIF 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 pdf-lib, a PDF writer that runs entirely in JavaScript; your browser fetches it once and caches it.

Why will nothing open my AVIF?

It is a web delivery format. Every current browser reads it, and image viewers, older phone galleries, chat applications, email clients and print services frequently do not. The file is fine; the software around it has not caught up.

Does converting to PDF lose quality?

No. The picture is written into the PDF without any further lossy step, so what you see is exactly what the AVIF held. Whatever compression the image already carried from the website comes with it, since that is part of the picture now.

Should I convert to JPG instead?

If the destination is a photo library, an image editor or an upload form expecting a picture, yes — JPG is the more natural file. PDF is right when the destination is a document: an email attachment, a print job, a form upload, something to be filed.

What page size should I choose?

Fit to image if the file will only be looked at on a screen, which keeps the page exactly the size of the picture. A4 or US Letter if it is going to be printed or filed with other documents, where the image is centred on a real sheet.

Does transparency survive?

The transparency is carried across, and a PDF page is white underneath, so a cut-out image appears on white. That is usually what people want; if it is not, place the image on the colour you need before converting.

Is the file uploaded?

No. The conversion runs inside your own browser, so nothing is sent anywhere — which also means it works on a machine that cannot display the AVIF at all, because the decoding happens in the browser rather than in the operating system.

More about these formats

Where these figures come from

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