Photo ToolsInvert

Invert Photo

Turn a photo into its negative, or swap only light and dark and keep the colours. Nothing is uploaded.

  1. 1Choose photo
  2. 2Adjust
  3. 3Download

Upload a photo to get started

or drop a photo here

Or try a sample:

Your photo stays on your device. Nothing is uploaded.

Original Working...

Presets

Settings

Download options

Download

Format
90%
Smaller fileBetter quality
Output size: —File size: —

Invert the colours of a photo, or only its light and dark

This free tool inverts the colours of a photo as soon as you open it: white turns black, black turns white, and every colour turns into its opposite, so a blue sky becomes orange-brown. Turn on Keep the colors to swap only light and dark, which makes a light screenshot dark while blue links stay blue. It runs in your browser, the photo is never uploaded, and it saves at full size as JPG, PNG or WebP.

A plain invert is exact: each red, green and blue value, from 0 to 255, is replaced by 255 minus that value, so inverting twice gives back the original. Saved as PNG, the harbour photo below came back identical, pixel for pixel.

Settings
Full invert, or Keep the colors to invert brightness only
Saves as
JPG, PNG or WebP, at full size
Transparency
Kept when saved as PNG or WebP
Works on
Phones, tablets and computers
Privacy
Runs on your device; nothing is uploaded
Price
Free, no sign-up, no watermark

Examples

Colourful harbour houses before and after inverting the colours into a negativeBeforeAfter
A colour photo as a negativeEvery colour turns into its opposite: the blue sky becomes orange-brown, the teal house dusky red and the pink house dark teal. In the sky, red 94, green 147 and blue 227 became 161, 108 and 28: each value is 255 minus the old one.Keep the colors: off
Part of a screenshot of a web page before and after making it dark with Keep the colorsBeforeAfter
A light screenshot made darkWith Keep the colors on, the white page turns black and the text light grey, but the blue link and the heading bar stay blue (#2465B8 became #69AAFD) and the green ticks stay green. A plain invert turns the same blue light brown (#DB9A47) and the ticks pink. Shown at 100% and saved as PNG, so the text stays sharp.Keep the colors: on · PNG
A smiling woman at a railway station, before and after turning the photo into a black and white negativeBeforeAfter
A black and white negativeFor the look of a black and white film negative, make the photo black and white with Greyscale first, then invert it here. Dark hair turns white and the bright background dark. On a black and white photo, Keep the colors makes no difference: both settings gave exactly the same pixels.Greyscale: Neutral, Contrast 0, Intensity 100% · then Invert

How to invert a photo

  1. Choose a photo

    Tap Choose photo, use Take photo on a phone, drop a file onto the page or paste it. Or try one of the sample photos.

  2. Invert all colours, or only light and dark

    The photo turns into a negative as soon as it opens. To swap only light and dark, turn on Keep the colors (invert brightness only). Press and hold Hold to compare, or the photo itself, to see the original.

  3. Download

    Press Download. The same settings are applied to the full-size photo, and you can choose JPG, PNG or WebP in the download options.

How it works

A plain invert replaces each pixel's red, green and blue values, from 0 to 255, with 255 minus the value. White becomes black, black becomes white, and a middle grey of 128 becomes 127, almost the same. Each colour turns into its opposite on the colour wheel: red into cyan, green into magenta and blue into yellow.

Keep the colors inverts brightness instead. The tool works out how bright each pixel looks, with green counting for 72%, red for 21% and blue for 7% (the Rec. 709 weights used for HD video), mirrors that brightness and moves red, green and blue by the same amount, so the hue stays. A strong colour that would go past white or below black is made less saturated until it fits, which is why pure blue comes out almost white and yellow almost black. On greys, both settings give the same result.

Transparency is left as it is; a JPG, which cannot store it, gets white in those areas. The preview is worked out on a smaller copy, and the download applies the same setting to the full-size photo as a new file whose name ends in -invert, so your original is not changed.

What each colour turns into

ColourInvertKeep the colors
White #FFFFFFBlack #000000Black #000000
Black #000000White #FFFFFFWhite #FFFFFF
Middle grey #808080Grey #7F7F7FGrey #7F7F7F
Red #FF0000Cyan #00FFFFPale red #FFBABA
Green #00FF00Magenta #FF00FFDark green #006600
Blue #0000FFYellow #FFFF00Very pale blue #EBEBFF
Yellow #FFFF00Blue #0000FFAlmost black #141400
Link blue #2465B8Light brown #DB9A47Light blue #69AAFD

Which setting to use

ForKeep the colors
A negative effect on a colour photoOff
A black and white negativeOff, after Greyscale
A light screenshot, chart or web page made darkOn
Black text or a black logo on whiteEither: the result is the same

Invert, Greyscale or Colorize?

Use Invert to swap light and dark. Greyscale takes the colour out and keeps light and dark where they are. Colorize gives the whole photo one colour of your choice, and Saturation makes colours stronger or weaker without turning them into others. To mirror a photo left to right or top to bottom, which some people also call inverting, use Flip.

Frequently asked questions

What does inverting the colours of a photo do?
It turns the photo into its negative. Each red, green and blue value is replaced by 255 minus that value, so white becomes black, black becomes white, and each colour becomes its opposite: red turns cyan, green turns magenta and blue turns yellow.
What does Keep the colors do?
It swaps only light and dark. A white background turns black and black text turns white, but a blue link stays blue and a green tick stays green. Strong colours come out paler or darker, because a bright yellow turned almost black cannot stay vivid.
How do I make a screenshot or a chart dark?
Open it here and turn on Keep the colors (invert brightness only). The white background turns black and the text light, while coloured links, lines and bars keep their colour. Save it as PNG to keep the text sharp.
Can I undo an invert?
Your original is not changed: the download is a new file whose name ends in -invert. To turn an inverted picture back, invert it again. Saved as PNG, the harbour photo came back identical. A JPG copy, inverted twice and saved as JPG at quality 90 each time, differed from it by 1.5 levels out of 255 on average. Keep the colors is not exactly reversible: run twice on the harbour photo, about 9% of the pixels came back different.
Can I turn a film negative into a normal photo?
Yes, for black and white negatives: photograph or scan the negative with light behind it, open the picture here and download the positive. Colour negatives have an orange base, so a plain invert leaves a strong blue cast. This tool cannot remove it, but Greyscale afterwards gives a black and white picture without it.
Does it keep transparency?
Yes. Only the colours are inverted, so transparent and half-transparent areas keep their transparency in a PNG or WebP. JPG cannot store transparency, so there the picture is placed on a white background.
Is the photo saved at full size?
Yes. The preview is worked out on a smaller copy, and the download applies the same setting to the full-size photo. On an iPhone or iPad, photos larger than about 16.7 megapixels are first scaled down to the largest size Safari can draw.
Is it free and private?
Yes. There is no sign-up, no watermark and no limit, and the photo never leaves your device: your browser does all the work.

Last updated: