AVIF to PNG with a color change.
Drop an AVIF, change a color or leave them all, and download a lossless PNG. One pass for the conversion and the edit.
AVIF to PNG with a color change.
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: drop the AVIF, change a color if you want to and download the PNG. Skip the color pickers and it is a plain converter; the PNG is lossless either way.
PNG opens everywhere, from any browser to Office and every design tool, and keeps the alpha. AVIF is smaller but needs a 2020s decoder.
None. The browser decodes the AVIF, the swap changes only the matched pixels, and PNG stores the rest exactly.
Yes, often by a factor of ten: AVIF compresses hard and PNG doesn't. The size is the price of universal support; keep the AVIF for the web.
Encode the PNG with Squoosh, Sharp, ImageMagick or your build's image step. This page decodes AVIF; it doesn't write it.
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 to PNG with a color change" tool 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 to PNG with a color change" tool: AVIF to PNG converter, AVIF color replacer, AVIF to transparent PNG converter, PNG color replacer. Each opens on its own page, free and in the browser.
The "AVIF to PNG with a color change" tool 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



