Skip to content
← All Guides
🔒 No Upload Required ✅ Free Forever 🌐 Browser-Based
Image Tools

How to Crop & Convert JPG to AVIF: Step-by-Step Tutorial

By Bill Crawford  ·  March 2026  ·  5 min read  ·  Last updated March 10, 2026

Connect on LinkedIn →

🚀 Follow along with the tool open. JPG to AVIF Crop Converter — free, in your browser.

Open Tool →

Overview

This tutorial walks through every step of cropping a JPG image and converting it to a compact AVIF file using the Data Conversion Center JPG to AVIF Crop Converter. The entire process takes under two minutes and requires no software installation. Your image never leaves your device. AVIF output is typically 40–50% smaller than the equivalent JPG region, making this workflow ideal for optimizing web images before upload.

Browser requirement: AVIF encoding via the Canvas API requires Chrome 85+, Edge 85+, or Firefox 93+. Safari users may experience encoding failures — if so, switch to Chrome for best results.

Step 1: Open the Tool

Navigate to dataconversioncenter.com/image-tools/jpg-to-avif-crop/ in Chrome, Edge, or Firefox. The tool works on desktop and mobile. No sign-in, no extension, and no download required. If your browser does not support AVIF canvas encoding, the tool displays a yellow warning banner at the top of the page.

Step 2: Load Your JPG

You have two options for loading your source image:

As soon as the image loads, it appears in the source panel on the left side of the tool. The blue crop handles appear at the corners and edges of the image, initially set to the full image boundary.

Step 3: Adjust the Crop Area

The crop overlay has eight handles: four at the corners and four at the midpoints of each edge. Here is how each type behaves:

As you drag, the crop dimensions badge in the panel header updates in real time to show the output pixel dimensions at full image resolution. The info bar below the source image shows the exact pixel coordinates of the crop rectangle.

Step 4: Set the Quality

Unlike TIFF (lossless) or PNG, AVIF is a lossy format. The quality slider below the crop panels controls the compression tradeoff:

The quality value maps directly to the quality parameter of the Canvas toBlob API, scaled to a 0–1 range. A quality of 85 becomes 0.85 in the API call.

Step 5: Preview the Crop

Before committing to a download, click Preview Crop. A pop-up window opens showing the cropped region rendered at full browser width. The pop-up title displays the exact output dimensions (for example, "Crop Preview — 1600 × 900 px"). Use this to verify your composition — check that you have not clipped important detail at the edges, and confirm the aspect ratio looks correct for your intended use.

Close the preview with the × button or by clicking outside the modal. Return to the source panel and adjust the handles if needed. You can preview as many times as you like with no penalty.

Step 6: Convert & Download the AVIF

When you are satisfied with the crop and quality setting, click Convert & Download AVIF. The button briefly shows "⏳ Converting…" while the tool:

  1. Draws the selected pixel region onto an off-screen canvas at full image resolution.
  2. Calls canvas.toBlob('image/avif', quality) to encode the AVIF using the browser's built-in AV1 encoder.
  3. Creates a Blob URL for the encoded file and triggers a browser download.

The file downloads as [original-filename]_crop.avif. For a source file named hero.jpg, the output is hero_crop.avif. The download is immediate — there is no server round-trip. AVIF encoding is CPU-intensive and may take a few seconds for large images, especially at high quality settings.

Step 7: Start Over (Optional)

To crop and convert a different JPG, click ↺ Start Over. This clears the current image, resets the crop handles, and returns the tool to its initial drop zone state.

Tips for Best Results

✍ Ready to crop and convert your JPG to AVIF?

Open JPG to AVIF Crop Converter →