Invert Image
Invert the color channels of an image and leave the alpha alone.
About this tool
Red, green, and blue are each replaced with 255 minus that channel. Transparency is copied unchanged, so a transparent pixel stays transparent.
The format follows the source file when this browser can encode it.
How to use it
- Choose an image.
- Invert it.
- Download the result. Alpha is the original alpha.
Limitations
- Inversion is 255 minus the channel. It is not a photographic negative of a film scan with a color profile.
- Files over 250 MB or 40 million pixels are refused.
Each channel's distance from 255
255 minus the channel, alpha held
Invert replaces red with 255 minus red, and does the same for green and blue. Alpha is not inverted, so a soft shadow stays a soft shadow rather than becoming a soft highlight in the alpha plane. There is no amount. The mapping is total. Running it on pixels that are already the inverted set returns the prior channels, before you account for encoding. Black becomes white. White becomes black. A mid gray near 128 stays near 128. The canvas dimensions are unchanged.
Only the decoded bitmap is inverted. An animation does not invert every frame in place. ICO input contributes one image, the largest that decoded, and the output icon wraps that one inverted image. HEIC input becomes pixels first and cannot be written as HEIC.
The negative is then compressed again when the format is lossy
The channel flip is the edit. A negative saved as JPEG mainly, as WebP, or as AVIF is a fresh encode. The quality range’s default on this page is 0.92. JPEG and WebP honor it. AVIF honors it after a probe confirms that two AVIF qualities produce different byte lengths. Inversion leaves the range disabled when the negative is PNG, when it is GIF, when it is BMP, when it is ICO, and when HEIC is stored as PNG. If AVIF cannot be written, preserve intent substitutes PNG.
A PNG negative keeps the exact inverted 8-bit channels, with no quality argument. A GIF negative is those channels after palette quantization, so photographic negatives can posterize. BMP is 24-bit, partial alpha on white, and also ignores the range. Inverting a JPEG does not recover a “digital negative” in the film sense. It is an RGB complement of the decoded samples, including whatever the original JPEG had already lost.
Invert, save, invert again
Two inversions on a PNG return the starting channels. Two inversions on a JPEG return something close, with two quantizations in between, so fine detail is softer than the source even though the colors have flipped back. If you inverted by mistake, return to the original file rather than inverting the JPEG download and hoping the loss cancels. The math cancels. The encode does not.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

