Invert Image Colors
: Invert image colors online: a photo negative, lightness only, black and white, or one RGB channel; transparency kept, batch with ZIP, PNG, JPG or WebP, no uploadInvert Image Colors
Invert the colours of a photo, scan, logo or screenshot: black becomes white, blue becomes orange, and a picture turns into its negative. Besides the full negative you can flip only the lightness (dark becomes light but the hues stay), make a black and white negative, or invert a single red, green or blue channel. Drop in one image or a batch; everything runs in your browser, with no upload, sign-up or watermark.
How to invert an image
- Add images with
Add filesor by dragging them onto the page: PNG, JPG, WebP, GIF, BMP or AVIF.Exampleloads a test landscape with see-through rounded corners. Each image is inverted as soon as it arrives. - Pick what to invert.
All colours (negative)is the classic photo negative.Lightness only (keep hues)turns a white page with red text into a dark page with red text.Black and white negativedrops the colour first. The channel choices invert only red, green or blue. - Pick the format under
Save as:Same as the originalkeeps PNG as PNG, JPG as JPG and WebP as WebP (GIF, BMP and AVIF become PNG), or choose PNG, JPG or WebP for all. ThenDownloadeach image, orDownload allforinverted-images.zip. Changing an option redoes the batch.
Example
What each choice does to five colours (computed by the same code the page runs).
#ffffff
#000000
#ff0000
#2563eb
#fde68acolour All colours Lightness only Black and white negative Red channel only
#ffffff #000000 #000000 #000000 #00ffff
#000000 #ffffff #ffffff #ffffff #ff0000
#ff0000 #00ffff #ff0000 #b3b3b3 #000000
#2563eb #da9c14 #1452da #9f9f9f #da63eb
#fde68a #021975 #755e02 #1d1d1d #02e68aDetails
- A full negative replaces every red, green and blue value with 255 minus that value, which is exactly what an image editor's Invert command does. Inverting twice gives back the original pixels, so nothing is lost by the inversion itself.
- Lightness only keeps each colour's hue and saturation and flips how light it is: white and black swap, mid-tones stay about where they were, and a pure red, green or blue stays the same colour. It is the gentler choice for turning a light diagram, slide or screenshot into a dark one without the colours turning to their opposites.
- Black and white negative first turns each pixel into a grey of the same brightness (0.299 red + 0.587 green + 0.114 blue), then inverts it. Use it for scanned film negatives, X-ray style images and line drawings.
- Inverting one channel swaps that colour for its opposite and leaves the other two alone: inverting red turns a white background cyan. It is useful for colour channel tricks and for fixing an image whose channel was stored the wrong way round.
- Transparency is never inverted: see-through areas of a PNG or WebP stay see-through. JPG cannot hold transparency, so when you save a transparent image as JPG those areas are filled white and the row says so.
Limits
- Any number of images; up to 25 MB (MiB) and 40 megapixels each, as large a canvas as phone browsers handle reliably. Larger, empty or non-image files are skipped with the reason shown.
- Animated GIF, WebP and AVIF files give their first frame. HEIC photos are not read here: convert them to JPG first.
- The browser decodes and writes the pixels in 8-bit sRGB: colour profiles, Exif data and deeper 10 or 12-bit colour are not kept. JPG and WebP are saved at quality 92. Safari before version 17 cannot write WebP; such images are saved as PNG with a note.
- The list is not kept: download before you reload or leave the page.
FAQ
How do I invert the colours of an image?
Drop the image on this page with Invert set to All colours (negative) and press Download. Every colour is swapped for its opposite (white for black, blue for orange) in your browser, without uploading the file.
Is this image inverter free and private?
Yes. There is no sign-up, watermark or limit on the number of images, and it works on phones too (Safari on iPhone, Chrome on Android). The pictures are decoded and inverted on your own device and never sent to tomz.dev or anyone else.
Can I invert a photo negative to a positive?
Yes: a scan or phone photo of a film negative turns positive with All colours (negative), or with Black and white negative for black and white film. Colour film has an orange mask, so a colour scan may still need a colour or white balance correction in a photo editor afterwards.
Does inverting a PNG keep the transparent background?
Yes. Only the colours are inverted; the alpha channel is left as it was, so a logo on a transparent background stays on a transparent background. Save as PNG or WebP to keep it.
How do I make a dark version of a light image without changing its colours?
Choose Lightness only (keep hues). Light areas become dark and dark ones light, while reds stay red and blues stay blue, which a full negative would turn cyan and orange.
Runs entirely in your browser. Nothing is uploaded.