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

How to Crop & Convert AVIF to ICO: 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. AVIF to ICO Crop Converter — free, in your browser.

Open Tool →

Overview

This tutorial walks through every step of cropping an AVIF image and converting it to an ICO file using the Data Conversion Center AVIF to ICO Crop Converter. The entire process takes under two minutes and requires no software installation. Your image never leaves your device. The tool uses createImageBitmap() for AVIF loading, which correctly waits for the AV1 pixel decode to complete before drawing — avoiding the silent blank-canvas problem that affects standard Image element loading with AVIF.

Step 1: Open the Tool

Navigate to dataconversioncenter.com/image-tools/avif-to-ico-crop/ in any modern browser. AVIF support requires Chrome 85 or later, Firefox 93 or later, Safari 16 or later, or Edge 121 or later. If you are on an older browser, update it first or try a different browser. No sign-in, no extension, and no download are required.

Step 2: Load Your AVIF

You have two options for loading your source image:

When the file loads, createImageBitmap(file) is called. This API returns a Promise that resolves only after the full AV1 pixel decode is complete. This is important for AVIF: the standard Image element approach fires onload before decoding finishes, which causes ctx.drawImage() to produce a blank canvas silently. The tool's approach guarantees the image is fully decoded before it appears in the canvas panel.

Once the image loads, it appears in the source panel on the left. 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. For favicon production, aim for an equal width and height (a square crop). The badge makes this easy to verify before committing to the download.

Step 4: Preview the Crop

Before committing to a download, click Preview Crop. A pop-up window opens showing the cropped region rendered as a PNG preview. The pop-up title displays the exact output dimensions (e.g., "Crop Preview — 128 × 128 px"). Use this to verify your composition — confirm that the subject is correctly centered, that no important detail is clipped at the edges, and that the aspect ratio is correct (square for most icon use cases).

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 5: Convert & Download the ICO

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

  1. Draws the selected pixel region from the ImageBitmap onto an off-screen canvas at full image resolution.
  2. Exports the canvas contents as a PNG blob using canvas.toBlob().
  3. Reads the PNG blob as an ArrayBuffer.
  4. Encodes a standards-compliant ICO file from scratch in a JavaScript ArrayBuffer, including the ICO header, directory entry, and embedded PNG data.
  5. Creates a Blob URL for the encoded file and triggers a browser download.

The file downloads as [original-filename]_crop.ico. For a source file named logo.avif, the output is logo_crop.ico. The download is immediate — there is no server round-trip.

Step 6: Start Over (Optional)

To crop and convert a different AVIF, 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 AVIF to ICO?

Open AVIF to ICO Crop Converter →