No Login Data Private Local Save

Image to Binary Text - Online 1‑Bit High Contrast

14
0
0
0
Drop image here or click to upload Supports PNG, JPG, GIF, WebP, BMP, SVG
Settings

Binary Text Output
-- rows × -- cols
Upload an image or click "Load Demo" to see the 1-bit binary text representation here.

Each character represents a block of pixels from your image, converted to pure black & white using the threshold value.

▸ Drag & drop an image above to get started.
Frequently Asked Questions

Image to Binary Text conversion transforms any image into a text-based representation where each character corresponds to a block of pixels. Using 1-bit high contrast processing, the tool applies a threshold to convert grayscale pixels into pure black or white, then maps them to characters like 0 and 1, or Unicode block characters ( and space). The result is a striking text-art version of your image that can be copied, shared, or used in creative projects.

The threshold (0–255) determines the cutoff between dark and light. Pixels with a grayscale value below the threshold become the dark character, while those above become the light character. A lower threshold (e.g., 60) produces mostly light output with only the darkest areas rendered; a higher threshold (e.g., 200) produces mostly dark output. Adjust it to fine-tune the contrast and detail level of your binary text image.

For the most photorealistic text-art, use the █ /   (full block + space) preset with a small font size (4–7px). The full block character (, U+2588) fills the entire character cell, creating a seamless pixel-like image. The 0 / 1 preset gives a literal binary-digit representation that's great for conceptual or educational use. The # / · preset creates a nice dithered newspaper effect. Experiment with different presets and font sizes to find your favorite style.

Monospace characters are typically about twice as tall as they are wide (a 2:1 height-to-width ratio). Without correction, a square image would appear vertically stretched in the text output. The Aspect Ratio Correction (enabled by default) compensates by sampling the source image at a 2:1 ratio, ensuring your output maintains proper proportions. If your output looks squished or stretched, try toggling this setting.

Absolutely! This tool is perfect for creating thermal printer art. Set your desired character width (typically 32–48 characters for standard 58mm thermal printers), choose the █ /   preset, and adjust the threshold for clean high-contrast output. Download the result as a .txt file and send it directly to your thermal printer. The 1-bit nature of the output matches perfectly with thermal printing capabilities.

Images with strong contrast and clear subject silhouettes produce the best results. Portraits with good lighting, logos, simple illustrations, and high-contrast photos all work great. Busy or low-contrast images may need careful threshold adjustment. For optimal results, try preprocessing your image by increasing contrast before uploading. The tool works with all common formats including PNG, JPG, GIF, WebP, BMP, and SVG.

Use the Copy button to copy all text to your clipboard with one click—perfect for pasting into documents, social media, or code editors. The Download button saves the output as a .txt file. For best results when sharing, use a monospace font (like Courier New or Consolas) to preserve the visual alignment.

No. All image processing happens entirely in your browser using JavaScript and the HTML Canvas API. Your image never leaves your device—no uploads, no server storage, complete privacy. This also means the tool works offline once the page is loaded.