LocalExcelTool
Get started

ASCII Art Generator

Turn English text into ASCII art with multiple fonts.

Runs in your browserNo account neededFree

What is ASCII Art Generator

ASCII art conversion turns letters and symbols into text art made of ASCII characters.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Letterforms built from fixed glyphs

Each character is replaced by a block of text taken from a bundled font, so the output is not generated shapes but substituted strings. Lines are padded to the width of the widest glyph so columns align, which is why output can look misaligned in a font whose space is not monospaced.

Only characters present in the font map can be rendered. This generator draws anything else as a “?” glyph and puts a note under the result saying how many characters were substituted — silently dropping characters would leave you staring at a banner that is missing letters. Digits and the Latin alphabet are all present, punctuation is mostly covered, and non-Latin scripts are absent: Chinese text simply cannot be drawn this way without a dedicated CJK font.

Where it will look broken

Proportional fonts destroy the alignment. The art assumes a fixed-width font where every glyph occupies the same cell; in a proportional font the vertical edges of letters drift apart. Anywhere the output is displayed — a chat client, a website, an email — check the font before concluding the art is wrong.

Line-length limits are the second problem. A letter is six columns wide once you count the gap, so a five-letter word is thirty columns and a twenty-letter word already exceeds a 110-column editor. This generator splits long lines into separate banners every sixteen characters so each block stays under a hundred columns, but a chat client with a narrower wrap will still fold the art.

Copying it without damage

Trailing spaces are dropped deliberately: the right edge is carried by solid pixels, not by padding, so a formatter that strips trailing whitespace cannot damage the shape. What does damage it is a proportional font — see above.

For anything that will be pasted into code, fence it in a block comment or a triple-quoted string, and check that the surrounding language does not interpret backslashes — several of these fonts use / and \ densely, which is harmless in a comment and a syntax error in a string literal.

How to use it

  1. 1.Enter English text
  2. 2.Pick a font
  3. 3.Copy the art

How ASCII Art Generator works under the hood

Text tools look trivial until encoding enters the picture. The bytes are unambiguous; the characters they represent are a guess unless the encoding is declared.

  1. 1

    Read bytes, not characters

    The file is read as an ArrayBuffer so the original bytes are preserved, including a byte-order mark if present.

  2. 2

    Decode with a declared or detected encoding

    TextDecoder converts bytes to text. UTF-8 is validated; a BOM is used when present; legacy encodings must be chosen explicitly because guessing between GBK and Shift_JIS is unreliable.

  3. 3

    Transform as a pure function

    Escaping, quoting, case changes and line-ending normalisation are applied to the decoded string, so the same input always gives the same output.

  4. 4

    Encode and download

    The result is encoded back to UTF-8 (or the format's own escaping rules) and returned as a Blob.

  5. Processing pipeline

Why a file looks like mojibake

Mojibake is the same bytes decoded with the wrong table: Shift_JIS read as UTF-8, or GBK read as Latin-1. Nothing is corrupted in the file itself. If the output is garbled, the fix is to re-run with the correct source encoding, not to edit the text by hand — editing bakes the wrong characters in permanently.

CSV quoting is not optional

A CSV field containing a comma, a quote or a newline must be wrapped in double quotes, and inner quotes doubled. Tools that skip this produce files that look fine until someone imports them and the columns shift. This converter applies RFC 4180 quoting on output.

Where text tools stop

There is no reliable way to detect an unknown legacy encoding from content alone, and no way to recover bytes that were already lost. Mixed encodings inside one file cannot be fixed automatically. Very large inputs are capped because regular expressions and repeated string concatenation can take quadratic time.

Verify it yourself

Text is transformed in memory. Nothing is sent while it runs.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

Does it support non-Latin text?

Non-Latin scripts cannot be drawn in a 5×7 dot matrix, so they render as “?” glyphs and the result notes how many characters were substituted.

Is data uploaded?

No. Conversion happens in your browser.

What this kind of conversion cannot keep

Text tools never leave the page: the string you paste is transformed in memory and written back to the result box. There is no request, no log and no retention, which also means there is no way to recover a value you closed the tab on.

More in Text