Image content clear
Fill a whole image or a rectangular region with a solid colour or full transparency, optionally keeping the original alpha, then export PNG/JPEG.
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.
Use #rrggbb or #rgb; ignored when "fully transparent" is checked.
Pick an image first (PNG / JPEG / WebP / GIF all work).
Result details
Pick an image and the cleared preview shows up immediately.
What this tool does
- Make a placeholder: clear any screenshot into a solid backdrop with exactly the same dimensions, so swapping in the real asset never stretches the layout.
- Produce a transparent PNG: check "fully transparent" to zero the alpha of the whole image and use it as a mask or overlay base.
- Erase a local area: enable "clear a region only", enter the coordinates and fill in the watermark or sensitive area.
- Recolour while keeping alpha: enable "keep original alpha" so transparent areas stay transparent — handy for flat single-colour treatments.
Example
Input
A 4 × 2 image, fill #ff0000, no region
Output
Fill #ff0000 Cleared pixels 8 / 8
This is the real output of the pure pixel logic: all 8 pixels get RGB (255, 0, 0) and alpha 255. Enabling "clear a region only" with x=1,y=1,w=2,h=1 instead clears just 2 pixels and leaves the rest untouched.
Frequently asked questions
Can I undo a clear?
No. The tool only builds a new pixel buffer in browser memory and never modifies the original file; if the result is wrong, pick the source image again.
What does "keep original alpha" do?
It replaces only the RGB channels and keeps the source alpha. A semi-transparent area stays semi-transparent, just with the new colour.
Why do transparent areas turn white in a JPEG export?
JPEG has no alpha channel, so the browser composites transparent pixels onto white. Export PNG to keep transparency.
How are the region coordinates interpreted?
The origin is the top-left corner: x/y is the region start and width/height its size, all in source pixels. The region must fit inside the image or an error is reported.
Are my images uploaded?
No. Decoding, filling and encoding all happen in browser memory; there is no upload endpoint, so it works offline.
Keywords:clear image