Invert Image Colors Online

Turn any picture into its exact negative: every colour channel is inverted pixel by pixel, transparency stays untouched. Runs in your browser — your image never uploads.

Drop an image

Invert Image Colors — Free, Fast & Private

Inverting an image replaces every colour with its opposite: each red, green, and blue value v becomes 255 − v, so black becomes white, deep blue becomes warm yellow, and a photograph becomes its negative. This tool applies that operation literally — a per-pixel loop over the actual channel values, at the image's full native resolution, with the alpha channel left exactly as it was. Transparent stays transparent, opaque stays opaque, and only the colours reverse.

That implementation detail is worth a sentence, because there is a shortcut this tool deliberately avoids: the CSS-style invert(1) filter. The filter route runs through the browser's colour pipeline, where some engines apply the inversion in a colour-managed space — meaning the same input file can produce different output bytes in different browsers. The arithmetic loop used here is exact and identical everywhere: same file in, same bytes out, on any machine. For a one-off visual effect the difference is invisible; for asset pipelines and before/after comparisons, determinism is the point.

Scanned film negatives: what inversion does and doesn't fix

The classic reason to invert: you scanned or photographed an old film negative and want the positive back. For black-and-white film, inversion is the whole job — the negative stores reversed tones and 255 − v reverses them straight back; expect a usable positive immediately, with at most a contrast touch-up elsewhere. (If the scan of a black-and-white negative picked up a colour tint from the scanner lamp, convert it to grayscale first, then invert — the positive comes out neutral.) Colour negatives deserve an honest caveat: C-41 colour film carries a built-in orange mask, so a plain inversion yields a positive with a strong blue-cyan cast. That is not a defect of the tool — it is what a mathematically exact inversion of an orange-tinted original produces. The inverted image is still the correct starting point, but expect to follow up with white-balance correction in a photo editor to neutralise the cast. For slides (positive film), no inversion is needed at all.

Dark-mode assets and accessibility

Inversion is the quickest first draft of a dark-mode variant: a black-on-transparent icon becomes white-on-transparent in one step, a light diagram becomes a dark one, and because alpha is untouched, transparent backgrounds survive the trip — no halo, no filled-in background. Simple line art, logos, sketches, and technical diagrams usually invert cleanly. Full-colour illustrations are less predictable, since every hue flips to its complement, so treat the result as a starting point rather than a shipped asset. The same operation serves accessibility experiments: high-contrast reading of dense diagrams, checking how content behaves under a system-level "smart invert", or producing a light-on-dark version of scanned text for readers who find it easier on the eyes.

The X-ray look, and other places negatives turn up

Inverted imagery has a visual grammar of its own: the radiograph look — pale structures on dark ground — that designers borrow for posters, album art, and Halloween-adjacent graphics; the eerie inverted portrait; inverted screenshots of hand-drawn whiteboard photos, where chalk-on-black suddenly reads better than marker-on-glare. Engravers and stencil makers invert artwork because their medium cuts light from dark. None of these require anything beyond what this page does: one exact inversion, then export. To be clear about scope, inverting a photo produces the style of an X-ray, not diagnostic imagery — and if what you want is reversed geometry rather than reversed colours, that is a different tool: flip the image instead.

Invert twice, get the original — and where the bytes go

A property worth knowing: inversion is its own inverse. 255 − (255 − v) is v, so inverting twice restores every pixel exactly — before encoding. The "before encoding" matters: the round trip is mathematically lossless while the pixels are in memory, and stays lossless end-to-end if you export as PNG. Export as JPEG and the usual lossy encoding applies on save — fine for photos, but it means a JPEG inverted, saved, re-uploaded, and inverted again is one generation older, not identical. If you are experimenting back and forth, work in PNG until the final save. As with every MiniPx tool, all of it — decode, the pixel loop, re-encode — happens in your browser through the Canvas API; the image never uploads, and the tool keeps working with your connection switched off. Old family negatives and private scans stay on your device.

How it works

  1. Drop in your image: Drag a photo, scan, or graphic into the tool — JPEG, PNG, WebP, or any browser-readable format. It is decoded locally; nothing uploads.
  2. Preview the negative: The inversion is applied immediately: every channel value v becomes 255 − v, with transparency preserved. What you see is the exact result.
  3. Pick an output format: PNG for a lossless save (and for anything with transparency), or JPEG/WebP with a quality slider for smaller photographic files.
  4. Download: Export at full native resolution. Invert the result again and you get your original back, pixel for pixel, before any lossy encoding.

Frequently asked questions

Will inverting turn my scanned film negative into a normal photo?
For black-and-white negatives, yes — inversion reverses the stored tones and gives a usable positive directly. Colour (C-41) negatives carry an orange mask, so an exact inversion leaves a blue-cyan cast; the result is the correct starting point but needs white-balance correction in an editor afterwards.
Does inverting lose image quality?
The inversion itself is exact — a per-channel arithmetic operation at full resolution, no resampling and no rounding error. Whether the saved file is identical in quality depends on the export format: PNG is lossless, while JPEG and WebP re-encode with the quality you set.
What happens to transparency?
Nothing — the alpha channel is deliberately untouched. A logo on a transparent background comes back as the inverted logo on the same transparent background, with no halo and nothing filled in. Only the red, green, and blue channels are inverted.
How is this different from my phone or browser’s invert filter?
Display filters (CSS invert, smart invert) change how an image is shown, not the file itself, and some engines apply them in a colour-managed space, so results differ across browsers. This tool inverts the stored pixel values — 255 minus each channel — producing the same output bytes everywhere and an actual file you can save.
If I invert an image twice, do I get the original back?
Yes — inversion is its own inverse, so two passes restore every pixel exactly while the image is in memory. To keep the round trip lossless through saves, export as PNG; saving as JPEG applies lossy compression each time, which is the encoder’s doing, not the inversion’s.
Can I use this to make a dark-mode version of an icon or diagram?
It is the fastest first draft: black line art on transparency becomes white-on-transparency in one step, with the background preserved. Simple graphics invert cleanly; full-colour artwork flips every hue to its complement, so review the result before shipping it.
Is my image uploaded?
No. The decode, the inversion loop, and the re-encode all run in your browser via the Canvas API — the page even works offline once loaded. Family negatives, documents, and private scans never leave your device.

All Image Tools

Solutions by use case