The quick answer

This converter works both directions: JPG, PNG or WebP into AVIF for shipping, AVIF back out as PNG for compatibility. The browser's own encoder does the work inside the tab, so nothing uploads and the page keeps working with the Wi-Fi off after load. AVIF typically runs roughly 50% smaller than JPEG at similar quality, and encodes take a few seconds each.

The budget meeting where JPEG got embarrassed

The performance budget meeting goes the same way everywhere. Someone in a design lead seat declares that the new hero image must weigh less than 150 kilobytes, because mobile. You have a 1,600×900 photograph of an actual sunrise, and the math is not on your side. JPEG at quality 70 squeezes it to 196 KB and the sky starts to look like a paint-by-numbers. WebP at quality 75 lands at 138 KB and holds together. You're in the meeting, you're nearly home, and then the resident performance engineer asks the question that changes the project: what about AVIF?

AVIF at quality 55 encodes that same sunrise at 89 KB, smaller than half the JPEG target, with a sky that gradients smoothly from horizon to zenith. The 150 KB budget stops being a constraint and becomes headroom. That is a different category of outcome from WebP's 138 KB, and it is a big part of why adoption spread quickly once browser support landed in 2020 through 2022.

Below: what AVIF is, what the quality slider really buys, the encode-time bill nobody warns you about, and the browser matrix that decides whether you can ship it yet.

A video codec consortium's gift to still images

AVIF's origin story starts with a fight. By 2015, streaming video needed a next-generation codec, and the patent-licensing maze around HEVC had the industry looking for exits. The Alliance for Open Media (Google, Amazon, Apple, Microsoft, Mozilla, Netflix and the rest of the industry's who's-who) formed to build AV1, a video codec deliberately engineered to be royalty-free, published in 2018. AVIF, standardized the following year, is that codec's still-image face: AV1 keyframe coding in the HEIF-derived container structure that HEIC uses, minus the licensing anxiety.

The family resemblance to WebP is structural. WebP is VP8's keyframe path; AVIF is AV1's, and AV1 is roughly two generations of codec research beyond VP8, a decade of prediction, transform and filtering improvements stacked between them. The visible consequence at the file level: AVIF routinely halves what JPEG produces at equal perceptual quality, and beats WebP by a further fifth.

  • 8, 10, or 12 bits per channel: a billion-plus colors, and smooth gradients where 8-bit formats band
  • Full alpha: transparency alongside deep color, in lossy or lossless coding
  • Animation in the container: sequences ride the same compression as stills
  • Film grain synthesis: the codec can strip real grain, compress the clean image, and re-synthesize convincing grain at decode time
  • Royalty-free end to end: the entire point of the alliance that built it

Two directions, one converter

Most format tools point one way; this one points both, because AVIF's situation requires both directions: compress into it to ship modern pages, convert out of it whenever a file lands somewhere the format has not reached. Two buttons at the top of the tool, To AVIF and From AVIF to PNG, decide which path runs.

Going in, JPG, PNG or WebP to AVIF, you are buying size. The quality slider runs from 10% to 100% and starts at 60; photographic content usually lands between 50% and 80% on AVIF's generous scale, which runs softer than JPEG's at the same number. Nothing uploads, and a typical photo encodes in seconds.

Coming out, AVIF to PNG, you are buying compatibility. An AVIF that some portal, kiosk or older software refuses to open becomes an ordinary PNG in seconds, decoded by the browser itself. PNG is also the right end format for anything with transparency or an editing future; for JPG specifically, run the PNG through the PNG to JPG converter afterward.

Converting, step by step

  1. Pick your direction

    To AVIF compresses for shipping; From AVIF to PNG rescues compatibility. The toggle sits above the drop zone and switches the file prompt and controls.

  2. Drop in the image

    One file at a time: drag it onto the drop zone or click it. Source dimensions and file size appear as cards as soon as the browser decodes it. Photographic content is AVIF's home turf, but graphics and screenshots convert happily too.

  3. Set quality (to AVIF only)

    The slider runs 10% to 100% and starts at 60. Higher keeps texture and raises file size; the reverse direction has no slider, because PNG output is lossless.

  4. Convert

    The button runs the encode in the tab, with a busy indicator while the browser's encoder works. Large photos take seconds, not milliseconds; that is the format's honest cost.

  5. Read the size report

    Original, Converted and the percent saved appear as cards, with a preview of the output beneath them. The saved-percent card is the number to quote in a performance budget.

  6. Download

    The download button takes the file as <name>.avif or <name>.png. If the browser refuses to encode AVIF, the tool prints the reason instead of writing a wrong file, and the site's WebP converters cover that case.

Inside AV1: where the extra twenty percent lives

Every block-based codec does the same three things: predict, transform, entropy-code. JPEG skips the first step entirely, coding each 8×8 block blind. VP8 predicts each sub-block from its neighbors above and to the left. AV1 predicts from a far larger neighborhood (above, left, above-left, above-right) across dozens of directional modes, and it can choose between 64×64 and 128×128 superblocks, letting flat regions of sky code as enormous single units while detail stays at fine granularity. The encoder spends its decisions where the picture actually has structure.

After prediction and transform, AV1 adds the refinements that a decade of streaming-video research bought. A constrained directional filter (CDEF in the spec) sharpens edges along their own angle without amplifying noise. A loop restoration filter can apply a separable Wiener filter, effectively a learned, signal-adaptive blur that removes compression artifacts, across whole regions. And on top of all of it sits the film grain machinery: the encoder estimates the image's natural grain, removes it so the clean structure underneath compresses dramatically better, transmits the grain's statistical description, and the decoder synthesizes fresh grain over the result.

The last mile is precision. AVIF codes and decodes at 10 or 12 bits per channel as a first-class citizen, and the whole pipeline maintains that precision end to end. That's the technical basis for the format's famous resistance to banding: a sunset sky that stair-steps visibly in 8-bit JPEG holds a continuous ramp in 10-bit AVIF, because there are 1,024 steps available where the older format had 256. Sources shot in 8-bit still benefit when encoded at higher precision, because the extra headroom protects the round trip.

The bill, itemized: sizes and seconds on one photo

Here is the typical pattern for a 2,400×1,600 photograph across the codecs this site discusses, consistent with the format comparisons in the sources below; treat the rows as representative, not as a benchmark of your images:

FormatSettingsSizevs JPEGEncode time
JPEGq85512 KBbaseline0.05 s
WebPq80276 KB−46%0.2 s
AVIFq75, medium effort184 KB−64%1.8 s
AVIFq75, high effort161 KB−69%6.1 s
AVIFq60, medium effort131 KB−74%1.7 s
One photo, five encodes. Quality buys the big cut; effort buys the last sliver.

Two patterns are worth pulling out of that table. Quality is the big lever and effort is the small one: dropping from q75 to q60 saved 53 KB while the higher-effort row saved 23 KB, and only the quality change is visible if you squint at fine texture. Time scales with effort far more than output size does. The high-effort row spent six seconds to remove about twelve percent, a trade that pays for a hero image served a million times and nowhere else.

Worked example: the budget-meeting sunrise

Input

hero-sunrise.jpg: 1,600×900, JPEG q70, 196 KB, visible banding in the sky

Output

hero-sunrise.avif at q55, medium effort: 89 KB (−55%), gradient smooth, 1.1 s encode

That's the meeting-ending number from the opening story, with the arithmetic attached. Scale it to a 40-image gallery page that weighs 5.9 MB as JPEG: the same roughly 60% reduction lands at about 2.4 MB, and the one-time encode bill at the table's 1.8 s per image is about 72 seconds, paid once at build time while the megabytes are saved on every pageview.

The support matrix and other honest limits

AVIF's remaining rough edges are known and enumerable, which is the best kind of problem:

  • Browser support is solved at the top and ragged at the bottom: Chrome 85 (August 2020), Firefox 93 (October 2021) and Safari 16 (September 2022) all decode AVIF; everything before those versions doesn't, and older Safari in the wild is the gap most sites still measure.
  • Encoding needs the right browser: this tool writes AVIF through the browser's own encoder, and Chrome and Edge can while Firefox and Safari may refuse; the tool reports the failure and the WebP converters are the fallback.
  • Encode cost is real: seconds per image at reasonable settings, minutes at high effort. Batch conversions need planning that JPEG workflows never did, and lower quality is the fast exit.
  • Animated AVIF exists but is rare tooling-wise: the container supports sequences; most converters, this one included, handle stills only.
  • Extreme dimensions hit codec levels: AV1's level system caps pixel dimensions and total pixel counts, so very large panoramas may exceed what encoders accept without tiling; 4K and 8K photographic sizes work fine.
  • Color depth and profiles are simplified here: wide-gamut and HDR AVIFs exist in the wild, but this converter's canvas path works in sRGB and hands the encoder 8 bits per channel, so 10-bit sources are down-converted on the way through.
  • Some very old hardware decodes slowly: first-generation phones without AV1 hardware blocks decode AVIF in software, fine for one hero image and noticeable in a fifty-image gallery; the picture-element fallback pattern covers this audience too.

Your own audience is checkable rather than guessable. Analytics packages tell you the browser versions actually visiting; cross-reference the oldest Safari and Chrome versions with meaningful share against the support dates above. Server logs answer it empirically: serve AVIF with a fallback for a month, then count how many requests fell through to the JPEG. When that number approaches zero, the training wheels come off.

Who is actually shipping it

The format crossed from experiment to infrastructure around 2023, and the names doing it at scale tell the story. Netflix, one of the alliance's founding members, ships AVIF where its own measurements say it wins. News organizations with image-heavy front pages adopted it for heroes and thumbnails, where the size-to-attention ratio is highest. WordPress added native AVIF support to core in version 6.5, which quietly made it a checkbox rather than a project for a third of the web.

  • Performance teams, for whom AVIF is the current endgame of image weight on hero and above-the-fold content
  • News and media sites, converting once at publish time and saving the bytes on every article view
  • E-commerce platforms, where product-image weight translates directly into conversion-rate math

There's also a quieter adoption channel most sites never notice: CDNs convert cached images to AVIF automatically at the edge for visitors whose browsers accept it. Converting deliberately, with a tool like this one, matters for everything the CDN doesn't touch: self-hosted assets, upload pipelines, and quality settings you want to control rather than inherit.

Notice who's absent: people emailing images to each other, printing them, or feeding them to decade-old software. AVIF is a delivery format for the web. The moment a file's destination is anything other than a modern browser, convert it out, which is why the reverse direction is half the product rather than an afterthought.

AVIF, WebP, and JPEG: the decision table

You don't choose a format in a vacuum; you choose it against an audience and a workflow. The honest size math first: WebP runs roughly 30% smaller than JPEG at similar quality, supported by every browser since about 2020; AVIF runs roughly 50% smaller but encodes several times slower; PNG stays the lossless choice for sharp-edged graphics (text, logos, screenshots). The decision matrix, accumulated from everything above:

SituationShipReason
Hero and above-the-fold imagesAVIF with fallbackBiggest bytes saved where attention is highest
Whole-site default, broad audienceWebP with JPEG fallbackFast encodes, no support gaps
Audience includes older SafariWebP, or AVIF + WebP fallbackThe gap that still exists in the wild
Email, print, portals, old softwareJPEG or PNGNothing modern is welcome there
Archival and editing mastersPNG or lossless AVIFFidelity over delivery weight
One picture element can serve all of the top three rows at once.
<picture>
  <source srcset="hero.avif" type="image/avif">
  <source srcset="hero.webp" type="image/webp">
  <img src="hero.jpg" alt="Sunrise over the coastal trail" width="1600" height="900">
</picture>

That markup is the whole strategy in five lines: every browser takes the best format it understands, and the JPEG at the bottom guarantees nobody gets a broken image. Encode the AVIF with this tool, the WebP with the JPG to WebP or PNG to WebP converter, and the JPEG is the original you already had. When a hard size cap matters more than the format itself, the Image Compressor targets kilobytes directly.

The encoder your browser already ships

The tool does not bundle a codec; it uses the one your browser already ships. Dropping an image on the page decodes it in the tab, draws it to a canvas, and hands the canvas to the browser's AVIF encoder for the To direction, or to its PNG encoder for the reverse. Images enter through the file picker and leave through the download button, with no network stage anywhere in between.

The tool also checks its own output: if the browser cannot encode AVIF, the convert step says so instead of writing a wrong file, and the site's WebP converters are the fallback. Your unreleased product photos and client campaign imagery stay on the machine that owns them, which is also why the tool costs nothing: an encode on your processor bills nobody.

Frequently asked questions

Is AVIF actually better than WebP?

At equal visual quality, AVIF files typically run another 20–25% smaller than WebP on top of WebP's lead over JPEG; on photographic content the combined saving versus JPEG often reaches 50%. The trade is speed: AVIF encodes roughly ten times slower than WebP. For a page's hero images, the size win justifies the wait; for a five-thousand-image library converted weekly, WebP remains the practical default.

Why is AVIF encoding so slow?

Because AV1 is a video codec designed for maximum compression efficiency, with dozens of prediction modes, restoration filters and rate-distortion searches evaluated for every block. The encoder does vastly more arithmetic per pixel than JPEG or VP8 ever did. On this page the quality slider trades size, not speed; the encode time is whatever the browser's AVIF encoder takes.

Do all browsers support AVIF now?

Every current browser does: Chrome since 85 (2020), Firefox since 93 (2021), Safari since 16 (2022). The gaps that remain are older Safari installations, legacy embedded browsers, and various email clients. If your analytics show meaningful traffic from those, serve AVIF with a WebP or JPEG fallback via a picture element.

What does 10-bit color actually do for my images?

The format can store 10 or 12 bits per channel, which is where its resistance to banding comes from: 1,024 or 4,096 levels per channel instead of 256, so skies and studio backdrops hold smooth ramps through compression. Files written by this page go through the browser canvas, which hands the encoder 8 bits per channel, so the banding resistance here comes from AV1's compression rather than bit depth; true 10-bit output needs a native pipeline outside the browser.

Can I convert AVIF files back to JPG or PNG?

Back to PNG directly: the From AVIF direction decodes the file and writes a PNG, which every portal, kiosk and old software accepts. For JPG specifically, run that PNG through the PNG to JPG converter. Decoding happens in the browser, so it works wherever AVIF images render.

Does AVIF support animation and transparency?

Both. The format carries animation in the container and full 8-bit alpha alongside 10-bit color, a capability set no other single format matches. This converter handles stills only; animated AVIF sequences need a tool built for frame work.

Is there a lossless AVIF mode?

Yes. AV1 includes true lossless coding, and AVIF inherits it: pixels decode bit-exact, with sizes that typically undercut PNG by a modest margin. It is the least-used corner of the format, and this page's quality slider is the lossy path; for archival lossless work a native encoder is the right tool.

Is it free, and does anything upload?

Free, no signup, no watermark, no metered conversions. Encoding and decoding run in the browser tab on your own machine, and your images never cross the network. One capability caveat: the browser must support AVIF encoding for the To direction; if it refuses, the tool says so instead of writing a wrong file.

The rest of the format corridor

AVIF work sits at the end of a pipeline that usually starts with older formats and sometimes has to return to them. The neighboring pages, in the order a real workflow hits them:

  • JPG to WebP Converter: the workhorse step for photographic libraries at batch scale
  • PNG to WebP Converter: the lossless and transparency path for graphics and screenshots
  • WebP to PNG Converter: the reverse-direction sibling when a WebP must become a PNG
  • Image Compressor: the format-agnostic option when a hard kilobyte cap rules the task

Sources and further reading

The specification, the support data and the format comparisons behind the size claims above live in these references.

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.