Chris Collins

Tools · graphics

ASCII art

Turn images into ASCII, colour ANSI, or high-resolution Braille text art, and render FIGlet text banners in 30 fonts, ready to paste into terminals, READMEs, and source comments.

Added

How to use it

Image to text art — open, paste, or drop an image (a sample is loaded to start).

  • ASCII maps the brightness of each cell to a character ramp, from sparse to dense: standard .:-=+#%@, a detailed 70-character ramp, block shades ░▒▓█, and others. Terminal characters are about twice as tall as they are wide, so rows are sampled at the *character aspect (0.5 by default) to keep circles round.

  • Braille uses Unicode Braille patterns (U+2800–U+28FF). Each character holds a 2×4 grid of dots, which gives eight times the resolution of ASCII. Pixels are reduced to one bit with Floyd–Steinberg error diffusion (or a plain threshold).

  • Brightness and contrast adjust before conversion, and Invert swaps the ramp. Preview for a dark terminal inverts the default mapping, because on a dark background dense characters read as light.

  • Colour modes wrap each character in an HTML colour span, and produce ANSI escape codes: 24-bit truecolour (ESC[38;2;r;g;bm) or the nearest xterm-256 colour (ESC[38;5;nm, from the 6×6×6 cube or the grey ramp) for older terminals. Download .ans and cat it in a terminal.

  • Wrap as comment prefixes each line for C, shell, SQL, HTML, batch, or assembly.

Text banners renders text with FIGlet fonts (figlet.js 1.8.0 from jsdelivr; each font is fetched when first chosen). Long text wraps at the maximum width. Fonts that use Unicode block characters (ANSI Shadow, ANSI Regular) need a UTF-8 terminal.

Sharing

Share link copies a URL that opens this tool exactly as configured. Banners: ?banner= and ?font= (plus bw width and bc comment style). Image to text art needs your picture, so only its tab travels. For example: ascii-art/?banner=Hello&font=Doom.

Runs entirely in your browser — network requests go only to the services named on this page.