100% in-browser — zero uploads Batch + zip download, free Maintained 2026 · 0 uploads

INVERT PNG COLORS · FREE · NO UPLOAD

Invert PNG Colors

Drop an image and get its photographic negative instantly. Inversion flips each pixel to its complement (r,g,b → 255−r, 255−g, 255−b), alpha untouched. Batch supported — invert a whole folder and grab one zip.

Drop files here or

Processed locally in your browser — nothing is uploaded. Batch supported, zip download included.

0 uploads — verified locally 0 uploads

The 2026 state of Invert PNG Colors

Field2026 state
OperationPer-pixel RGB complement; alpha channel preserved
Works onPNG · JPG · WebP · GIF (first frame) · BMP
BatchMulti-file queue, zip download
Performance~12MP photo inverts in <300ms (typed-array loop)
Common usesDark-mode assets · negative scans · accessibility contrast experiments · glitch art
Not the same asHue rotation (HSL) or brightness inversion — this is pure channel complement
Lossless?Yes for PNG output; JPG output re-encodes (quality selectable)
CodeSee the 3-line core in the code example below

Code example

for (let i = 0; i < px.length; i += 4) {
  px[i] = 255 - px[i];       // R
  px[i+1] = 255 - px[i+1];   // G
  px[i+2] = 255 - px[i+2];   // B — alpha untouched
}

FAQ

What does inverting colors do exactly?

Each pixel's red, green and blue values are replaced by their complement (255 minus the value). The result is a photographic negative; transparency is preserved because the alpha channel is not touched.

How do I invert an image for dark mode?

Invert the artwork, then adjust brightness if needed. For UI icons, inverting a black icon on transparent background gives you a white icon that works on dark surfaces.

Why does my inverted JPG look worse than the PNG?

JPG is lossy — after inversion you're re-encoding. Export as PNG to stay lossless, or raise the JPG quality slider.

Can I invert multiple images at once?

Yes, drop a whole selection; each file is inverted in sequence and you can download all results as one zip.

Last updated: · Launch: per-pixel inversion, batch + zip · change history