Image to ASCII converter
File stays on your deviceDrop a photo, or paste one, and turn it into ASCII art — or image into ASCII with a Unicode block ramp. You choose the width, the character set and whether to invert or keep colour. The work runs in this tab, so the file is never uploaded.
How to use it
- Drop a JPG, PNG, WebP, HEIC, AVIF, GIF, BMP or SVG, paste an image from the clipboard, or try one of the samples.
- Set the width in characters, pick a character set (standard, Unicode blocks, detailed or simple), and choose mono or colour. Turn on Invert if light areas should use the denser characters.
- Copy the plain text, download a .txt file, or download a PNG of the preview. Colour in the PNG and preview uses the average colour of each cell; the .txt file is the characters only.
Details
- How it is mapped
- Each character is the average of the pixels it covers. Brightness uses Rec. 709 luminance (0.2126 R + 0.7152 G + 0.0722 B). Transparent pixels are composited on white before that measurement
- Character aspect
- A typical monospace cell is about twice as tall as it is wide. The row count uses a 0.5 factor so a square photo does not come out stretched
- Block set
- The Blocks set is official Unicode: SPACE, LIGHT SHADE (U+2591), MEDIUM SHADE (U+2592), DARK SHADE (U+2593) and FULL BLOCK (U+2588)
- Limits
- Up to 20 MB, and a width of 8 to 200 characters. Very large photos are sampled at up to 1,200 pixels on the long side
Questions
Are my files uploaded?
No. The page loads its code once, then reads and processes your files inside the browser tab. Nothing is sent to a server; you can confirm it in your browser's network panel while a file is processed.
How is this different from image to text (OCR)?
Image to text reads letters that are already in the photo and types them out. This page does not read words. It maps brightness (and, if you want, colour) to a character ramp to make ASCII art.
What do Invert and Colour do?
By default, bright pixels use the densest character and dark pixels use a space, which fits the dark preview. Invert flips that ramp, which is useful on a light background or when a dark subject looks hollow. Colour tints each character in the preview and the PNG with the average colour of that cell. The .txt download is always plain characters, because a text file has no colour of its own.
Why does a face or logo look stretched or too fine?
Raise or lower the width. A small width is easier to paste into a terminal or a chat; a large width keeps more detail for a PNG. The row count already accounts for tall monospace characters.
Which character set should I use?
Standard (space through @) is a common 10-character ramp and pastes cleanly. Blocks uses official Unicode shade characters and often reads more clearly at a small width. Detailed is a long classic ramp. Simple is five characters, for a bolder look.
Is there an API?
No separate HTTP API, and no MCP tool for this page, because the work starts from an image in your tab rather than from text. The conversion itself is deterministic once the pixels, width, character set and invert flag are fixed.