Skip to content
Test versionSearch

Images and files

Image to ASCII

Convert a PNG, JPEG or still WebP image or a short text banner into ASCII art using ten brightness levels, then copy it or download a TXT file.

How it worksFAQRelated tools

Content reviewed:

Also available for Germany, in German 

Images: up to 8 MiB, 8192 pixels per side and 16 million pixels. JPEG must be 8-bit baseline or progressive. WebP must contain one still image; animation is rejected. Text: 1–600 Unicode code points including line breaks, at most 10 lines and 60 code points per line. Tabs and control characters are rejected. CRLF and CR become line breaks. Output: 10–200 columns, at most 200 rows. A tall input may require fewer columns; the tool rejects an oversized grid instead of flattening its proportions. Contrast uses whole percentages from 0 to 300.

Input is processed in this tab. Output is approximate; fonts and decoders can differ between devices. See the guide below for limits and copying instructions.

How it works

Text is drawn in the browser using bold 64px system monospace, then sampled like an image. Approximate brightness is 0.299R + 0.587G + 0.114B after transparency is placed on white. Contrast is applied around 127.5, clamped to 0–255, then optionally inverted. Ten levels map to @%#*+=-:. and a space. The grid assumes characters are about twice as tall as they are wide. At 100% the existing mapping is unchanged; 0% produces only = characters.

Worked example

Black becomes @ and white becomes a space. For a text banner, select Text banner and enter Hello, for example.

Frequently asked questions

How do I turn an image into ASCII art?

Choose Image and select a PNG, JPEG or still WebP file, set the number of columns, the contrast and optional inversion, then select Calculate. The ASCII art can then be copied or downloaded as a TXT file.

Can I make an ASCII art text banner?

Yes. Choose Text banner and type 1 to 600 Unicode code points, with at most 10 lines of 60 code points each. The text is drawn in bold 64px system monospace and then sampled like an image; tabs and control characters are rejected.

Which image files can be converted to ASCII art?

PNG, 8-bit baseline or progressive JPEG and WebP with a single still image, up to 8 MiB, 8192 pixels per side and 16 million pixels. Animated WebP, SVG, GIF, HEIC, PDF and corrupt files are rejected.

How wide can ASCII art be?

Output runs from 10 to 200 columns and at most 200 rows. Because the grid assumes characters are about twice as tall as they are wide, a tall image may need fewer columns; an oversized grid is rejected rather than squashed.

How are pixels turned into ASCII characters?

Brightness is approximated as 0.299R + 0.587G + 0.114B after transparency is placed on white. Contrast from 0 to 300% is applied around 127.5, then ten levels map to @%#*+=-:. and a space, so black becomes @ and white a space.

Why does my ASCII art look wrong after pasting it?

ASCII art needs a monospace font with every space and line break preserved; proportional fonts and automatic wrapping change the grid. Text banners can also differ between devices because system fonts and fallback glyphs vary.