How would your photo or text look as ASCII art?
Turn a photo or a few words into ASCII art you can copy, with several character sets and your own.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
ASCII art workspace
The picture, 200 × 100 pixels
Drag to move it, drag a corner to resize it. Arrow keys move it, Alt + arrow keys resize it; with Shift in larger steps.
200 × 100 pixels, 0 from the left, 0 from the top
Paste it in a monospaced font (a code block, a terminal or a text editor), or the lines will not line up. Use a wide, small font for wide art.
The picture is turned into text on your device and is never uploaded.
Drag the box or its corners on the picture.
Turn a photo or a few words into ASCII art you can copy, with several character sets and your own.
How to use
- Choose a picture, or look at the sample first, or switch to text and type a few words. Nothing is uploaded.
- Set how many characters wide the art should be. Open the extra settings to choose a character set, type your own characters, change the contrast or swap light and dark.
- Press Copy and paste the art into a message, a code block, a terminal or a text file that uses a monospaced font.
How it works
ASCII art draws a picture with letters and symbols. The picture is cut into a grid with one block for each character, and the brightness of each block decides the character: a dense symbol such as @ for a dark block, a dot or a space for a light one. From a distance, the density of the characters looks like the shades of the picture.
A character is about twice as tall as it is wide, so the grid has half as many rows as a square grid would: rows = columns × height ÷ width × 0.5. A 200 × 100 pixel picture at 80 columns gives 80 × 40 characters. Brightness is the weighted sum 0.2126 R + 0.7152 G + 0.0722 B of the block's colour, and contrast stretches it around mid-grey before the character is picked from the set, from lightest to darkest.
The standard set has ten characters; the detailed set has seventy and gives smoother shades. Shade blocks look good where the font has them. Text banners use big, bold letters, so short words work best. The art only lines up in a monospaced font.
Worked example
How many rows does 80-character-wide ASCII art of a 2:1 picture have?
- A character cell is about twice as tall as wide, so rows = columns × height ÷ width × 0.5.
- 80 × 1 ÷ 2 × 0.5 = 20 rows.
The art is 80 × 20 characters, 1,600 in all.
Sources
- Paul Bourke: Character representation of grey scale imagesUsed for: reference data
Frequently asked questions
Is my photo uploaded?
No. The text is made in your browser and the photo never leaves your device.
Why does my pasted art look crooked?
The font is not monospaced, so letters have different widths. Paste it in a code block, a terminal or a text editor with a monospaced font.
Which character set is best?
The standard set is clean and works everywhere. The detailed set shows more shades but needs more columns. Shade blocks look smooth in fonts that have them. A custom set lets you use your own letters.
What does Light text on dark do?
It swaps the mapping so the lightest parts of the picture get the most ink. Use it when you paste the art on a dark background, such as a terminal with light text.
How wide should the art be?
60 to 100 characters fits most screens and messages. Wide art, 150 or more, shows detail but needs a small font or a wide window.
Can I make a text banner?
Yes. Switch to Some text and type up to 12 characters. The text is drawn as large letters and turned into ASCII art; wider art makes the letters smoother.





