Image inverter (negative)
Invert every RGB channel of an image (255 − value) with alpha preserved by default; preview locally and export PNG/JPEG without uploading anything.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Images are processed locally in your browser with Canvas and never uploaded.
Pick an image first (PNG / JPEG / WebP / GIF all work).
Result details
Pick an image — the inverted size, pixel count and file size show up here.
What this tool does
- Turn scans, film negatives or old photos into an inverted (negative) look for comparison or design work.
- Sanity-check an image pipeline: inverting twice must return the original, so it exposes any accidental mutation of pixel data.
- Build light-on-dark icons: invert a light-background icon first, then tweak opacity with other tools.
- Rehearse before batch work: upload one image to confirm the effect and alpha behaviour before committing to a whole folder.
Example
Input
A 2×2 RGBA image of [10,200,30,255], [255,0,0,128], [7,7,7,255] and [200,100,50,0]
Output
[245,55,225,255], [0,255,255,128], [248,248,248,255], [55,155,205,0]
Straight from invertPixels: every channel is computed as 255 − value with alpha kept as-is (setting preserveAlpha: false forces 255). Inverting twice returns the exact original values.
Frequently asked questions
How is this different from a black-and-white threshold?
Inverting only flips each channel, so colour relationships survive (red becomes cyan, green magenta, blue yellow) and the image stays colourful. A threshold collapses each pixel to pure black or white.
What happens to transparent pixels?
Alpha is untouched by default — only RGB is inverted, so a fully transparent pixel stays transparent while its hidden colour value changes. Uncheck "preserve source alpha" to force a fully opaque result.
Why is the JPEG background black?
JPEG has no alpha channel, so semi-transparent pixels need a backdrop. An inverted image is generally dark, so black is used here; choose PNG when you need transparency.
How large an image can I use?
Up to 16,000,000 pixels per image (roughly 4900 × 3200). Larger images report an error instead of silently downscaling, so you never get a result that only looks successful.
Are my images uploaded?
No. The file is read into memory with createImageBitmap and the pixels are processed entirely in the browser before export; there is no upload endpoint on the page.
Keywords:photo negativeinvert imagenegative imageinvert colorsnegative photo