Otsu Automatic Threshold
Choose a global black-and-white threshold automatically and inspect the applied value and white-area percentage.
Drop your image here
Drag and drop, or choose a file below
JPG · PNG · WEBP
Up to 250 MB · One image at a time
Each image: up to 16 megapixels and 8192 px per side
Works best when foreground and background form distinct brightness groups. Uneven lighting, photographs and faded text can defeat a single global threshold. At offset 0, uniform images become black before inversion; fully transparent images report zero. This does not recognize or restore text.
Original
Choose an image or try the sample to see your preview here.
100% local processing
How to use
- 01
Choose an image or try the local sample.
- 02
Begin with offset 0, inspect thin strokes and background spots, then adjust the offset or invert the result if needed.
- 03
Review the result and download the file.
Details and tips
How it works
Builds an alpha-weighted 256-bin sRGB-luma histogram. Otsu selects the threshold that maximizes between-class variance. The offset adjusts that value; pixels above it become white, the rest black. Alpha is preserved. White percentage is weighted by visible alpha, not canvas area.
Made for everyday images
Binarize evenly lit scans, create simple masks and inspect a reproducible starting threshold before OCR or shape analysis.
Frequently asked questions
Are images uploaded?
No. Processing, previews and downloads stay on your device.
What are the limits?
JPG, PNG and WebP, up to 250 MB, 8192 pixels per side and 16 million pixels. Expanded output must also fit these limits. Animation uses one still frame.