# Image Binary Converter

Convert images to binary (black and white) with customizable threshold and options

> Canonical page: https://elysiatools.com/en/tools/image-binary

- **Category:** Design

- **Keywords:** image, binary, black, white, threshold, convert, monochrome, binarization

## Overview

The Image Binary Converter allows you to transform any color or grayscale image into a high-contrast monochrome format. By applying a specific threshold value, you can isolate shapes, simplify complex visuals, or prepare images for OCR and stencil printing.

## Inputs

- **Image File** (file): Select an image file...
- **Threshold Value (0-255)** (number): Pixels with value >= threshold become white, others become black
- **Invert Result** (checkbox): If checked, black and white colors will be inverted

## When to use

- Preparing images for optical character recognition (OCR) to improve text detection accuracy.
- Creating clean, high-contrast stencils or line art from detailed photographs.
- Reducing image file complexity for technical documentation or simplified graphic design assets.

## How it works

- Upload your source image file in JPEG, PNG, WebP, GIF, BMP, or TIFF format.
- Set a threshold value between 0 and 255 to define the cutoff point for black and white pixels.
- Toggle the invert option if you need to swap the resulting black and white areas.
- Process the image to generate and download your new binary file.

## Use cases

- Isolating text from scanned documents for better readability.
- Generating simplified silhouettes for logo or icon design.
- Creating high-contrast masks for image editing workflows.

## Frequently asked questions

### What does the threshold value do?

The threshold determines the brightness cutoff. Pixels with a value equal to or greater than the threshold become white, while those below it become black.

### Can I invert the colors of the output?

Yes, checking the 'Invert Result' box will swap the black and white pixels in your final image.

### What file formats are supported?

You can upload JPEG, PNG, WebP, GIF, BMP, and TIFF files.

### Is there a file size limit?

Yes, the maximum allowed file size for processing is 10 MB.

### Does this tool support batch processing?

No, this tool is designed to process one image file at a time.

## Related tools

- [Add Border to Image](https://elysiatools.com/en/tools/image-add-border): Add customizable borders to images with various styles, colors, and widths
- [Add Frame to Image](https://elysiatools.com/en/tools/image-add-frame): Add decorative frames to images with various styles like classic, modern, vintage, and custom designs
- [Add Glow Effect](https://elysiatools.com/en/tools/image-add-glow): Add beautiful glow effects to images with customizable color, intensity, size, and style variations
- [Image Gradient Overlay](https://elysiatools.com/en/tools/image-add-gradient): Add gradient overlay effects to images with customizable colors, directions, and blend modes
- [Add Noise Effect](https://elysiatools.com/en/tools/image-add-noise): Add various types of noise effects to images with customizable intensity and parameters
- [Add Pattern Effect](https://elysiatools.com/en/tools/image-add-pattern): Add geometric pattern overlays to images with customizable colors, size, and rotation
- [Add Reflection Effect](https://elysiatools.com/en/tools/image-add-reflection): Add water reflection effects to images with customizable height, blur, and transparency
- [Add Shadow Effect](https://elysiatools.com/en/tools/image-add-shadow): Add realistic shadow effects to images with customizable direction, blur, color, and intensity

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing TypeScript Samples](https://elysiatools.com/en/samples/web-image-processing-typescript): Web TypeScript image processing examples including image read/save, scaling, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

## Related content

- [Binary Image Thresholding, Morphology, and Mask Tools](https://elysiatools.com/en/hubs/binary-image-thresholding-and-morphology): Turn images into binary masks, compare threshold methods, repair foreground shapes, and combine masks with morphological and Boolean operations.
