How to use the Image to ASCII Art Converter
- Drop an image onto the box or click it to choose a JPG, PNG, WebP, GIF or BMP. A demo picture is shown until you do.
- Set the width in characters. Around 80–120 works for chat and code comments, and 200 or more for detailed prints.
- Pick a character set (standard, blocks, detailed or your own) and adjust brightness and contrast until the shapes read clearly.
- Tick Invert for light-on-dark terminals, or Colour output for coloured characters.
- Click Copy text, or download it as .txt, colour .html or a PNG image.
How images become ASCII art
ASCII art draws a picture with text characters. A character like @ covers much of its cell with ink and reads as dark, while . covers almost none and reads as light. Put the right character in each cell of a grid and, from a distance, the eye sees the original image. This converter does that automatically in your browser, and your photo is never uploaded.
The image is first scaled down so that each output character represents one block of pixels, averaging the colours inside it. Brightness is a constant added to every channel. Contrast uses the standard factor F = 259 (C + 255) / (255 (259 − C)), which stretches values away from mid-grey. Each block's luminance is computed with the Rec. 709 luma weights, because the eye is far more sensitive to green than to blue. The result picks a character from the ramp: dense characters for dark areas and sparse ones for light areas, or the reverse when Invert is on.
Why the aspect-ratio correction matters
A character cell is not square. In most monospace fonts a character is about 0.6 em wide, and a line is about 1.2 em tall, so each cell is roughly half as wide as it is tall. If the converter used one row of text per row of pixel blocks, the picture would come out stretched to about twice its height. To compensate, the number of rows is scaled by the cell's width-to-height ratio:
Worked example: a 1200 × 800 photo at 100 characters wide gives 100 × (800 ÷ 1200) × 0.5 ≈ 33 rows. Each character then stands for a 12 × 24 pixel block of the original. If circles look squashed or stretched in your editor, terminal or font, adjust the aspect slider: higher values give more rows (taller), lower values give fewer. The on-page preview, the HTML file and the PNG use matching line heights, so they keep the image's true proportions.
Choosing a character set
| Set | Characters | Best for |
|---|---|---|
| Standard ramp | @%#*+=-:. (10 levels) | Classic look, works in any font, readable at small widths |
| Blocks | █▓▒░ + space (5 levels) | Bold, high-contrast logos and pixel-art style images |
| Detailed | 70 characters from $@B%8&WM# to . | Photos and faces at large widths, where fine tonal steps show |
| Custom | Your own, densest first | Themed art, such as only 01 for a "binary" look |
Block characters are Unicode, not ASCII. They render in most modern fonts, terminals and chat apps, but plain-ASCII environments such as some old email clients or embedded displays may show them incorrectly. Choose the standard ramp when strict ASCII matters.
Tips for better ASCII art
- Start with a simple, high-contrast image. Logos, silhouettes and portraits against a plain background convert far better than busy landscapes.
- Raise the contrast (+20 to +50) for photos, which are often too grey to give distinct characters.
- Match the background. Dark-mode editors and most terminals show light text on dark, so turn on Invert, or the image will look like a negative.
- Mind the width where you paste it. Code comments and READMEs usually display about 80 to 120 columns before wrapping, and lines that wrap destroy the picture.
- Paste into a monospace context. In proportional fonts the columns drift. Use a code block (three backticks) in Markdown, Slack, Discord or GitHub.
Text, colour HTML or PNG?
Text (.txt or copy) is the most portable: it fits in source code, terminals, emails and chat. Colour output keeps the averaged colour of each block and writes the characters as coloured HTML spans on a dark background. Download it as a standalone .html page, since plain text cannot hold colour. PNG renders the characters into an image at double resolution, ready for social posts or slides where the font is not under your control.
Want to go the other way and pull real text out of a picture? Use Image to Text (OCR). To decorate text instead, try the fancy text generator.
Frequently asked questions
How do I convert a picture to ASCII art?
Why does my ASCII art look stretched or squashed?
What width should I use?
Why does my ASCII art look like a negative?
Can I make coloured ASCII art?
Are the block characters (░▒▓█) real ASCII?
Is my image uploaded?
Last reviewed November 2026. Results are estimates for information only — see our disclaimer.