ASCII Art Generator

ASCII art generator with real FIGlet fonts for your text, and a picture mode that turns any image into characters. Copy the result as plain text or as code that prints it. Nothing uploaded.


            

Why does my banner break when I paste it into code?

Because of the backslashes. "Hello" in the Standard font has 4 of them:

  _   _      _ _
 | | | | ___| | | ___
 | |_| |/ _ \ | |/ _ \
 |  _  |  __/ | | (_) |
 |_| |_|\___|_|_|\___/

Put that in an ordinary Python string and Python reads \ as an escape. An open-webui bug report shows the result, "invalid escape sequence", and its fix: "you need the raw prefix for strings". Each "Copy as" choice deals with this its own way.

What each "Copy as" choice does
Copy asWhat it does about backslashes
Python printUses a raw string, unless the art holds triple quotes, with the closing quotes on their own line, since a raw literal cannot end in a single backslash.
JavaScript console.logDoubles each backslash and escapes backticks and ${, so a font's ` can't end the template literal.
Shell heredocQuotes the delimiter, so the lines are not expanded.
C or C++ putsDoubles each backslash and escapes double quotes, one puts per row.
JSON stringLets the JSON encoder escape everything.

We ran the Python, JavaScript, shell and JSON output through Python, Node and bash and every row of the banner came back unchanged. The C output was not compiled, as we had no compiler on the test machine.

Comments have their own trap in C. The third row above ends in a backslash, and GCC warns whenever a backslash-newline appears in a // comment, because the next line joins the comment. That is why // is marked "not for C" here. Use the puts output instead.

What about Java, Go, Rust, PHP, C# or Ruby?

The tool has no output of its own for these. Each language still has a way in, and the table gives it with the words from that language's own documentation.

Pasting a banner into six more languages
LanguageWhat to paste, and why it works
JavaThe C or C++ puts output, with each puts changed to System.out.println. Java has no raw string. JEP 378 says text blocks "do not support raw strings", and escape sequences in them are interpreted.
GoPlain text inside back quotes. In a raw string, the Go spec says "backslashes have no special meaning", but any character may appear "except back quote".
RustPlain text inside r#" and "#. The Rust reference: "Raw string literals do not process any escapes."
PHPPlain text in a nowdoc, <<<'BANNER'. The PHP manual calls it ideal for "large blocks of text without the need for escaping".
C#Plain text in a verbatim string, @" and ". In it, Microsoft's docs say, a \\ is read literally, and only a doubled quote means a quote.
RubyPlain text in a heredoc, <<-'BANNER'. Single quotes around the name disable interpolation and the escaping.

Go's back quotes are the catch. Standard draws a lowercase a, d, g, m and q with a backtick, and Small, Slant and Big use one in some of those letters too. A banner holding one ends the raw string early. For those, use the C output's lines inside fmt.Println.

We ran the Java version on 25 banners, five strings in each of the five fonts, with Java 25, and every one came back unchanged. The Go, Rust, PHP, C# and Ruby forms were not run.

Which font fits in 80 columns?

Width depends on your letters and the font. These are the sizes this tool gives for the same words:

Width in columns, as this generator draws it (other FIGlet programs can differ by a column)
FontLines for these words"Hello""BentoUtils""Hello World"
Small4194044
Standard5234653
Slant5234957
Big6244755
Banner7366575

Longer text wraps at the column you choose, at a space when it can, so no letter gets cut in half. A word too wide for the column breaks between letters. "The quick brown fox" at 80 columns stays on 5 lines in Small and takes 15 in Banner. For Python source, the style guide says to limit all lines to a maximum of 79 characters, and the // and # outputs add 2 or 3 more columns to each row, so leave room.

Will my name fit in 40, 60 or 79 columns?

Letters in these fonts overlap a little where they meet, so a word is narrower than its letters measured one by one. Each average below is the width of the whole alphabet drawn as one line, divided by 26.

Average columns per letter, this generator
FontCapitalLowercase
Small5.354.50
Standard6.275.46
Slant6.315.50
Big7.315.38
Banner7.816.73

Standard draws A to Z in 163 columns and a to z in 142. A W is the widest letter in Standard, Small and Big, at 13, 11 and 15 columns on its own. In those three fonts an i or an l takes 4.

Names mix wide and narrow letters, so here are some measured whole:

Name width in columns, this generator
NameSmallStandardSlantBigBanner
Sam1824232522
Emma2334353529
Oliver2427282838
Isabella3437393953
Alexander4149505064
Christopher4756585772

Every name here fits in 79 columns in every font. At 40 columns "Isabella" fits in all but Banner, while "Alexander" fits in none, since even Small draws it 41 wide. At 60 columns only Banner is too wide, for "Alexander" and "Christopher".

Is it really ASCII?

ASCII has 95 printable characters, and anything else depends on the encoding and font at the other end. The line under the output counts what falls outside them. All 5 fonts here and the picture characters read zero. An earlier version of this tool had a Block font made of full-block characters, which aren't ASCII, so it's gone.

Letters the fonts can't draw, such as an accented e, are left out and named above the output, so you won't find a stray question mark later.

Why does my picture look stretched?

A pixel is square and a character isn't. Characters are taller than they are wide, and even taller once line spacing counts. So the tool samples fewer rows than columns.

At 80 columns and the default character height of 2, an 800 x 600 picture becomes 30 rows. If the art still looks tall where you paste it, raise the character height.

How many rows will my picture be?

Rows follow the picture's shape and the columns you pick. With the default character height of 2, these are the row counts:

Rows of art by picture shape and columns across, character height 2
Shape406080100120
1:1 square2030405060
4:31523303845
3:21320273340
16:91117232834
3:4 portrait2740536780
9:16 portrait36537189107

Tall phone photos grow fastest: a 9:16 picture at 120 columns makes 107 rows. A higher character height means fewer rows, so at 2.5 the 800 x 600 picture at 80 columns drops from 30 rows to 24.

Which character stands for which shade?

Each cell's character comes from its brightness, using the Rec. 601 weights of 0.299 red, 0.587 green and 0.114 blue. The ramp has 10 characters, from light to dark: a space, then . : - = + * # % @.

Each character covers a tenth of the brightness range. For a gray pixel, from 0 for black to 255 for white, that works out as follows:

Character for each gray level, fully opaque pixels
CharacterLight backgroundDark background
@0 to 25230 to 255
%26 to 51204 to 229
#52 to 76179 to 203
*77 to 102153 to 178
+103 to 127128 to 152
=128 to 153102 to 127
-154 to 17877 to 101
:179 to 20351 to 76
.204 to 22926 to 50
space230 to 2550 to 25

Dark ink on a light page is the default. Tick "For a dark background" for a terminal, where light characters do the drawing and white becomes @. A fully transparent pixel counts as the background, so it comes out as a space either way.

Where the fonts come from

Standard, Slant, Small, Big and Banner come from the FIGlet distribution, which is under a BSD-style licence. Glenn Chappell and Ian Chai made Standard, and Ryan Youck made this version of Banner. We compared 16 strings in each font, 80 samples in all, with the output of the figlet package for JavaScript, and all matched.

Last reviewed: November 2, 2026

How this was checked

We ran this tool on cases that have a published answer and compared the results. Last checked October 2026.

CasePublishedThis toolSource
Standard font height, rows66raw.githubusercontent.com
Small font height, rows55raw.githubusercontent.com
Big font height, rows88raw.githubusercontent.com
Brightness of pure red0.2990.299en.wikipedia.org
Brightness of pure green0.5870.587en.wikipedia.org
Printable ASCII characters the fonts can draw9595en.wikipedia.org

Corrections

  • : The two hand-drawn fonts, with wrongly shaped letters and a Block font that was not ASCII, are replaced by real FIGlet fonts. The column limit now wraps instead of cutting letters in half

How we research and check our tools. Spotted a mistake? Use the Report a bug button on this page.

Link to this tool

Sharing or citing this calculator? Copy a link in the format you need. You're free to quote and cite anything on this page.

Share card: the word Hello in the Standard font has 4 backslashes, and in a plain Python string they trigger an invalid escape sequence warning
Plain URL
https://bentoutils.com/apps/ascii-art-generator/
HTML link
<a href="https://bentoutils.com/apps/ascii-art-generator/">ASCII Art Generator</a>
Markdown link
[ASCII Art Generator](https://bentoutils.com/apps/ascii-art-generator/)
Image link
<a href="https://bentoutils.com/apps/ascii-art-generator/"><img src="https://bentoutils.com/public/og/ascii-art-generator-v1.png" alt="ASCII Art Generator" width="600" height="315"></a>
Citation
ASCII Art Generator. BentoUtils. November 2, 2026. https://bentoutils.com/apps/ascii-art-generator/