AVIF→WEBP

Convert AVIF to WEBP

Turn an .avif image into a WEBP — right in your browser, with a real re-encode via canvas, not a server upload. Keeps transparency, and WEBP support is broader than AVIF across older tools and CDNs.

Runs 100% in your browser Handles transparency Nothing uploaded

Convert an AVIF File to WEBP

Drop an .avif file below. Your browser decodes it (AVIF is supported by all current major browsers), then it's re-encoded as a real WEBP on a canvas — transparency preserved — previewed here, ready to download.

Before you use this tool: The output is a still WEBP encoded with lossy compression. Transparency is retained, but animation and original metadata are not. A conversion is not guaranteed to reduce the file size.

🔒 Nothing is uploaded — your file never leaves this device

Why convert AVIF to WEBP

AVIF is the newest and most efficient of the modern web image formats, but WEBP has been around longer and is supported by a wider range of image CDNs, editing tools, and older browser versions. Converting AVIF to WEBP is a common middle ground when a workflow doesn't (yet) fully support AVIF, without falling back all the way to JPG or PNG.

Edge cases this tool handles

Animated or HDR AVIF

Only the first frame is converted, and your browser tone-maps any HDR/wide-gamut color down to standard sRGB for the WEBP, the same way it would display the image on a standard screen.

Transparent AVIF

Fully preserved — WEBP supports an alpha channel, so transparent and semi-transparent areas from the source AVIF carry over.

File size

AVIF is generally the more efficient format, so the output WEBP will often be somewhat larger than the source AVIF at a comparable visual quality — the tradeoff for WEBP's broader compatibility.

Why Paint, Preview and Shortcuts can't do this conversion

This pair is awkward for built-in software: the usual tools can read AVIF but none of them writes WEBP.

  • Windows Paint and Photos open AVIF once Microsoft's free AV1 Video Extension is installed, but Paint's Save as list has no WEBP option.
  • Preview on Mac opens AVIF on macOS Ventura and later, but its Export formats don't include WEBP.
  • The iPhone Shortcuts app's Convert Image action outputs JPEG, PNG, HEIF and a few others — not WEBP.

So your realistic options are the converter on this page (any current browser, nothing to install), a full image editor, or the command line. In GIMP, open the AVIF and use File → Export As… with a name ending in .webp; the export dialog then offers a quality slider and a lossless option.

Command line and batch conversion

ImageMagick 7 converts in one step, as long as your build lists both AVIF and WEBP under magick -list format:

  • One file: magick photo.avif -quality 85 photo.webp
  • A whole folder: magick mogrify -format webp -quality 85 *.avif (writes a .webp next to each .avif; originals untouched)

If you want Google's own encoder and its finer controls, decode first with libavif's avifdec, then encode with cwebp from libwebp — cwebp can't read AVIF directly:

Going through a temporary PNG so cwebp can encode the AVIF, then the same thing as a loop for a folder.

For logos and graphics with transparency, add -lossless to the cwebp command instead of -q; for photos, a quality of 75–85 is a sensible web range.

For websites: convert, or serve both formats?

People usually land here because a CMS, plugin or image service rejected an AVIF upload. WordPress, for example, accepts WEBP uploads since version 5.8 and AVIF only since 6.5 — and even then only if the server's image library supports AVIF. Before replacing AVIFs everywhere, consider that every current major browser displays AVIF, so you may not need to give it up: the HTML <picture> element lets you offer AVIF first and WEBP or JPG as a fallback, and the browser picks the first it supports.

Two quality tips specific to AVIF → WEBP:

  • Start from the original if you have it. AVIF and WEBP are both lossy, so converting one into the other adds a second round of compression. If the AVIF was made from a JPG or PNG you still have, convert that to WEBP instead (see JPG to WEBP or PNG to WEBP).
  • Expect a bigger file. WEBP is a generation older than AVIF, so matching the AVIF's look usually takes more bytes. If the WEBP comes out much larger, lower the quality a little rather than going back up.

Frequently asked questions

Does converting AVIF to WEBP upload my file anywhere?

No. The image is decoded and re-encoded entirely inside your browser using a canvas — the file never leaves your device or touches a server.

Do I need a special browser for this to work?

No — all current versions of Chrome, Firefox, Edge and Safari can decode AVIF natively. Only a very old browser version might not support it.

Does converting to WEBP keep transparency?

Yes — WEBP supports an alpha channel, so transparent and semi-transparent pixels in the source AVIF are preserved in the output.

Why convert to WEBP instead of just keeping AVIF?

WEBP has broader support across older browsers, image CDNs, and editing tools that don't yet handle AVIF — converting is a practical middle ground when your workflow needs that wider compatibility.

Can Paint or Preview save an AVIF as WEBP?

No. Windows Paint (with the AV1 Video Extension) and macOS Preview (Ventura or later) can open AVIF, but neither offers WEBP as a save or export format. Use a browser-based converter, an editor such as GIMP, or ImageMagick on the command line.

Should I convert AVIF to WEBP for my website?

Only if something in your workflow rejects AVIF, such as an older CMS, plugin or image service. All current major browsers display AVIF, and the HTML picture element lets you serve AVIF with a WEBP or JPG fallback instead of replacing it. If you do convert, start from the original JPG or PNG when you have it.

Will an animated AVIF stay animated as WEBP?

Not with this tool: browsers only expose a single still frame to the canvas, so you get the first frame as a still WEBP. Keeping the animation requires a command-line tool that handles image sequences.

Last updated October 1, 2026.