Image to ASCII Art Converter
Convert a photo or logo into ASCII art, in mono or colour.
Or drag an image here, or paste one with Ctrl+V / ⌘V.
Choose an image, or try the sample, to see it as ASCII art.
About this tool
Turn a photo, logo or drawing into ASCII art: a picture made only of text characters. Choose how many characters wide it should be, pick a character set, adjust brightness and contrast, and copy the result as plain text or download it as a .txt file, a PNG image, or an HTML page with coloured characters. The image is processed in your browser and is never uploaded.
How it works. The image is scaled down so that each character in the output stands for one small block of pixels. Each block's brightness is measured and matched to a character from a "ramp" ordered from light to dense: a space or a dot for bright areas, # or @ for dark ones. Monospace characters are about twice as tall as they are wide, so the tool samples half as many rows as columns. Without that correction the picture would come out stretched to twice its height.
Width is resolution. More characters across means more detail and a bigger block of text. A logo or icon is often recognisable at 40–60 characters; a face or a detailed photo usually needs 100–200. Pick the width for where the art will end up: a terminal is typically 80 or 120 columns wide, and a code comment should stay narrower still.
Character sets.
- Standard uses ten characters (
.:-=+*#%@). It's clean, reads well at any size and works everywhere. - Detailed uses a 70-character ramp for finer shading in photos, at the cost of a busier look.
- Blocks uses the shade characters
░▒▓█for a solid, pixel-art look. They need a font that includes them, which most terminals and code editors have. - Simple (
.oO@) and Binary (0and1) are stylised options for logos and "matrix" effects. - Custom takes any characters you type, ordered from lightest to darkest.
Light or dark background. On a white page, dark parts of the image need the dense characters. In a terminal or a dark-mode editor it's the opposite: the text is light, so bright parts of the image need the dense characters. Set "Shown on" to where you'll display the art and the preview, PNG and HTML downloads use that background. "Invert" flips the mapping on top of that, for a photographic-negative look.
Getting a good result. ASCII art has only as many shades as there are characters, so contrast matters more than detail. Crop tight to the subject before you upload, raise the contrast slider until the subject separates clearly from the background, and use the brightness slider if the whole picture is too dense or too empty. Dithering spreads the rounding error of each character to its neighbours (Floyd–Steinberg error diffusion). That turns smooth gradients such as skies and skin into a fine texture instead of flat bands. Line art and logos usually look cleaner with it switched off.
Coloured characters. In colour mode each character takes the colour of the part of the image it represents, which keeps photos recognisable even at small sizes. Colour can't survive as plain text, so copy it via the HTML download, or use the PNG. Copied text is always plain characters.
Want big letters made from text instead of a picture? The ASCII art text generator draws words as banners in 29 FIGlet fonts.
Frequently asked questions
- Is my image uploaded anywhere?
- No. The image is drawn onto a canvas in your browser and converted there. Nothing is sent to a server, so private photos stay on your device.
- Why does my ASCII art look stretched or squashed when I paste it?
- ASCII art only lines up in a monospace font, where every character is the same width. Proportional fonts (chat messages, word processors, social posts) break it. Paste it into a code block, a terminal or a code editor. If the proportions still look off, the font's line spacing is unusually tall or short; the tool assumes characters about twice as tall as they are wide, which matches most monospace fonts.
- What width should I use?
- It depends on where the art goes. For a terminal or a README, stay at or under 80–120 characters. For a picture you'll save as PNG or HTML, go wider (150–240) for more detail.
- My result looks like a negative. How do I fix it?
- Set "Shown on" to match where you're viewing it (light page or dark terminal). If it still looks inverted, for example because the source image is light-on-dark, tick Invert.
- What does dithering do?
- Each character can only show a few shades, so smooth gradients turn into visible bands. Dithering passes each character's rounding error on to its neighbours, so on average the shading comes out right. It suits photos; for logos and line art it usually adds noise.
- Can I keep the colours?
- Yes. Choose "Coloured characters", then download the HTML page or the PNG. Plain text can't carry colour, so "Copy text" and the .txt download are always monochrome.
- Which image formats work?
- Any format your browser can open, which covers JPG, PNG, GIF (first frame), WebP, BMP and SVG, plus AVIF in current browsers. Transparent areas are treated as the background you choose.