AVIF to JPG Crop Converter

Load an AVIF image, drag the crop handles to define exactly the area you need, preview the result, then download a high-quality JPG. Everything runs in your browser — your image never leaves your device.

🖼️

Drop an AVIF here

or Browse Files  ·  AVIF supported

What This Tool Does

This tool loads an AVIF image directly in your browser, presents an interactive crop overlay with draggable handles, and converts the selected area to a JPG file. No server upload is required. The full workflow — loading, cropping, encoding — runs entirely in client-side JavaScript using the HTML5 Canvas API. AVIF files use AV1 compression that requires full pixel decoding before the canvas can draw them; this tool uses URL.createObjectURL() combined with img.decode() to guarantee the decode is complete before drawing, preventing the silent blank-canvas problem that affects standard Image element loading with AVIF. The output is a high-quality JPG at 92% quality, the format accepted by every browser, operating system, print service, and image platform.

Who This Is For

  • Photographers who have AVIF source files and need a cropped JPG for email, social media, or platforms that do not accept AVIF
  • Web developers extracting a specific region from an AVIF image for use in legacy environments or wide-compatibility contexts
  • Anyone converting a portion of an AVIF photo to the universally compatible JPG format without installing image-editing software
  • Designers preparing cropped image assets from AVIF source files for delivery to clients or systems that require JPG

AVIF vs JPG: Format Comparison

PropertyAVIFJPG
Compression typeLossy or lossless (AV1)Lossy (DCT)
File size (typical photo)Very small — best in classModerate — 5–20× larger than AVIF
Re-save quality lossNo (lossless mode)Yes — each save degrades quality
Transparency supportYes (alpha channel)No
Browser supportChrome 85+, FF 93+, Safari 16+Universal
Platform upload supportInconsistent (2026)Universal — every platform
Print & email supportLimitedUniversal
Best forWeb delivery, maximum compressionUniversal sharing, email, print, legacy systems

Frequently Asked Questions

Why does this tool use img.decode() instead of the standard Image onload?
AVIF uses AV1 video codec compression that requires asynchronous GPU-accelerated decoding. When you load an AVIF with new Image() and FileReader.readAsDataURL(), the browser fires the onload event before the AV1 pixel decoding completes. Calling ctx.drawImage() at that point silently draws a blank canvas — no error, no warning, just empty output. img.decode() is a Promise that resolves only after the full pixel decode is ready, so the canvas always receives real pixel data.
How precise is the crop tool?
The crop operates at native pixel accuracy on the original AVIF dimensions. The canvas is scaled to fit your screen for display, but the actual crop coordinates are mapped back to the full-resolution image before the JPG is generated. You get a JPG at the exact pixel dimensions shown in the crop dimensions badge.
Can I move the crop selection after setting it?
Yes — click and drag inside the crop rectangle (away from the handles) to reposition it anywhere within the image. Handles resize; the interior pans.
What JPG quality level does the output use?
The output JPG uses quality 92 (out of 100), which produces a visually excellent result with minimal compression artifacts at a reasonable file size. This is equivalent to "high quality" in most image editing applications.
What browsers are supported?
All modern browsers that support AVIF: Chrome 85+, Firefox 93+, Edge 121+, and Safari 16+ on desktop and mobile. The tool requires both AVIF decoding support and the standard Canvas API, which are available in the same browser versions.
Is there a file size limit?
There is no server-imposed limit because no upload occurs. The practical limit is your browser's available RAM. Most modern desktops handle AVIF files comfortably. Very large files on memory-constrained mobile devices may be slower to process.