Turn an image into ASCII art

Turn a picture into ASCII art made of text characters, choosing the width and the character set, then copy it or save it as TXT or PNG. Nothing uploaded.

Drop your image file here or click to choose, or paste image file · processed on this device

How to turn an image into ASCII art

  1. 1

    Choose a picture

  2. 2

    Pick a width and a character set

  3. 3

    Copy the text or download it as TXT or PNG

ASCII art from any picture, in your browser

ASCII art draws a picture with letters, digits and punctuation. Each character stands for a small patch of the picture, and a character with more ink, such as @ or #, stands for a darker patch than one with little, such as a dot or a space. Seen from a step back, the characters blend into the image.

How the picture becomes text

The picture is drawn small, one pixel for each character in the grid. Each pixel’s brightness is worked out from its red, green and blue, and that brightness picks a character from the set, lightest first. A see-through pixel counts as the background.

A character in a monospace font is about twice as tall as it is wide. If every pixel became one character the art would come out twice as tall as the picture, so the grid has half as many rows as the picture’s shape alone would give. At 100 characters across, a square photo becomes 50 lines.

Character sets

Simple has ten steps from a space to @. It reads well at any width and copies cleanly into a chat or an email that keeps spacing.

Detailed uses the 70 character ramp from Paul Bourke’s notes on character representations of grey scale images, ordered from light to dark. It gives smoother shading, and needs a width of 120 or more to show it.

Shade blocks use the four block characters and a space. They look like a photo with very large pixels, and need a font that has the block characters, which most current fonts do.

Showing the art

ASCII art only holds together in a monospace font. Paste it into a code block, a plain text file or a terminal. In a word processor or a chat that changes the font, the lines get different widths. For a version that looks the same everywhere, download the PNG, which draws the text in a monospace font for you.

Tick light text on a dark background to make art for a terminal or a dark theme: the characters are chosen the other way round, so bright parts of the picture get the most ink.

Private

The picture is drawn and read inside your browser. Nothing is uploaded. For the opposite job, reading real text out of a picture, use Image to text.

Everything you need

Width you choose

From 40 to 200 characters across, with the rows worked out so the picture keeps its shape.

Three character sets

A clear 10 character ramp, a 70 character ramp for smooth shading, or shade blocks.

Text or picture

Copy the text, save it as a TXT file, or save a PNG of it in a monospace font.

Nothing uploaded: open the Network panel while it runs and check.

No daily limits or watermarks: free batches take up to 20 images.

Works offline: once the page has loaded, on any current browser.

Frequently asked questions

Why does the art look stretched when I paste it?

It has to be shown in a monospace font, where every character is the same width, such as a code block or a plain text editor. In a proportional font the lines have different widths and the picture falls apart.

Which character set should I use?

Simple uses ten characters and reads clearly at small widths. Detailed uses a 70 character ramp and shows smoother shading at 120 characters or more. Shade blocks use four block characters and look like a low resolution photo.

What does light text on a dark background change?

It flips which characters are used for light and dark, so the art looks right in a terminal or a dark code editor. Without it, the art is meant for dark text on a light page.

Is my picture uploaded?

No. The picture is drawn small and read inside your browser, and nothing is sent anywhere.

Sources

Related guides

Work with files privately and confidentlyPractical, sourced explanations for safer file conversion, sharing, and cleanup.