Skip to content
CornerTools

ASCII Art Generator

Turn text into ASCII art banners in classic FIGlet fonts, or a picture into ASCII art, and copy it as text, as a code comment or as an image.

Mode

Each line is its own banner.

Width

Lines stay under 80 characters, breaking between words.

Loading…

Draws text as a banner in 24 FIGlet fonts, or turns a picture into characters, for a README, the top of a source file, a terminal greeting or a chat. Copy the art as plain text, as a //, #, /* */ or <!-- --> comment, or save it as a .txt file or a PNG.

Everything is drawn in your browser: no text or picture is uploaded. Every font's licence is on the licences page, and only fonts whose terms allow sharing them are offered.

How to use it

  • Text — up to 500 characters, an emoji counting as two; each line becomes its own banner. Tabs count as spaces. Characters the font has no letter for (most emoji, ₹, Devanagari) are left out and listed under the art.
  • Font and All fonts — pick from the list, or see your text in every font and click one.
  • Width — 80 or 120 keeps every line under that many characters, breaking between words as figlet -w does; a word too wide on its own is broken inside, and the page says so. No wrap never breaks.
  • Image — any picture the site's image tools read. Width in characters from 20 to 300 (default 100), and at most 1,000 rows, so a very tall strip is squeezed to fit; Characters Detailed, Simple, Blocks and Braille; Invert draws light characters for a dark background; Colour gives each character its part of the picture's colour, in the preview, the PNG and Copy as HTML in colour. Inverted, each colour is lifted to full brightness, keeping its hue: on black, the characters carry the light.
  • Copy — the arrow beside it copies the art as a comment. A style is left out when the art would end it early, such as */ inside a block comment. When the last line ends in \, the // style is offered with a note: C and C++ join the next line of code to such a comment. Trailing spaces are trimmed from every line, as code linters ask.

A link from Share carries the text, font and width; a picture is never put in a link.

How the art is made

A FIGlet font draws each character as a small block of characters, all of one height. Letters are then pushed together as the font's header says: kerning moves them until they touch, and smushing overlaps them by one more column where two characters can merge, such as two | into one or _ under /. The layout here follows the FIGlet program itself (version 2.2.5) and is checked against its output; lines are stacked whole, as FIGlet stacks them.

A picture is averaged into one patch per character, and each patch's brightness picks a character from a ramp running from a space to the densest: 70 steps for Detailed, 10 for Simple and ░▒▓█ for Blocks. Levels are stretched so the darkest 1% of the picture is black and the brightest 1% white, so there are no brightness or contrast sliders. A character cell is about twice as tall as it is wide, so there are about half as many rows as the picture's shape would give; the art keeps its proportions in the preview and the PNG, which are set at a line height of 1.2. Braille draws each character as 2 × 4 dots, on or off after Floyd–Steinberg dithering, for four times the detail of a ramp.

Examples

A banner in Slant

Text
Hello
Font
Slant
Art
    __  __     ____
   / / / /__  / / /___
  / /_/ / _ \/ / / __ \
 / __  /  __/ / / /_/ /
/_/ /_/\___/_/_/\____/

A file header as a # comment

Text
deploy.sh
Font
Small
Copy as
As # comment
Copied
#     _          _               _
#  __| |___ _ __| |___ _  _   __| |_
# / _` / -_) '_ \ / _ \ || |_(_-< ' \
# \__,_\___| .__/_\___/\_, (_)__/_||_|
#          |_|         |__/

Width 80 breaks between words

Text
Build passing
Font
Standard
Art
 ____        _ _     _                       _
| __ ) _   _(_) | __| |  _ __   __ _ ___ ___(_)_ __   __ _
|  _ \| | | | | |/ _` | | '_ \ / _` / __/ __| | '_ \ / _` |
| |_) | |_| | | | (_| | | |_) | (_| \__ \__ \ | | | | (_| |
|____/ \__,_|_|_|\__,_| | .__/ \__,_|___/___/_|_| |_|\__, |
                        |_|                          |___/

Both words would make a line 59 characters wide, so each takes its own line. With No wrap they stay on one.

Frequently asked questions

ASCII art lines up only in a monospaced font, where every character is as wide as every other. Most email and chat apps use a proportional font: put the art in a code block (three backticks in Slack, Discord, GitHub and Teams) or send the PNG. Braille art also needs a font that has Braille patterns at the same width as a space; many do not, so it may not line up when pasted.
Their files give no permission to share them. Doom and Epic only allow changing the font with the changer's name added; Larry 3D, Graffiti, Banner3 and Star Wars state no terms; ANSI Shadow, ANSI Regular, 3D-ASCII and Calvin S are conversions whose author is unknown. The fonts offered here come with FIGlet under its BSD licence (15), with TOIlet under the WTFPL (6), or under the MIT licence (3).
The fonts' licences allow it: BSD, WTFPL and MIT all permit commercial use and changes, and art drawn with a font is not a copy of the font file. A picture turned into characters keeps whatever rights the picture had.
They read it character by character, which says nothing useful, and Braille art is read as meaningless Braille letters. On a web page, wrap the art in an element with role="img" and an aria-label saying what it shows; in a README, keep the words in plain text beside it.

See also