Image Compressor
Image Compressor online, free and private. Process images instantly on your device.
Convert an image to true black and white — only two colours, no gray — with an adjustable threshold. Downloads as a lossless PNG.
Your browser is preparing the tool. It runs 100% locally.
Drop in an image and every pixel is forced to pure black or pure white — only two values, no shades of gray. The tool measures each pixel's brightness and compares it to a threshold (default 128 of 255): brighter becomes white, darker becomes black. Slide the threshold to control how much turns black. The result is a lossless PNG, made entirely in your browser.
This makes a true black-and-white image — a process called thresholding or binarisation. Unlike grayscale, which keeps 256 shades, this keeps exactly two: black and white. The effect is high-contrast and graphic.
A threshold slider decides the cut-off. Each pixel's brightness is measured, and anything at or above the threshold turns white while anything below turns black. Lower the threshold to keep more white; raise it to push more to black.
Drop or pick an image. It is drawn onto a canvas in your browser.
Each pixel's brightness is computed with the luma formula (0.299 red, 0.587 green, 0.114 blue), then compared to the threshold. At or above, the pixel becomes white; below, it becomes black.
Drag the threshold slider to taste, then download. The output is a lossless PNG, and the canvas re-encode strips EXIF and GPS metadata.
Luma = 0.299 × R + 0.587 × G + 0.114 × B
Pixel = white if Luma ≥ threshold, else blackAt the default threshold of 128: a pixel with luma 162 is at or above 128, so it turns white; a pixel with luma 90 turns black.Every pixel ends as pure black or pure white — only two values. That is what makes this true black and white rather than grayscale, which keeps 256 shades.
Your image is processed entirely in your browser and never uploaded — there is no server.
The canvas re-encode strips all EXIF and GPS metadata, so the black-and-white PNG carries no camera or location tags.
No account, no stored copy; everything is gone when you close the tab.
| Method | Luma threshold (binarisation) |
|---|---|
| Threshold | Adjustable, default 128 of 255 |
| Output format | PNG (lossless) |
| Values | Two only — black and white |
| Dimensions | Unchanged |
| Metadata | EXIF/GPS stripped |
| Processing | 100% in-browser |
This is real black and white — exactly two values — not grayscale. If you want shades of gray with detail preserved, use the grayscale converter instead.
The result depends heavily on the threshold. A single fixed cut-off suits high-contrast art and clean scans, but a photo with uneven lighting may lose detail in shadows or highlights; adjust the slider to balance it.
The threshold is global — the same value is applied across the whole image. It does not adapt region by region, so very uneven lighting can give patchy results.
The output is a lossless PNG at the original dimensions. Because there are only two colours, this kind of image compresses extremely well.
Turn a scanned document or sketch into crisp black ink on white paper.
Reduce an image to a bold two-tone graphic for stencils, logos or cutting machines.
Create a striking, posterised black-and-white look for design work.
Preview how artwork will reproduce as pure black on white.
For shades of gray with detail, use the grayscale converter; to flip colours to their opposite rather than threshold them, use the colour inverter.
This is real black and white, not grayscale: each pixel's luminance is compared against a threshold (default 128) and forced to pure black or pure white. The threshold is adjustable, the output is a lossless PNG, and it all runs in your browser.
Image Compressor online, free and private. Process images instantly on your device.
Edit and convert Image Resizer right in your browser — no upload, no quality loss.
Edit and convert Image Cropper right in your browser — no upload, no quality loss.
Favicon Generator online, free and private. Process images instantly on your device.
Use Image to PDF to transform images locally — fast, secure and watermark-free.
Edit and convert PNG to WebP Converter right in your browser — no upload, no quality loss.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.