Skip to content
An open, non-profit community for glyphs, fonts, emoji & kaomoji
Home/ Articles/ Turn a picture into ASCII…
ASCII Art 1 min read

Turn a picture into ASCII art

How picture-to-ASCII converters work, choosing a character ramp, and keeping output readable.

</> featured-image · turn-a-picture-into-ascii-art

Picture-to-ASCII converters turn an image into text made of characters. The trick is mapping brightness to glyphs.

The character ramp

Converters use a “ramp” ordered from light to dark, for example " .:-=+*#%@". Each pixel’s brightness picks a character; darker areas get visually heavier glyphs, so the text approximates the original tones.

Keeping it readable

  • Downscale first — terminal art rarely needs more than ~100 characters wide.
  • Remember characters are taller than they are wide; squash vertically to compensate.
  • High-contrast source images convert far more cleanly than busy ones.

Displaying the result

Always show ASCII art in a monospaced font. In a proportional font the columns drift and the picture collapses — which is why every gallery piece on OpenGlyph is rendered in monospace and tested before publishing.

OC
OpenGlyph Community

Contributors from the wider OpenGlyph community. Every submission is reviewed for originality and correct rendering before it goes live.