Image to ASCII Art

Choose an image and get it back as text: each character stands for a small patch of the picture, denser where it is darker. Copy it or save it as a .txt file. The image stays on this device.

How it works

The picture is scaled down so that each pixel becomes one character cell. A character cell is about twice as tall as it is wide, so the tool uses half as many rows as a square grid would. Without that, every picture comes out stretched to twice its height.

Each cell’s brightness is worked out from its red, green and blue values, weighted the way the eye sees them. Dark cells get characters with more ink, such as @ and #, and light cells get thin ones, such as a dot, or a space.

Transparent areas count as background, so they print as blank. Invert swaps the ramp for light text on a dark background, such as a terminal.

How to use it

  1. 1 Choose an image, drop it on the page, or paste one.
  2. 2 Set the width in characters. 80 suits a terminal or a code comment; more shows more detail.
  3. 3 Pick a character set, and tick Invert if the text will sit on a dark background.
  4. 4 Press Copy text, or Download .txt to save it.

Good to know

  • Pictures with strong contrast and a plain background work best: a logo, a silhouette, a face lit from one side.
  • Paste the result where a monospaced font is used, such as a code block, a terminal or a plain-text email. In a proportional font the columns drift apart.
  • Blocks uses the shading characters ░ ▒ ▓ █ and looks solid on screen, but some older terminals and fonts do not have them. Classic and Detailed use only plain ASCII.
  • If the art looks like noise, lower the width. Fewer, larger cells keep the overall shape.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

A logo for the top of a README

Say you want your project’s logo at the top of a command-line tool’s help text. Choose the logo PNG and leave the width at 80 characters, the classic terminal width. A square logo of 512 by 512 pixels becomes 80 columns by 40 rows. That is 40 rows rather than 80, because a character in a terminal is about twice as tall as it is wide. With 80 rows the logo would print twice as tall as it should.

Terminals are usually light text on a dark background, so tick Invert. Now the bright parts of the logo get the dense characters, and they show up bright on the screen. The dark parts become spaces. If your logo has a transparent background, that background prints as spaces too, so the logo sits cleanly on whatever colour the terminal uses.

Try the three character sets. Classic uses ten characters, from a space through . : - = + * # % to @, and looks like ASCII art from a 1990s readme. Detailed uses 70 steps and shows soft gradients better, but only at larger widths: at 40 columns the extra steps are lost. Blocks gives a solid, pixel-like look, but the block characters are not ASCII, so an old terminal or a plain-ASCII config file may show them as question marks.

When it looks right, press Copy text and paste it into the file. The result has no trailing spaces at the ends of lines, so editors and linters that strip them change nothing. In a Markdown README, put the art inside a fenced code block, so it is shown in a monospaced font and the spaces are kept.

The tool has limits. It maps brightness only, so a red and a green of the same brightness print the same. Fine detail smaller than one character cell disappears, so small text in a picture does not survive at 80 columns. The 2:1 shape assumes normal line spacing, and the art looks squashed or stretched where the spacing differs. Widths run from 10 to 300 characters.

Frequently asked questions

Is my image uploaded?

No. The image is decoded and converted by JavaScript in this tab. Nothing is sent to a server.

Why does my ASCII art look squashed or stretched?

The tool assumes a character is about twice as tall as it is wide, which is true of most monospaced fonts at normal line spacing. If you paste it somewhere with very tight or very loose line spacing, the shape changes with it.

What is the difference between the character sets?

Classic uses ten characters from space to @. Detailed uses a 70-step ramp, which shows finer shading at large widths. Blocks uses four shading blocks and a space, which look like pixels rather than letters.

When should I use Invert?

When the text will be shown light on dark, such as in most terminals or in a dark-mode chat. Without Invert, a dark area of the picture becomes dense characters, which on a dark background would show up as the bright part.

How wide can it go?

From 10 to 300 characters. Wider than that, no editor or chat window shows a line whole.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.