Free image tools

Convert an image to ASCII art in your browser

Turn a picture into text art built from ordinary keyboard characters. Set the width and the character ramp, then copy or download the result.

This tool needs JavaScript. It runs entirely in your browser; nothing is uploaded.

Private by design. Your files are processed by your own browser on your own device. They are not uploaded, stored or seen by Archive.London. Tool terms

How to use the Image to ASCII Art tool

  1. Choose an image or drop it onto the page.
  2. Set the width of the output in characters.
  3. Pick the character ramp.
  4. Copy the ASCII text or download it.

To convert an image to ASCII art, open the Image to ASCII Art tool on Archive.London and choose or drop your picture. Set the output width in characters, pick a character ramp, then copy the text or download it. Each part of the image is replaced by a character of matching darkness. It runs in your browser with nothing uploaded.

Width, ramp and choosing a picture that survives

ASCII art works by dividing the image into a grid, measuring the brightness of each cell and printing a character whose ink coverage matches. The character ramp is the ordered list of characters used, running from sparse marks such as a full stop to dense ones such as @ or #. A short ramp gives a bold, high-contrast result; a long ramp gives more shades of grey but needs a wider output to show them.

Width is the number of characters per line and therefore the resolution. Around 80 fits a traditional terminal or a plain-text email. Go wider for detail, bearing in mind the text must then be shown in a small font.

Choose pictures with a clear subject and strong contrast. A face lit from one side works; a busy landscape turns to static. Colour is ignored.

Why it must be viewed in a monospaced font

The picture only holds together if every character occupies the same width, so that the columns line up. That means a monospaced font such as Courier or Consolas. Paste ASCII art into a word processor or a social post set in a proportional font, where an i is narrower than an m, and the rows slide out of alignment.

Character cells are also taller than they are wide, roughly twice as tall in most fonts, and a converter has to allow for that or the picture would come out stretched vertically. Line spacing in the place you paste the text will affect the proportions too.

A ramp assumes dark characters on a light background. On a dark terminal with light text the tones reverse, and the picture looks like a negative unless the ramp runs the other way.

Pictures made of type, before and after the pixel

Making images from characters is much older than the computer. Typists produced pictures on typewriters by overstriking letters, and early computer printers that could output only text were used to print portraits built from letters and symbols. The idea is the same as the halftone screen that puts photographs on a magazine page: tone is simulated by varying how much ink covers a small area, and the eye blends the result at a distance.

Photographers whose work was made for print lived with that translation daily, since every published picture was rebuilt from dots. The journal is where Archive.London publishes writing on photography, and the photography archive indexes the collections themselves. ASCII conversion is a toy version of the same principle, and a good way to understand it.

Frequently asked questions

What is ASCII art?

It is a picture made from text characters instead of pixels. ASCII is the basic character set of letters, digits and punctuation used by computers since the 1960s. Dense characters stand in for dark areas and sparse ones for light areas, so that from a distance the block of text reads as an image.

Why does my ASCII art look distorted when I paste it?

Almost always because of the font. ASCII art needs a monospaced font, in which all characters have equal width. Most documents, emails and social networks use proportional fonts, which break the alignment. Paste into a code block or plain-text editor, or set the font to something like Courier. Unusual line spacing can also stretch it.

What width should I choose?

Start around 80 characters, which suits terminals, code comments and plain-text email. Increase the width for more detail if the text will be shown in a small font or on a wide screen. Narrow widths of 40 or so only suit very simple shapes, because each character has to represent a large part of the image.

Which images convert best to ASCII?

Simple, high-contrast ones. Portraits with clear lighting, logos, silhouettes and bold shapes work well. Images with fine texture, low contrast or lots of small detail become an even grey mass of characters. Cropping tightly to the subject and increasing the contrast before converting both improve the result noticeably.

Is my image uploaded to create the ASCII art?

No. Your browser reads the image and generates the text on your own device. The picture is not sent to a server or stored, and there is no account to create. The output is plain text that you can copy to the clipboard or download, and you are free to use it wherever text is accepted.

About the archive behind this page

Archive.London is the home of the Robert Harper Photograph Library: 95,487 photographs made across a career that began in the Condé Nast studios.

Read the archive in factsWrite to the archive