Free · processed in your browser · free account to download
Invert Image Colors
Drop a photo to flip every red, green and blue value into its opposite, creating a color or black-and-white negative. Compare the result beside the original and download a copy. Your image is not uploaded.
How do I invert the colors of an image?
Drop a JPG, PNG, WebP, AVIF or HEIC file (up to 50 MB) into the box above. The tool immediately previews the inverted negative at 100% intensity beside your original. Adjust the Intensity slider if you want a partial blend; the full-size file is prepared by itself a moment after you stop adjusting, then download it.
How it works
01
Add the image
Drag in one JPG, PNG, WebP, AVIF or HEIC (.heif) file up to 50 MB, or click to select it from your device.
02
Adjust the intensity
Leave Intensity at 100% for a full negative, or lower it to blend the inverted colors with the original. Note that 50% meets in the middle at flat neutral gray.
03
Wait for the full-size file
A moment after you stop adjusting, the inversion runs by itself on the full-size image (up to 4096 px on the longer side). JPG, PNG and WebP stay in their original format where supported; AVIF and HEIC become PNG.
04
Save the inverted file
Review the dimensions and file size change, then download. The new file keeps your filename with -invert added before the extension.
What RGB color inversion does to pixels
At 100% intensity, the tool replaces each pixel's red, green and blue channel value (0 to 255) with 255 minus that value. Pure black (0, 0, 0) becomes pure white (255, 255, 255), bright highlights turn dark, and every color flips to its RGB complement: red and cyan trade places, green and magenta swap, and blue turns yellow. On a black-and-white photo or scanned document, white pages become dark and dark ink becomes light.
The Intensity slider blends linearly between the original value and the inverted value. Because every channel moves straight toward its opposite across the 0–255 scale, setting the slider to 50% pulls both dark and light pixels to the exact midpoint (128, 128, 128), producing a solid gray rectangle. Settings above 50% show a softened, low-contrast negative; settings below 50% show a softened version of the original.
Transparency, formats and what changes in the file
The alpha channel is never inverted, so transparent backgrounds in PNG, WebP, AVIF or HEIC graphics stay transparent instead of turning opaque. While you move the slider, the side-by-side preview renders on a copy capped at 1200 px on the longer side. The full-size file is then built automatically from the full-size image, scaled to 4096 px on the longer side only if the source was larger than that.
Because the browser decodes the image onto a canvas and encodes a fresh file, file size can go up or down depending on the format. Camera metadata (EXIF, GPS and capture settings) and embedded color profiles are not copied over, and wide-gamut photos are converted to standard sRGB.
What this tool does not do
It does not invert only selected colors, invert brightness while keeping hue, remove the orange mask from scanned color film negatives, or mask specific areas of the image.
Keep exploring
Related free tools
Questions
Photo Inverter: FAQ
Is my image uploaded to a server?
No. Decoding, pixel inversion and saving all run inside your browser, so the photo stays on your device. The page logs usage events in Google Analytics, such as which tool ran, but never the image.
Why does the image turn solid gray at 50% intensity?
The Intensity slider blends each channel linearly between its original value and its inverted value (255 minus the original). Halfway between any value and 255 minus that value is always 127.5, which rounds to 128 across every pixel. Use 100% for a crisp negative, or 75%–95% for a muted negative.
What happens to a transparent background in a PNG or WebP?
Only the red, green and blue channels are inverted. The alpha (transparency) channel is left untouched, so transparent corners and cutout backgrounds remain transparent.
Can I use this to convert scanned film negatives into positive photos?
It works well for black-and-white film negatives, where dark silver grains become shadows and clear film base becomes highlights. Color C-41 film negatives have an amber-orange base mask that turns into a strong cyan cast when inverted; this tool does not remove that mask automatically.
Why was my file saved as a PNG instead of its original format?
JPG, PNG and WebP files are written back in their own format when your browser supports it. AVIF and HEIC inputs are saved as lossless PNG, and in Safari a WebP input is also saved as PNG with a note on screen because Safari cannot encode WebP. To save it as JPG, TIFF or PDF instead, use the Format menu at download.
Does inverting an image twice restore the original?
At 100% intensity, running the math twice flips every RGB value back to where it started. On a lossless PNG in sRGB, the pixels match; on a JPG, lossy WebP or wide-gamut photo, re-encoding and sRGB conversion still alter the file bytes slightly.