Invert the colours of an image

Make a negative of a picture, or a positive from a scanned negative, on this device.

Turn a picture into its negative, or a scanned film negative back into a positive. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. The size limit is your device’s memory, and phones hold less; give the page a short while after one visit to save itself for offline use, and then it works offline.

Drop images to invertor click to choose files. Batches welcome.
    Working…

    Done

    Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.

    Inverting swaps every colour for its opposite: black becomes white, blue becomes orange, green becomes magenta. People use it to turn a dark-mode screenshot or diagram into one that prints on white paper, to make a line drawing on black into black on white, to get a striking negative look for a poster, and to look at old film negatives they have photographed on a light box.

    The page opens with Invert ticked, so the preview already shows the result. For a scanned colour negative, the positive will look blue-green at first, because film has an orange base; move Warmth to the right to take that cast out, and use Brightness and Contrast to finish. Black and white negatives come out right straight away.

    Transparency is kept for PNG and WebP, so an inverted logo still sits on whatever background you place it on.

    How it works

    1. Drop the images.
    2. Invert is already on; tune Warmth, Brightness or Contrast if needed.
    3. Press Apply.

    In your browser, not on a server

    Your browser decodes each photo (libheif or the Squoosh decoders step in for HEIC, AVIF and JPEG XL) and draws it on a canvas in your tab. Brightness is a gamma curve and contrast an S-shaped stretch around middle grey, both applied through a 256-entry lookup table per channel; warmth shifts red against blue, saturation mixes each pixel with its own Rec. 709 brightness, and sharpening is an unsharp mask: the picture plus a share of its difference from a blurred copy. The browser then saves the canvas as JPG, PNG or WebP.

    Compared with upload-based tools: Online photo editors upload the picture for a slider move a phone could do offline, and many add a watermark or keep the upload. Here the photos stay on your device, a whole batch gets the same settings in one go, and the result is compressed only once.

    Verify it yourself. Give the page a short while after one visit to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.

    Questions

    How do I print a dark-mode screenshot on white?

    Invert it here. Coloured highlights change hue (a blue link turns orange), so if colour matters, lower Saturation to 0 as well for a clean black-on-white page.

    Why is my inverted film negative blue?

    Colour negative film has an orange base layer, which inverts to blue. Move Warmth right and Saturation slightly down until neutral areas, such as a white wall or a grey road, look neutral again.

    Does inverting twice give me the original back?

    Yes, exactly, as long as no other slider was moved: each value is mapped to 255 minus itself, and doing that twice returns it. Save as PNG in between if you want it to be lossless.

    Is the file uploaded anywhere?

    No. There is no server in this process. The page is a static file and the work is done by code running inside your browser tab. Give the page a short while after one visit to save itself for offline use; then you can turn off Wi-Fi and it still works.

    More image tools

    Other conversions

    Guides