Invert Image
Inverting an image replaces the color of every pixel with its opposite: black becomes white, white becomes black, and mid grays stay near the middle of the scale. Transparency is left alone, so a cut-out subject keeps its clean edges. The work happens on a canvas inside this tab, which means the picture never leaves your computer.
Add an image
Processing several pictures? Batch Invert Image
Drop an image here
or click to choose · paste with Ctrl+V · JPG, PNG or WebP, up to 20 MB
Press Ctrl+V (⌘ on a Mac) with an image on the clipboard
Preview
Your result shows up here.
Export
The format, the quality and the longest edge of the file you take away. PNG keeps every pixel; JPG and WebP answer to the quality slider.
How to invert an image in 3 steps
- 01
Load the picture you want to invert
Drop a file onto the page or click to choose one. JPG, PNG and WebP are accepted, up to 20 MB per file. The picture is decoded in your browser and drawn on a canvas, where the inverted version appears in the preview straight away.
- 02
Read the inverted preview
Light areas of the source turn dark and dark areas turn light, while every transparent pixel stays transparent. Nothing is uploaded and nothing is saved at this point. The preview is a live rendering, and the original file on your disk is never modified.
- 03
Export the inverted file
Choose PNG, WebP or JPG in the export panel, set the quality slider between 10 and 100 percent for the lossy formats, and leave the longest edge on the original size if you want every pixel kept. Press Download and the new file is written to your machine.
Inverting changes color values, not positions
Inverting rewrites the color of every pixel and never moves one. Each channel is replaced by its opposite value, 255 minus the number: black turns white, white turns black, and a mid gray near 128 stays a mid gray. The alpha channel is copied as it is, so a transparent background survives the change intact. What this page does not do is rearrange the picture. It does not exchange the left half with the right half, which is what the Image Flipper does when a scan came out the wrong way round, and it does not copy one half onto the other to build a symmetrical composition, which is the job of the Mirror Image page. Use inversion for a negative look, for a dark print that has to carry light ink, or for a graphic whose palette needs turning the other way round. If the problem is the framing rather than the colors, the Crop Image page is the one that changes the frame. This page is the single-picture version: it reverses the colors of one picture. When you have a whole stack of negatives or a folder of slides scanned against the light, the Batch Invert Image reverses the colors of up to twenty pictures in one run and hands back a single archive.
Frequently asked questions
What exactly does the inversion do to each pixel?
Every pixel gets its opposite color value, calculated as 255 minus the original number for each of the red, green and blue channels. Black at 0 becomes white at 255, white at 255 becomes black at 0, and a mid gray near 128 stays close to mid gray. The alpha channel is left untouched, so transparent areas of a PNG stay transparent after the change.
Does the inverted picture keep its transparent areas?
Yes. Only the color channels are inverted. The alpha channel of a PNG or WebP is copied unchanged, so a cut-out subject that was transparent before the inversion is still transparent afterwards. This matters for logos and product shots: export as PNG or WebP, because a JPG has no alpha channel and flattens those areas into a solid background color.
Is an inverted image the same as a negative film?
Close, but not identical. A color negative film shifts the tones as well as reversing them, and the printed result depends on the lab. The inversion here is purely arithmetic: the opposite of each value, applied to the three color channels. Expect the same look you get from photo-editing software when you pick the invert command.
Can I invert a photo and then rotate or crop it?
Not on this page. Each tool in this family does one job, so the inversion changes colors and stops there. For a quarter turn use the Rotate Image page, and for a selection use the Crop Image page. You can always run the exported file through them afterwards, because the result is an ordinary image file on your disk.
Does the file ever leave my computer?
No. The picture is decoded, edited and re-encoded inside this browser tab, and the download comes from the same page. Nothing is sent to a server, so there is no copy of your photo sitting on someone else’s machine. Close the tab and the working copy is gone with it.
Everything happens on your own device
Your picture is decoded, edited and re-encoded in your own browser, and nothing is uploaded to a server. The page accepts JPG, PNG and WebP files of up to 20 MB each, reads them into a canvas on your machine and writes the finished picture back out from that same canvas. No copy of your image is kept anywhere else, and the export is downloaded straight from this page.