Image to ASCII Art Converter

Convert images to ASCII art — classic text-based image rendering using density-mapped characters.

What is ASCII Art?

ASCII art renders images using text characters of varying visual density. Dark pixels become dense characters (#, @, %); light pixels become sparse characters (., space). Originated in the 1960s-70s on computer terminals before bitmap displays, ASCII art became iconic of early internet culture and remains popular for: terminal application banners, email signatures with logos, retro aesthetic graphic design, plain-text presentations, code comments with visual elements, GitHub README headers, monospaced font experiments. This converter samples the image, maps brightness to characters, and outputs a text grid that resembles the original.

How to use this tool

  1. Upload image — Best results: high-contrast portraits, icons, or simple shapes.
  2. Set width in characters — 30-200 characters wide. More = more detail but larger output.
  3. Choose character set — Standard (10 chars), Detailed (15 chars), or Hi-detail (70 chars for finest gradient).
  4. Copy ASCII output — Paste into emails, terminals, code comments.

Density mapping

Image sampled at character grid (width × height). Each cell's brightness mapped to character index in chosen set.

brightness = (R + G + B) / 3      // 0-255
index = floor(brightness * len(chars) / 256)
output = chars[index]

Aspect ratio correction: Characters are taller than wide (about 2:1 ratio). Tool halves vertical sampling to compensate.

Examples

  • Email signature logo: Company logo as ASCII for plain-text emails
  • GitHub README: ASCII art header for project repos
  • Terminal banner: Application startup ASCII logo
  • Code comment art: Decorative section headers in source
  • Retro post on Mastodon: Pixel-art-style ASCII portraits

Tips & best practices

  • Use high-contrast images for best results — subtle gradients lose definition
  • Hi-detail character set (~70 chars) gives photographic accuracy
  • Narrower width (40-60 chars) for email use; wider (120+) for terminal banners
  • Use monospace font when displaying ASCII art — alignment depends on it
  • Black background + green text gives classic Matrix/terminal aesthetic

Frequently Asked Questions

What images work best?

Black-and-white, high-contrast, simple shapes. Portraits with distinct features. Icons and logos. Photos with subtle gradients lose detail.

Why does my ASCII art look stretched?

Terminal/text fonts have characters taller than wide. ASCII art compensates with vertical sampling. If your display font is different, art may appear different ratios.

Can I customize colors?

Not in this tool — outputs plain text. For colorized ASCII, use ANSI escape codes (terminal colors) or HTML.

What's the max image size?

Tool downsamples to 30-200 chars wide. Original image can be any size; output is constrained by character width setting.

Will this work for video?

Single-frame only here. For animated ASCII art (movies in terminal), use specialized tools like aalib or libcaca.

Related tools

Image to Black & White · Image Pixelator · ASCII Art Generator

Copied