UtilityKit

500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.

Image Threshold (B/W)

Convert any image to pure black-and-white using a luminance threshold slider.

About Image Threshold (B/W)

The Image Threshold tool converts any photo into pure black-and-white pixels using a single brightness cutoff. Every pixel above the threshold becomes white; every pixel below becomes black. There are no grays — the output is a strict 1-bit image perfect for line-art tracing, sketch reference, laser-cut prep, or stylized print layout. Use the manual slider to dial in the exact balance between detail and contrast, or click Auto to apply an Otsu-style algorithm that scans the image's histogram and picks the optimal threshold automatically. The Invert button flips black and white in one click. All pixel operations happen in your browser; nothing uploads.

Why use Image Threshold (B/W)

Strict 1-bit black-and-white output

Strict 1-bit black-and-white output — no grays, perfect for tracing and laser-cut prep.

Manual threshold slider gives

Manual threshold slider gives full control over the cutoff point.

Auto Otsu algorithm picks

Auto Otsu algorithm picks the optimal threshold automatically from the image histogram.

Invert button flips polarity

Invert button flips polarity instantly without re-uploading.

PNG and JPG export

PNG and JPG export options cover both archival and share-ready use cases.

100% browser-based

100% browser-based — your image never leaves your device.

How to use Image Threshold (B/W)

  1. Upload your image with the file picker or drag-and-drop.
  2. Move the Threshold slider — pixels brighter than this value become white, darker pixels become black.
  3. Click Auto for an Otsu-style automatic threshold based on the image histogram.
  4. Click Invert to swap which side becomes black vs white.
  5. Preview updates instantly on the canvas as you adjust.
  6. Click Download PNG for lossless output or Download JPG for smaller files.

When to use Image Threshold (B/W)

  • When preparing an image for laser cutting or vinyl plotting that needs strict B/W input.
  • When creating a tracing reference from a photograph.
  • When making a high-contrast stylized illustration for a poster or T-shirt.
  • When binarizing a scanned document for OCR pre-processing.
  • When designing a screen-printable graphic with no halftones.
  • When testing how a logo reads at extreme contrast levels.

Examples

Portrait tracing reference

Input: A 1080x1080 portrait photo, threshold 130

Output: A 1080x1080 PNG with face contours and shadows in pure black on white, ready for tracing

Auto-threshold scanned page

Input: A 2480x3508 scanned document, click Auto

Output: A 2480x3508 PNG with text in solid black on white, pre-OCR ready

Inverted laser-cut design

Input: A 800x800 logo, threshold 140, invert ON

Output: A 800x800 PNG with white shapes on black background, ready for white-on-dark cutting

Tips

  • Click Auto first — Otsu's method gets you 80% of the way there for typical photos.
  • Use threshold 100-130 for portraits and 130-180 for outdoor or bright scenes.
  • Pair with the Image Pixelate tool for retro halftone-style B/W effects.
  • Save as PNG to keep crisp 1-bit edges — JPG slightly softens the boundary.
  • If you want grayscale instead of pure B/W, use the Grayscale Filter tool instead.

Frequently Asked Questions

What's the difference between threshold and grayscale?
Grayscale produces a continuous range of grays (0-255). Threshold produces only two values: pure black (0) and pure white (255). Threshold is binary; grayscale is continuous.
How does the Auto button choose the threshold?
It uses Otsu's method, which scans the image's brightness histogram and picks the threshold that best separates the two groups of pixels (typically background and subject).
Can I undo a threshold and try another?
Yes. Just move the slider or click Auto again — the original image data is preserved internally and re-thresholded from scratch each time.
Will the output have anti-aliasing?
No. The output is strictly binary, so edges are pixel-sharp without anti-aliasing — that's the point of thresholding.
Does my image upload to a server?
No. All threshold processing runs in your browser via the Canvas API.
What if my image is all dark or all bright?
Auto-threshold may give an extreme value if the histogram is unbalanced. Use the manual slider to fine-tune in such cases.
Can I export the output as SVG?
Not directly. For SVG output, run the resulting PNG through our Image-to-SVG Tracer tool, which converts binary images to vector paths.
Why is JPG export slightly soft?
JPG uses lossy DCT compression that slightly blurs hard edges. PNG preserves the strict B/W boundary perfectly.

Explore the category

Glossary

Threshold
A brightness cutoff value (0-255) above which pixels become white and below which they become black.
Otsu's method
An algorithm that picks the threshold maximizing inter-class variance between black and white pixel groups in the image's histogram.
Binarization
The process of reducing an image to two colors (black and white) — useful for OCR, tracing, and stencil prep.
Luminance
Perceived pixel brightness, computed here as 0.299R + 0.587G + 0.114B before applying the threshold.
Histogram
A count of how many pixels fall into each brightness bucket from 0 to 255 — used by Otsu's method to pick the optimal threshold.
Invert
Swapping black and white in the output — useful when the subject is dark on a light background and you want light-on-dark.