About the Image to ASCII Art tool
ASCII art draws pictures using text characters, where dense characters such as @ and # stand for dark areas and light ones such as dots and spaces stand for bright areas. It started on early terminals and printers and is still used in code comments, README files, chat messages, terminal splash screens and retro designs.
This converter samples your image into a grid of cells, one per character, and picks a character for each cell based on its brightness. Because text characters are roughly twice as tall as they are wide, the grid uses half as many rows as a square sampling would, so the result keeps the image's proportions. You set the width in characters, choose a character set (a standard 10-step ramp, a detailed 70-character ramp, Unicode block shading, simple or binary) or type your own, and turn on auto contrast to use the full range of characters.
Invert for light text on dark backgrounds such as terminals. Switch on colour to give every character the colour of its cell. Copy the plain text, download a .txt file, a self-contained .html page with colours, or a PNG image. All conversion happens in your browser.
How to use Image to ASCII Art
- Drop an image onto the upload area. Photos with a clear subject work best.
- Set the "Width" in characters. Wider output shows more detail.
- Pick a "Character set", or choose "Custom…" and type characters from light to dark.
- Toggle "Invert (light text on dark)", "Auto contrast" and "Colour output" as needed.
- Click "Copy text", "Download .txt", "Download .html" or "Download PNG".
Features
Adjustable width
From 20 to 300 characters per line, with rows calculated to keep proportions.
Several character sets
Standard, detailed 70-character, Unicode blocks, simple, binary, or your own custom ramp.
Invert and auto contrast
Switch between dark-on-light and light-on-dark, and stretch the tones to use every character.
Colour HTML output
Each character keeps the colour of its part of the image in the HTML and PNG downloads.
Text, HTML and PNG export
Copy to clipboard or save as .txt, .html or a PNG image.
When to use it
- Add an ASCII logo to a README, code comment or command-line tool banner.
- Share text art in chat apps, forums or email signatures.
- Create retro-style graphics for a website or poster.
- Make a colourful HTML text-art version of a photo.
- Teach how images are made of brightness values in a classroom.
Frequently asked questions
Why does my ASCII art look stretched or squashed?
It must be viewed in a monospace font such as Courier or Consolas with line spacing close to 1. Proportional fonts and extra line spacing distort the shape.
What width should I use?
About 60–80 characters fits a code comment or terminal, 100–150 works for web pages, and 200 or more gives fine detail best viewed as HTML or PNG.
Can plain text keep colours?
No. A .txt file has no colour information. Use the .html or PNG download to keep colours.
Which images convert best?
High-contrast images with a clear subject, like logos, portraits against plain backgrounds and silhouettes. Busy scenes become noisy at small widths.
Should I use Invert?
Turn it on when the art will be shown as light text on a dark background, such as most terminals. Leave it off for dark text on a white page.