Image to ASCII Art Converter

Turn any picture into ASCII art made of text characters.

Image to ASCII Art Converter tool

Tip: you can also paste a picture with Ctrl+V.

About the Image to ASCII Art Converter

ASCII art draws a picture using only keyboard characters, with dense symbols for dark areas and dots or spaces for light ones. This image to ASCII converter does it automatically: choose a picture, set the width in characters, pick a character set and adjust contrast. The result is plain text you can paste into chats, code comments, README files or a terminal.

Choose the width in characters, from 20 for a small icon to 240 for fine detail, and pick a character set: the standard ten-step ramp, a detailed ramp of nearly seventy characters, solid Unicode blocks, a simple four-step set or binary ones and zeros. Raise the contrast for punchier results, and invert the mapping when the art will be shown as light text on a dark background.

Characters are about twice as tall as they are wide, so the converter squeezes rows to keep the proportions right. Turn on color to see each character in the color of the picture beneath it, and download that version as an HTML page. The picture is processed in your browser and never uploaded.

For a blocky look in pixels instead of characters, try pixelate image. To make a picture black and white first, use the black and white converter, and for decorative lettering, try the fancy text generator.

How to use the Image to ASCII Art Converter

  1. Open a pictureChoose an image or drop it on the box. Clear shapes and strong contrast work best.
  2. Set the widthChoose how many characters wide the art should be.
  3. Pick the styleChoose a character set, adjust contrast, and invert or add color if you like.
  4. Copy or downloadCopy the text, or download it as a .txt file or a colored .html page.

Image to ASCII Art Converter features

  • Width from 20 to 240 characters
  • Five character sets, including Unicode blocks
  • Contrast control
  • Invert for dark backgrounds
  • Color HTML output
  • Aspect ratio corrected for character shape
  • Copy, .txt and .html downloads
  • Nothing is uploaded

Common uses

  • Adding ASCII logos to README files and code
  • Making text art for chats, forums and social posts
  • Creating retro terminal and console splash screens
  • Teaching how brightness and pixels work
  • Decorating emails and plain-text newsletters

Image to ASCII art: how pictures become text characters

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

ASCII art draws pictures using ordinary keyboard characters. Dense characters such as @ and # act as dark pixels, while light characters such as . and spaces act as bright ones. Converting a photo into ASCII art produces a striking, retro image that can be pasted into code comments, terminal banners, chat messages or social posts. This guide explains how the conversion works and how to get recognisable results.

How the conversion works

The image is divided into a grid of small cells, one cell for each character. For each cell, the converter measures the average brightness and picks a character whose visual density matches it. A typical density ramp, from darkest to lightest, looks like this:

@ % # * + = - : . followed by a space.

Dark areas of the photo become dense characters and bright areas become sparse ones. Viewed from a little distance, the eye blends the characters back into the image.

Why characters are not square

Text characters are roughly twice as tall as they are wide. If each pixel of a downsized image became one character, the result would look stretched vertically. Good converters compensate by sampling about two rows of the image for each line of text, keeping the proportions correct.

Choosing the width

Width, measured in characters per line, controls detail:

WidthResultGood for
40 to 60blocky, very stylisedchat messages, small banners
80 to 100recognisable, classic lookterminal banners, code comments
150 to 250detailed, photographicwall art, screenshots of the result

Traditional terminals are 80 characters wide, so 80 is a safe choice for anything that will appear in a console or a code file.

Getting a recognisable result

ASCII art loses most detail, so the source image matters enormously:

  1. Simple subjects work best: a face, a single object, a logo or a silhouette.
  2. High contrast helps: raise contrast first with Photo Filter Editor, or convert to black and white with Black and White Image Converter.
  3. Plain backgrounds keep the subject clear; busy backgrounds become noise.
  4. Tight crops let the subject fill the grid; crop with Image Cropper before converting.

Inverting for dark backgrounds

The density ramp assumes dark text on a light background. On a dark terminal, light text on black reverses everything: dense characters now look bright. If your art looks like a photographic negative in a terminal, invert the brightness mapping so dense characters represent bright areas.

Colour ASCII art

Some converters can colour each character with the colour of its cell, producing a mosaic-like image that looks impressive in browsers and terminals that support colour. Plain-text destinations, such as code comments and many chat apps, will show only the characters, so keep a monochrome version for those.

A worked example: a terminal banner

A developer wants their project logo to appear in the terminal when a command-line tool starts. Start with the logo as a PNG on a white background. Crop it tightly, convert it to pure black and white with high contrast, then convert to ASCII at 60 characters wide with a simple ramp. Check the result in a terminal with a dark theme; if it looks inverted, switch the mapping. Paste the final text into the program's startup code as a multi-line string, and the logo greets every user.

Fonts matter

ASCII art only lines up in a monospaced font, where every character has the same width. In proportional fonts, i and m take different space and the picture falls apart. When sharing, put the art in a code block, or share a screenshot of it rendered in a monospaced font.

Common mistakes

  • Using a busy photo with no clear subject.
  • Pasting the art somewhere that uses a proportional font.
  • Choosing a width so large that lines wrap and break the image.
  • Forgetting to invert for dark backgrounds.

Fun uses

Signature art at the end of emails, birthday messages, readme files for software projects, classroom activities about how images are made of pixels, and printed posters made entirely of text. ASCII art is also a gentle introduction to how computers represent brightness with numbers.

Related text tools

For decorative lettering in social media bios rather than pictures, try Fancy Text Generator.

Choosing a character set

The characters you allow change the texture of the art. A short ramp of ten characters gives bold, graphic results that read well at small widths. A long ramp of sixty or seventy characters, including letters and punctuation, captures subtler shading but can look noisy. Block characters such as shaded squares produce smooth gradients in fonts that support them, while plain ASCII characters work everywhere, including old terminals and code files. If the art will be pasted into source code, stick to plain ASCII so nothing breaks when the file is opened on another system.

Sharing ASCII art in chats and posts

Many chat apps use proportional fonts and wrap long lines, which scrambles ASCII art. Wrap the art in a code block if the app supports it, keep the width under about 40 characters for phones, or share a screenshot of the art instead. On social media, where line breaks and spacing are often altered, a screenshot is the most reliable way to show the result exactly as intended.

Privacy

The conversion happens in your browser. Your image is never uploaded, and you copy or download the result directly.

Frequently asked questions

How do I turn a picture into ASCII art?

Open the picture and the ASCII art appears straight away. Adjust the width and character set until you like it, then press Copy text and paste it wherever you need, or download it as a text file.

Which pictures work best?

Pictures with a clear subject, strong contrast and a plain background, such as logos, silhouettes and portraits against a light wall, give the most recognizable results. Busy photos need a larger width to show their detail.

Why does my ASCII art look stretched?

ASCII art must be shown in a monospaced font, where every character has the same width, such as Courier or Consolas. In proportional fonts the columns no longer line up. Also check that line wrapping is turned off where you paste it.

What does invert do?

Normally dark parts of the picture become dense characters, which suits black text on a white page. On a dark background, such as a terminal, invert the mapping so bright parts use the dense characters instead.

Can I keep the colors?

Yes. Tick Color to color each character like the picture beneath it, and download the HTML version to keep the colors. Plain text cannot store colors, so copying gives the characters only.

How wide should the art be?

About 60 to 80 characters fits most chat windows and code comments, 100 to 120 suits a full-screen terminal, and 150 or more shows fine detail when viewed in a small font.

Is my picture uploaded?

No. The art is created by code running in this page on your own device, and the picture is never sent to a server. It is safe for private and personal pictures.

Can I use ASCII art in code?

Yes. Paste it into a comment block in your source code or a README file. Keep it under about 80 characters wide so it does not wrap in editors, and use the standard character set for the widest compatibility.