Convert AVIF to WebP — because WebP is the safer modern format

You already moved past JPG — but AVIF still has blind spots in 2026. Older Safari builds, several social platforms, and many CDN configs do not serve AVIF reliably. WebP has been universally supported since 2020 and closes those gaps without falling all the way back to JPG. This converter re-encodes any AVIF to WebP entirely inside your browser.

Convert to WebP →

Why convert AVIF to WebP?

AVIF is technically superior to WebP on nearly every benchmark — better compression ratios, richer color depth, cleaner gradients. So why convert away from it? Because support is not universal yet. Safari before version 16.4 does not decode AVIF at all. In 2026, Discord renders WebP images inline in chat but silently shows a broken-image icon for AVIF attachments. Many CDN configurations, static-site hosts, and older content management systems never added AVIF to their accepted MIME type list. WebP has been reliably supported across Chrome, Firefox, Safari, and Edge since 2020. If you are distributing an image and do not fully control the display environment, WebP is the right modern choice.

What you lose and what you gain

Both AVIF and WebP are lossy codecs — every re-encode discards some image information. Converting AVIF to WebP at quality 90 produces a file that is visually indistinguishable from the source in side-by-side tests, but will be noticeably larger: WebP just isn't as efficient as AVIF at the same visual quality level. The typical size increase is 30-60% for photographic content at matched perceptual quality. You do not recover any detail the original AVIF discarded during its first encode — that information is gone. What you gain is a file that loads correctly in every modern browser without asterisks, previews inline in Discord and most social platforms, and passes MIME-type checks in environments that have not added AVIF support.

How to convert AVIF to WebP

The entire process happens locally in your browser. No files leave your device. The app works offline once it has been loaded once:

  1. Click "Convert to WebP →" at the top of this page, or drag your AVIF file directly onto the drop zone on the homepage.
  2. ConvertMyPic decodes the AVIF using libaom (the reference AV1/AVIF decoder compiled to WebAssembly via Emscripten). A preview appears within a second for typical phone-photo sizes.
  3. The decoded image data is passed to libwebp — Google's official WebP encoder — also compiled to WebAssembly. libwebp applies the VP8 lossy compression pipeline to produce a compact .webp output at the selected quality level.
  4. Click the download button. The WebP file saves to your Downloads folder with the same base filename — photo.avif becomes photo.webp — so it drops cleanly into existing file-naming workflows.
  5. Need a different quality or lossless mode? Open /convert directly for the full options panel: quality slider (50-100), lossless toggle, near-lossless level, and EXIF strip control.

File size comparison: AVIF vs WebP at matched quality

Numbers from a real 4032x3024 iPhone 15 Pro photo (coastal landscape, 12.2 MP). AVIF source was emitted at quality 75; then re-encoded to WebP at each quality level using libwebp.

FormatQualityFile sizeVisual notes
AVIF (source)75600 KBOriginal, no visible artifacts
WebP901.1 MBVisually identical to AVIF source
WebP75720 KBExcellent quality, slight sky softness
WebP60570 KBGood for web; faint banding in gradients
WebP50430 KBVisible compression in smooth areas

When to convert, and when to stay on AVIF

Convert to WebP when the destination has patchy AVIF support. The most common cases in 2026: Discord (renders WebP inline in chat but breaks on AVIF), Safari on iOS 15 and macOS Monterey (AVIF support arrived in Safari 16.4, released March 2023 — older installs remain in the wild), many WordPress installs running older image-handling plugins, CDNs configured to serve only JPG/PNG/WebP from their image-optimization pipeline, and social open-graph previews on platforms that have not updated their scrapers. Stay on AVIF when you control the delivery pipeline end to end: your own website with an <picture> element fallback, a CDN that handles format negotiation automatically via Accept headers, or any modern photo-management application like Apple Photos, Google Photos, or Lightroom. A practical heuristic: if you are sending the file to a system you do not control, WebP is the safer modern choice. If you are serving the file from infrastructure you own and can test, keep AVIF for the size advantage.

Under the hood: which codecs are used

ConvertMyPic is derived from Google's Squoosh. AVIF decoding uses libaom compiled to WebAssembly — the same AV1 decoder shipped inside Chrome and Firefox. The libaom fork used here is maintained at github.com/AOMediaCodec/libavif. WebP encoding uses libwebp, Google's open-source reference implementation of the WebP format, compiled to WebAssembly via Emscripten. libwebp applies the VP8 intra-frame codec for lossy output and a lossless mode based on LZ77 and Huffman coding for lossless WebP. The libwebp project is hosted at chromium.googlesource.com/webm/libwebp. Both codecs run inside a Web Worker so the browser UI stays fully responsive while a large file is being encoded. There are no native binaries, no server round trips, and no external API calls at any point in the pipeline.

FAQ

Do my files get uploaded anywhere?

No. The entire conversion runs in your browser using WebAssembly. Open your browser's Network tab while converting — you will see zero outbound requests beyond the initial page load. There is no server to upload to.

What is the maximum file size I can convert?

Browser memory is the only constraint. Files over 50 MB (200 MP+) work fine on desktop Chrome with 16 GB of RAM. On older or lower-memory phones, expect reliable operation up to around 40 MP. If a file exceeds available memory, you will see a clear error message rather than a silent crash.

Does this work offline?

Yes. After the first page load, a service worker caches the app shell and all WebAssembly modules. Subsequent visits work with the network disconnected. That's why ConvertMyPic is installable as a PWA on both desktop and mobile.

Does the converter preserve EXIF metadata?

Yes by default. EXIF data — camera model, GPS coordinates, aperture, shutter speed — is carried through to the output WebP. If you are sharing the file publicly and want to strip location data, the advanced options panel at /convert includes an EXIF-strip toggle.

Why is this free?

Because there are no servers to run. The WebAssembly modules are a few megabytes served once from a CDN, and all the heavy computation runs on your CPU. With zero infrastructure costs there is nothing to charge for.

Will the WebP file be larger than the original AVIF?

Yes, typically 30-60% larger at comparable perceptual quality. AVIF uses a more advanced compression algorithm (AV1 intra-frame coding) that achieves better efficiency than WebP's VP8-based codec. The tradeoff is broader compatibility — WebP works in every environment that handles modern images.

Does AVIF transparency convert correctly to WebP?

Yes. Both formats support alpha channels. libaom decodes the AVIF alpha plane, and libwebp re-encodes it in WebP's alpha layer. Transparent areas remain transparent with no color contamination or fringing at the edges.

Why does Discord show AVIF as a broken image?

As of 2026, Discord's desktop and mobile clients render WebP images inline in chat but do not decode AVIF. The platform hasn't added AVIF to its media pipeline yet. Converting to WebP before sharing ensures your image appears inline rather than as a download attachment.

Which Safari versions do not support AVIF?

Safari added AVIF support in version 16.4, released March 2023. Users still running macOS Monterey (which maxes out at Safari 16.3) or iOS 15 do not have AVIF decoding. WebP has been supported in Safari since version 14 (2020), making it the safer choice for audiences that may include older Apple devices.

Can I convert multiple AVIF files to WebP at once?

The current flow processes one file at a time. For batches of ten or more files today, the fastest workaround is to open /convert in multiple browser tabs and process them in parallel — each tab gets its own WebAssembly instance. Batch conversion with a single drop zone is on the roadmap.