AVIF color replacer.
Drop an AVIF, pick a color to change and the color it becomes, and download a PNG with the swap made. Decoded and edited on your device.
AVIF color replacer.
Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.
Get ProHow it works
4 steps, no account. It runs in your browser and nothing is uploaded.
Drop the AVIF
Drop the AVIF onto the pane; the browser decodes it, alpha included.
Choose from and to
Pick the color to change in the preview, then the color it becomes, as a hex or from the picker.
Tune the match
Raise tolerance to catch compression shades, keep preserve shades on for photos.
Download
Download a lossless PNG, or re-encode it as AVIF for the web.
Related tools
More AVIF tools. Every one free, in the browser.
Pricing
Build it with Pro
The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Questions and answers
Before you trust the result: what to know about the format, the limits, your data and the tools next to it.
Yes. The browser decodes the AVIF, the tool swaps the matched pixels and you get a PNG. Any AVIF works: from Squoosh, Sharp, a camera export or a CDN's cache.
Browsers write PNG from a canvas everywhere; AVIF encoding is Chrome-only and slow. PNG keeps every pixel and the alpha, and any AVIF encoder turns it back into a small file.
Yes. Transparent pixels stay transparent; only the color values of matched pixels change.
In standard range: the browser decodes an HDR AVIF to 8-bit sRGB before the edit, so the extra color range isn't kept. For HDR-critical work, edit the original in an HDR-aware editor.
Generally 20 to 30 percent smaller at the same look, with narrower support. Both edit the same way here; the output is PNG either way.
Drop the AVIF, pick the color to change (click it in the preview or type its hex) and the color to change it to. Tolerance widens the match to nearby shades, which a lossy AVIF needs: 10 to 20 catches the compression noise around a flat color.
Turn on preserve shades. The tool then keeps each pixel's lightness and swaps only its hue and saturation, so shadows stay dark, highlights stay bright and a photographed object keeps its shape.
One color per pass. Download the PNG, drop it back in and pick the next color; nothing is lost between passes because PNG is lossless.
The browser writes PNG from a canvas everywhere, while AVIF encoding is Chrome-only and slow. The PNG keeps every pixel, including the alpha; re-encode it as AVIF in your pipeline when you need the small file back.
No. The file is decoded by your browser and every pixel is handled by JavaScript on your device. The page makes no request with your image, and you can load it, go offline and keep working.
No. The AVIF color replacer is free and opens without a sign-in, an account or an install.
Up to 100 MB per file, the limit the tool states under its drop area. A larger file is refused with a plain message instead of being decoded.
The edit is written as a PNG because PNG stores every pixel exactly, with a full alpha channel, so the result can be edited again without a second round of loss.
No. The browser decodes the image and the tool writes a new file from its pixels, so camera EXIF, GPS position and text chunks in the original are not copied into the result. Keep the original file if you need them.
No. The result has the same width and height in pixels as the source.
Closest to the AVIF color replacer: AVIF photo color editor, AVIF color tone changer, PNG color replacer, WebP color replacer. Each opens on its own page, free and in the browser.
The AVIF color replacer is one of 37 in its group. The group's page, /tools/avif, lists them all.
The tool is free. Its interface is built from shadcn.io's own components (Button, Input, Slider and the rest of the registry under /ui), which come in React, Vue, Svelte and Solid. Pro adds the blocks and templates for the product around it.
4.9 out of 5 from 150+ developers
Build the product around it
Every block, template and icon, installed by your AI agent in your theme. The tools stay free.
Get Pro



