Map Extract
Free tool

Convert an image to black and white

Make every pixel either black or white, unlike greyscale, which keeps the shades. Choose an automatic cut-off, set your own, use the adaptive mode that copes with shadows on scanned pages, or dither a photo so its tones survive as dots.

Runs in your browser. Nothing you enter is uploaded.

Converting an image

  1. Choose the image

    A JPG, PNG, WebP or GIF. Phone photos are turned upright first using their orientation tag, and every frame of an animated GIF is converted.

  2. Pick a method

    Automatic threshold finds the cut-off from the picture. Fixed threshold lets you set the level from 0 to 255, with a button to start from the automatic value. Adaptive (documents) compares each pixel with its neighbours.

  3. Or dither a photo

    Floyd-Steinberg, Atkinson and Ordered (Bayer) turn shades into dot patterns. Swap black and white inverts the result.

  4. Compare and download

    Before and after previews sit side by side. Download in the original format, or save as PNG, JPG or WebP instead.

Example: what a threshold does to a shadowed scan

A ten-pixel test strip stands in for a line across a phone scan of a signed order form: three dark ink pixels, four bright paper pixels and three pixels of paper in the shadow of the phone, which are mid-grey.

The automatic threshold puts the cut at level 40, just above the ink, so the shadowed paper turns white with the rest and 30% of the strip is black. On a real scan, a single cut can fail when a shadow is as dark as the writing; that is the job of the adaptive mode, which judges each area against its own surroundings.

Input
Grey values: 30, 35, 40, 190, 200, 210, 205, 140, 150, 145
Method: Automatic threshold
Result
Cut at level 40, 30% of the picture is black
Result: 0, 0, 0, 255, 255, 255, 255, 255, 255, 255

Choosing a method

MethodBest for
Automatic thresholdLogos, line art and evenly lit scans
Fixed thresholdFine-tuning when automatic is slightly too heavy or too light
Adaptive (documents)Phone photos of paperwork with shadows or uneven light; raise the detail radius for thick text
Floyd-Steinberg ditherPhotos that must keep their tones, such as a portrait for a one-colour print
Atkinson ditherA crisper, high-contrast retro look
Ordered (Bayer) ditherA regular cross-hatch for screen printing or pixel-art effects

Questions people ask

How do I make a photo pure black and white?

Choose the photo, leave the method on Automatic threshold and download the result. Every pixel darker than the cut-off becomes black and the rest white. If it looks too dark or too light, switch to Fixed threshold and move the level, or try a dither for photos with faces.

What threshold should I use for a scanned document?

Start with Adaptive (documents), which handles shadows and uneven lighting better than any single level. If the text looks broken, increase the detail radius; if specks appear in blank areas, a fixed threshold a little below the automatic value often cleans them up.

Which file format should I save in?

PNG for anything with sharp edges, such as scans, logos and line art, because it stores black and white exactly. JPG adds faint grey speckles around edges and should be avoided here. If the original had transparency and you save as JPG, see-through areas are placed on white.

Where your data goes

Conversion happens on a canvas in your browser and the picture is never uploaded. Signed forms and receipts stay on your device.

Checked against the tool on

Top