Convert TIFF to AVIF

Converting a TIFF to AVIF is the choice for large or flat scanned material: AVIF holds images up to 65,536 pixels on an edge where WebP stops at 16,383, and on document-like content it produces markedly smaller files. The cost is that AVIF is read by modern browsers rather than by all of them.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. AVIF cannot hold everything a TIFF can.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Only the first page is converted; the rest of a multi-page TIFF is not carried over.

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

What TIFF to AVIF actually does

TIFF 601 KBAVIF 17 KB 35.0× smaller

A photographic scene — smooth gradients, soft edges, grain. This is the case AVIF is designed for or against, and the figures show which. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

TIFF 601 KBAVIF 3 KB 176.1× smaller

A transparent background and a gradient across the shape. AVIF either keeps both, keeps one, or fills the transparency with a solid colour — which is the difference that catches people out. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

TIFF 601 KBAVIF 5 KB 121.1× smaller

Flat colour and hard edges, as in an interface, a chart or a logo. Very different behaviour from the photograph above, and the reason the answer is "it depends what is in the file". Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

AVIF holds a scan four times longer than WebP can

This is the concrete reason to be on this page rather than on TIFF to WebP. WebP stores its dimensions in fourteen bits and cannot exceed 16,383 pixels on either edge; measured against the encoder used here, 16,383 pixels encodes and 16,384 fails outright. AVIF’s ceiling is 65,536.

Scans reach those numbers routinely while photographs never do. A 600-dpi A1 sheet is about 14,000 by 19,900 pixels, an A0 sheet at 400 dpi about 13,200 by 18,700, and an A3 page captured at 1,200 dpi about 14,000 by 19,800 — all three over the line. If the point of the scan was to preserve the detail, being forced to halve it to fit a container is a real loss — and it is the loss AVIF removes.

On flat scanned material AVIF beats WebP by a wide margin

The second reason is efficiency, and it is content-dependent in a way that is worth measuring rather than assuming. This site’s three sample scenes, encoded at 480 by 320 through the same pipeline this page uses, come out as follows: the screenshot-like scene is 5,081 bytes as AVIF and 10,830 as WebP; the flat graphic is 3,494 against 4,428; and the photograph is 17,599 as AVIF against 14,700 as WebP.

So AVIF halves the flat one and loses on the photograph. That is not an anomaly — AV1’s intra prediction is very good at large regions of near-constant colour separated by hard edges, which is a description of a scanned document, a plan, a page of type or a music score. It is less obviously better on continuous tone at a moderate quality setting. If the TIFF is a photographic scan and you want a straightforward answer, TIFF to WebP is that answer; if it is paper, this page is.

What the AVIF costs you in reach

AVIF is supported by modern browsers, which is not the same as all of them. Someone on an old phone, a locked-down corporate machine or an unusual client can land on a page and see an empty box, and unlike a missing font or a slow script that failure is total.

On a public page the answer is a picture element with an AVIF source and a WebP or JPG fallback, which costs one extra export and removes the problem entirely. For a file you are emailing or handing to a colleague there is no fallback mechanism, so the question is simply whether you know what will open it. That is the whole trade, and it is why WebP remains the default recommendation on the sibling page rather than this one.

The encode is slow, and it is slow in the right place

AVIF is AV1 still-picture coding, and AV1 spends a lot of computation deciding how to describe each block. On a large scan the encode dominates the conversion — decoding a 100-megabyte TIFF is fast by comparison — and a very large image can take tens of seconds in the tab.

That cost is paid once, by you, at conversion time. Every visitor afterwards pays only the download, which is the half of the transaction that matters on a phone over a slow connection. It does mean a batch of scans is a coffee rather than a keystroke, and it is worth reducing the pixel dimensions first if the published image does not need to be 20,000 pixels wide — most do not. There is no control here that trades encoding effort for speed, so the way to make a large run finish sooner is to reduce the pixel dimensions rather than to ask the encoder to work less hard. A phone will manage it and will manage it slowly; a desktop is the right machine for a collection of scans.

Quality settings when the TIFF is a page of type

The quality control runs from 1 to 100 and starts at 82. On a photographic scan that is a sensible balance. On scanned type it is not the setting to leave alone: text is thousands of hard black-on-white transitions, which is what any lossy codec smears first, and the symptom is a soft grey shimmer around every letter that makes a page look photocopied.

Raise it to 90 or above for anything with type or fine rules in it. The file grows and stays far smaller than the TIFF, and the difference in readability at a normal zoom level is obvious. Where the document has to remain pixel-exact — a signature, a survey with dimensions on it, a table of figures being cited — no lossy setting is correct and TIFF to PNG is the page for that job.

What the TIFF loses on the way into an AVIF

AVIF can store twelve bits per channel and wide-gamut colour. This converter cannot give it any of that, because the pipeline decodes every source to 8-bit RGB. A 16-bit TIFF is reduced by keeping the high byte of each sample, and a CMYK TIFF is converted to screen colour by formula rather than through the ICC profile embedded in the file, so a press-ready scan comes out shifted.

Two container features go the same way. A multi-page TIFF contributes its first page only, with no error raised, so a scanned drawing set has to be split before converting. Layers are flattened. None of that harms a picture destined for a web page, which is 8-bit sRGB and single-image by definition — it harms you only if the TIFF was the master. Keep the TIFF, publish the AVIF.

Transparency and metadata across the TIFF-to-AVIF step

AVIF carries a full alpha channel, so a cut-out or a masked region in the TIFF arrives intact with soft edges still soft. That is one of the ways this route beats the old habit of converting scans to JPG, which fills transparency with a background colour and cannot do anything else.

Metadata goes the other way and does so unconditionally. EXIF, XMP, IPTC, the ICC profile and any GPS block do not survive a decode-and-re-encode, and there is nothing on the page that keeps them. For published scans that is the right outcome: an archive image should not be carrying an operator name and a machine serial number, and a caption belongs in the page rather than in the file.

Where a TIFF should go when AVIF is the wrong target

If the image must work everywhere with no fallback arrangement, TIFF to WebP is the page — every current browser reads WebP, and on photographic content it was smaller here than AVIF anyway. If the file has to reach somebody’s email or a print shop, TIFF to JPG is what they are expecting.

If nothing may change at all, TIFF to PNG keeps every pixel exactly and remains readable by everything; and TIFF to PDF is the right move for a scanned document that will be filed or sent rather than displayed, because it is the only one of these that keeps more than one page. Choosing AVIF is worth doing when the image is large, flat and public. It is worth skipping otherwise.

Encoding a big TIFF without it leaving the machine

Everything runs in the tab. utif2 decodes the TIFF, libavif compiled to WebAssembly encodes the AVIF, and both are fetched only when a file of that type is dropped. Nothing about the image crosses the network, which matters for archive material that has not been published yet and for anything under an embargo or a licence.

The free ceiling is 100 MB per file, about a 600-dpi A4 colour scan uncompressed; larger scans need to be reduced first, which is on the same options panel. Batches work: drop a folder, watch each row, take a ZIP at the end. Because AVIF encoding is the slow step, a large batch is genuinely slow — a run of full-size scans is worth starting and leaving alone rather than watching.

How to convert a large TIFF into an AVIF

  1. Split a multi-page TIFF first, then drop the file here.
  2. Raise the quality above 90 if the scan contains type or fine rules; leave it at 82 for a photograph.
  3. Serve the AVIF with a WebP or JPG fallback if the page has to work on older browsers.

TIFF against AVIF: an uncompressed container against an AV1 still

TIFF compared with AVIF
TIFFAVIF
Full nameTagged Image File FormatAV1 Image File Format
File extension.tif, .tiff.avif
Media typeimage/tiffimage/avif
CompressionLossless — nothing is discardedEither, depending on the setting
First published19862019
Published byAdobeAlliance for Open Media
SpecificationTIFF 6.0AV1 Image File Format
LicensingPublished, not standardisedOpen standard
Standing todayCurrentCurrent
Bit depth3212
Colour it can describeRGB, CMYK, greyscale, LabRGB, YCbCr, wide gamut
Largest image65,536 px per side
Opens in a browserSome browsersCurrent browsers
Considered insteadPNG, PDF, DNGWebP, JXL, JPG

What is lost

AVIF has nowhere to put IPTC fields, which hold captions, credits and keywords and the GPS coordinates, so those go no further than the TIFF. Worth checking before the original is deleted, and worth knowing if the point was to strip it.

TIFF can hold CMYK; AVIF is RGB. A file prepared for a printing press converts to screen colour, and the separations have to be made again in the print workflow.

TIFF carries up to 32 bits per channel and AVIF stores 12. The extra precision is what survives heavy correction without banding, so the conversion is best made after the editing rather than before it.

What survives

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

What the target format adds

AVIF can hold animation; a TIFF is one frame. The result is a single-frame file in a format that could hold more.

Opening the result

AVIF opens in current browsers, though not in older ones. TIFF 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.

AVIF is a container rather than a single format. What actually plays is the codec inside it — usually AV1 — which is why two files with the same extension can behave differently on the same device.

ImageMagick reads both TIFF and AVIF, so there is a way to check the result against the original without a second tool.

What each format is for

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

TIFF is Adobe's format, published in 1986. It records 32 bits per channel.

AVIF comes from Alliance for Open Media and dates from 2019, specified as AV1 Image File Format. GIMP, Squoosh and ImageMagick all read it.

TIFF was published in 1986 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.

TIFF to AVIF: size ceilings, speed and browser support

Are my TIFF 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 jSquash, WebAssembly builds of the reference image codecs; your browser fetches it once and caches it.

Is AVIF smaller than WebP for a scan?

It depends on the content, and the direction surprises people. On this site’s own samples AVIF was 5,081 bytes against WebP’s 10,830 for the screenshot-like scene, and 17,599 against 14,700 for the photograph. Flat, edge-heavy material — documents, plans, line work — is where AVIF earns its place.

How large an image can AVIF hold?

Up to 65,536 pixels on an edge, against WebP’s 16,383. That is the practical reason to come here with a 600-dpi A1 drawing or a large-format map scan: WebP refuses it outright and AVIF does not.

Which browsers will not show it?

AVIF is supported by modern browsers rather than by all of them, so an older device or an unusual client can arrive at a page and see nothing. On a public page, serve it through a picture element with a WebP or JPG fallback; for a one-off file you are sending someone, WebP is the safer choice.

Why is the conversion slow?

AVIF is AV1 still-picture encoding, and AV1 buys its compression with a great deal of analysis. On a large scan the encode is the slow part of the whole conversion by a wide margin. It is a one-off cost paid by you rather than by every visitor, which is the right way round.

Does the alpha channel survive?

Yes. AVIF stores an alpha channel, so a TIFF with a cut-out or a masked area comes through with the transparency intact rather than filled in.

Can I keep 16-bit depth or CMYK?

No. The pipeline here decodes to 8-bit RGB, so a 16-bit TIFF is reduced by keeping the high byte and a CMYK TIFF is converted by formula rather than through its embedded profile. AVIF itself can hold more than that; this converter cannot give it more than eight bits.

More about these formats

Where these figures come from

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

  • TIFF, Revision 6.0

    Library of Congress, Sustainability of Digital Formats — TIFF’s tag structure and its many compression options

  • AV1 Image File Format (AVIF)

    Alliance for Open Media — AVIF’s coding, and its support for wide colour