Invert Image Colors — Free, Browser-Side, No Upload
Invert the colors of any image (PNG, JPG, WebP) in your browser. Negative, X-ray, photo negative effects. Files never leave your device.
Drop your image here
PNG, JPG, or WebP — up to 50 MB
Inverting an image’s colors — also called producing a “photo negative” or “negate” in image editors — is the simplest meaningful transformation you can apply to a digital image. Each pixel’s red, green, and blue channel values are subtracted from 255 (the maximum), so a black pixel becomes white, white becomes black, red becomes cyan, and so on. The mathematical operation is output = 255 − input, applied independently to each channel.
This tool runs the entire pipeline in your browser. The image is read into an HTML5 Canvas, the per-pixel negation is performed, and the result is re-encoded in the same format. There is no server roundtrip, no upload, no account. The file never leaves your device. This is useful when the source image contains private content (medical scans, legal documents, family photos) and you don’t want to trust any third-party service with it.
How to use
Drop your image
Drag a PNG, JPG, or WebP file into the drop zone (up to 50 MB). The image is read locally and never leaves your device.
We invert the colors
Each pixel's R, G, B channel is flipped (255 − value). Alpha is preserved. This produces the classic photographic negative effect.
Download the inverted image
The output file is saved in the same format as the input. Filename gets a `-converted` suffix.
Frequently asked
Is this the same as the 'invert colors' option in Photoshop?
Yes — exactly the same operation. Each channel is flipped (255 − value). Photoshop also lets you invert a single channel, which this tool does not.
Can I invert only part of an image?
Not in v1. For selective inversion, use a desktop tool or compose this with our image-crop tool: crop → invert → recombine.
Will the file size change?
Usually within 5%. JPEG recompression is the main factor; the inverted pixels themselves compress about the same as the originals.
Does this work on transparent PNGs?
Yes. The alpha channel is preserved unchanged. Only R, G, B are flipped.
Are my images uploaded?
No. All processing happens in your browser via the HTML5 Canvas API. The file never leaves your device.
Why would I want to invert an image?
Common uses: turning photo negatives into positives for scanning, creating X-ray aesthetic for design, revealing details hidden in dark areas of a photo.
Limitations
- No channel-selective inversionAll three RGB channels are flipped together. Use Photoshop or GIMP if you only want to invert one channel.
- Whole-image onlyThere is no region selector in v1. For partial inversion, crop the image first.
- Lossy recompression for JPGIf your input is JPG, the output is a freshly encoded JPG. Quality 92% default, so loss is minimal but not zero.
Platform notes
- macOS
- Works in Safari, Chrome, and Firefox. Preview.app can invert an image (Tools → Invert Colors) but only one at a time and only for the active selection.
- Windows
- Works in Edge, Chrome, Firefox. MS Paint cannot invert colors in place; you would need to write a script.
- Linux
- CLI equivalent: `convert input.png -negate output.png` (ImageMagick). For batch: `mogrify -negate *.png`.
- Web
- Runs entirely client-side. No upload, no server roundtrip. Open in any modern browser.