Image Compressor
Drag the quality slider and watch the JPEG size drop.
Convert an image to true black and white (two colours, no gray) with an adjustable threshold. It 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, with only two values and 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 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 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. Those two values make this true black and white; grayscale keeps 256 shades.
Your browser processes the image and never uploads it. No server is involved.
The canvas re-encode strips all EXIF and GPS metadata, so the black-and-white PNG carries no camera or location tags.
You don't need an account and the site keeps no copy, so everything is gone once you close the tab.
| Method | Luma threshold (binarisation) |
|---|---|
| Threshold | Adjustable, default 128 of 255 |
| Output format | PNG (lossless) |
| Values | Two: black and white |
| Dimensions | Unchanged |
| Metadata | EXIF/GPS stripped |
| Processing | 100% in-browser |
This is real black and white with 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: one value applies 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.
Drag the quality slider and watch the JPEG size drop.
Set exact pixel dimensions with the aspect ratio locked.
Drag a box and keep only that part of the picture.
Make 16, 32 and 180 pixel favicon PNGs from one image.
Put JPGs or PNGs into one PDF, one image per page.
Shrink a PNG to WebP and keep the transparency.
Your image stays on this device. There's no account and no charge.