←
Images

Image to ASCII Art

Loading the tool…

Ready when you are.Runs in this browser · nothing is uploaded

Turn pictures into text art

  • Free
  • No sign-up
  • No upload
  • Works offline

Tool facts

Opens
JPGPNGWEBPAVIFGIFBMP
Saves as
TXTHTMLPNG
Price
Free, no sign-up, no watermark
Are files uploaded?
No. Everything is processed in this browser, on your device.
Batch processing
One file at a time
Offline use
Works without a connection once this page has loaded
Built with
Canvas
Browser
A recent Chrome, Edge, Firefox or Safari, on computer or phone.
Limits
Art is at most 300 characters wide and 400 lines tall.

Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.

About Image to ASCII Art

Image to ASCII Art redraws a picture with characters: every character stands for one small area of the image, and darker areas get denser characters such as @ and #, so the picture appears when the text is viewed in a monospace font. Choose a width between 20 and 300 characters and one of five sets: the standard 10-level ramp, Paul Bourke's detailed 70-level ramp, block shades ░▒▓█, Braille patterns or a ramp you type yourself. The result can be copied as plain text or saved as TXT, as an HTML page or as a PNG picture.

Each area's brightness is the average of its pixels using the BT.601 luma weights (0.299 red, 0.587 green, 0.114 blue). Brightness and contrast sliders adjust it before mapping, Invert swaps which end of the ramp is dense for light text on a dark background, and Floyd–Steinberg dithering spreads the rounding error to neighboring characters, which brings out gradients in short ramps and Braille. Braille packs 2 × 4 dots into one character, so 100 columns hold 200 dots across. In color mode the HTML and PNG files paint every character with the average color of its area. Everything runs in your browser; the image is not uploaded.

Image to ASCII Art runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.

How to use Image to ASCII Art

  1. Drop a picture onto the page, click to choose one, or paste it with Ctrl V. A grey ball is loaded as a sample.
  2. Set Width (characters) and pick a Character set: Standard, Detailed, Blocks, Braille or Custom.
  3. Adjust Brightness and Contrast, turn on Invert for a dark background, and try Floyd–Steinberg dithering for smoother shading.
  4. Change Character width ÷ height if the art looks stretched in the font you will use it with, and turn on Color for colored HTML and PNG files.
  5. Click Copy text, or download the TXT, HTML or PNG file.

Frequently asked questions

How many lines does the art have?

Rows = width in characters × (image height ÷ image width) × the character width ÷ height setting, rounded. A typical monospace character is about half as wide as a line is tall, so with the default 0.5 a 480 × 480 picture at 48 characters wide gives 24 rows and a circle stays round. The tool stops at 400 rows: for a very tall picture it lowers the width until the art fits and tells you so.

Why does my art look stretched or squashed?

The text has no fixed shape of its own; it depends on the font and line spacing of the place where you paste it. The preview, the HTML file and the PNG use spacing that matches the Character width ÷ height value, so they keep the picture's proportions. If your editor or terminal shows the art too tall, raise the value (for example to 0.55 or 0.6); if it looks too flat, lower it.

When should I use Invert?

Without Invert, dark parts of the picture get dense characters, which is right for dark text on a white page. Terminals, chat apps in dark mode and black backgrounds need the opposite, so Invert gives bright parts the dense characters. The HTML and PNG files follow the setting: white background normally, black background when Invert is on. Transparent pixels always come out blank.

How does the Braille mode work?

Each Braille character (U+2800 to U+28FF) is a cell of 2 columns × 4 rows of dots, and each dot is one bit, so a 100-character row has 200 dots across. A dot is raised where its spot of the picture is darker than mid-grey, or brighter with Invert on; dithering decides borderline dots by spreading the error. Empty cells use the blank Braille character U+2800 instead of a space so the columns stay aligned. The PNG draws the dots as circles, so it does not depend on a Braille font.

Does color survive when I copy the text?

No. Plain text and the TXT file have no color. Color mode affects the preview, the HTML file (each run of same-colored characters is wrapped in a span with its hex color) and the PNG, where each character is drawn in the average color of its area of the original picture. Turn Invert on as well when the picture has a dark background, otherwise its bright parts would be blank spaces.

· Free · Runs in this browser · nothing is uploaded

Drop any file here
Drop it to see which tools can open it