Swelıty
Tools for everyone

Free Online Image ASCII

Turn a picture into text characters (ASCII art), as text or as a picture.

Add a picture to turn it into text

Drag a picture here or choose one. JPG, PNG, WebP, AVIF and GIF (only the first frame of a GIF is used).

How to use

  1. Add a picture.

  2. Set the width in characters. More characters show more detail, and the text gets wider.

  3. Choose the characters. Turn on Invert if you will show the text as light letters on a dark background.

  4. Adjust brightness and contrast until the shapes you care about stand out. The text and the comparison update as you drag.

  5. Copy the text or save it as .txt. For a picture, pick the picture style and character size, then Download as picture.

Why use this tool

  • Six character sets

    Standard ( .:-=+*#%@), blocks ( ░▒▓█), simple ( .oO@), a detailed ramp of 70 characters, binary 0 and 1, or any characters you type, from lightest to darkest looking.

  • Keeps the picture's shape

    A character is taller than it is wide, so the tool uses fewer rows than columns. You can change that character shape if your font is different.

  • Thin lines stay

    The picture is shrunk by averaging every patch of it into one cell, not by skipping pixels, so a thin line darkens its cell instead of vanishing.

  • Colour in the picture

    Give each character the colour of its part of the picture. It shows in the comparison and in the PNG you save. The plain text has no colour.

  • Compare with the original

    A slider with a full screen view shows the picture and the text art at the same size, so you can see what was kept.

  • Text or picture

    Copy the text, save a .txt file in UTF-8, or render the text to a PNG at a character size you choose.

About this tool

Image ASCII turns a picture into text. The picture is shrunk to a grid of 20 to 300 characters across, and each cell becomes one character chosen by how dark that part of the picture is. Choose the character set (a standard ramp, blocks, a short simple one, a detailed one of about 70 characters, 0 and 1, or your own), flip it for light-on-dark, and adjust brightness and contrast. You can copy the text, save it as a .txt file, or save it as a PNG picture in white on black, black on white or in colour. A slider compares the original with the text art. It all happens in your browser.

Frequently asked questions

ASCII art only lines up in a font where every character has the same width, such as Courier, Menlo or Consolas, and with a line height of about 1.2 times the font size. In an ordinary text field or a chat app the font is not like that. Paste it into a code block or a monospace font, or save it as a picture instead. The block characters in the Blocks set can also be a different width in some fonts.

Standard is a good start. Detailed gives smoother shading with a wide image. Simple and Blocks give a bolder, more graphic look. Binary makes a picture out of 0 and 1. With your own characters, list them from the lightest to the darkest looking, starting with a space.

By default dark parts of the picture get dense characters such as @, which suits dark text on a light page. Invert swaps that, so bright parts get the dense characters, which suits light text on a dark background. Choosing White on black or Colour turns it on for you; you can switch it back.

Up to 300 characters across and 300 rows. A very tall picture gets fewer columns than you asked for so it stays within 300 rows. Large pictures are reduced first, so they do not slow the page down.

No. Plain text has no colour. The colour version can be saved as a PNG picture. If you need coloured text for a web page, the picture is the simplest choice.

It depends on the character size you pick. Each character is about 0.6 of the size wide, so 300 columns at 12 px is about 2,160 px wide. The page shows the size before you save, and says so if it would be too big for a browser to draw.

In your browser, which reads and converts it.