Skip to main content

ASCII Art Generator

Turn an image into ASCII art in your browser, or text into a banner in ten FIGlet fonts.

ASCII Art Generator
Type some text and the ASCII art appears here...
Letters, digits and symbols / non-Latin text is boxed / 10 fonts included

Pick the width, the characters and the background.

Convert an image into ASCII art, or text into an ASCII art banner using ten FIGlet fonts. Images are converted in your browser, so the picture is never uploaded. The result is plain text, so it drops straight into a README, a terminal banner or a source file comment.

ASCII Art Generator: Features

Where ASCII banners still belong

A heading at the top of a README that survives being viewed in a terminal. A startup banner printed by a command line tool, which is how a great many CLIs announce themselves. A section divider in a long configuration file. A splash screen for a local development server. In each case the appeal is the same: it is plain text, so it works everywhere, needs no image hosting and shows up in a diff.

How image conversion works

From an image shrinks the picture to the width you choose and replaces the brightness of each character-sized patch with a character of matching density, such as @, %, #, *, +, =, -, :, . and a space. Monospaced characters are about twice as tall as they are wide, so the number of rows is halved to keep the proportions of the original. For a white background, dark areas become dense characters; for a black background, such as a terminal, bright areas do. Automatic contrast stretches a dark or washed-out picture so that the full range of characters is used. Only ASCII characters are used, so the art stays aligned in any monospaced font.

Getting a clean result from an image

Pictures with a plain background, and illustrations or logos with clear outlines, convert best. For a detailed photograph, increase the width or switch to the detailed set of 70 characters. More width means more detail, but art wider than the window it is pasted into wraps and falls apart; 60 to 100 characters suits most chats and READMEs.

Ten fonts, and how to choose

FIGlet fonts differ mainly in height and weight. The standard font is the safe default and stays readable at modest widths. Larger and more decorative fonts look striking and become unusable quickly: a word in a tall font can run to eighty characters wide, which wraps in a terminal and turns into noise. Try the shortest text you actually need first, then a longer one, before settling on a font.

Watch the width

This is the practical constraint that matters more than the font choice. A conventional terminal is eighty characters wide, and many people still use that. A banner wider than the window wraps mid-glyph and becomes unreadable rather than merely narrow. Keep the text short, prefer a compact font, and check the widest line before committing the result to a README that others will view at whatever width they happen to have.

Non-Latin text

FIGlet fonts are built from Latin letters, digits and punctuation, so they have no glyphs for Japanese, Chinese, Korean, Cyrillic or Greek. Text in those scripts is rendered inside a box rather than transformed, which at least produces something usable rather than a row of missing characters. For a banner in another script, a box or a simple border is generally the better approach anyway.

Works offline, and what you may do with the output

The rendering uses figlet.js locally, and images are converted in the page, so nothing you type or load is transmitted, stored or logged, and the tool works offline once loaded. Output is plain text and free of any usage restriction from this site, so it can go into a public repository or a commercial product without attribution. Art made from an image is based on that image, so if the picture is someone else's photograph or drawing, its owner's permission may be needed before you publish it.

ASCII Art Generator: FAQ

What is FIGlet?

A long-standing program that renders text as large characters made up of smaller ones, along with the font format it uses. This tool uses figlet.js, a JavaScript implementation, so the output matches what the original command line tool produces.

Can I use the output commercially?

Yes. The generated text carries no restriction and needs no attribution: it is your text laid out in the letter shapes of a font, and it does not contain the font files themselves. figlet.js is MIT licensed. Six of the fonts (Standard, Big, Small, Slant, Block and Lean) come with FIGlet under a modified BSD licence, and the other four were made and shared by FIGlet users. The site terms give the details. Art made from an image follows the rights in that image: if you convert someone else's photograph or illustration, you may need their permission to publish it.

How do I put this in a README?

Wrap it in a fenced code block so the markdown renderer preserves the spacing exactly. Without the fence, consecutive spaces collapse and the art falls apart. The same applies to any renderer that treats plain text as markdown.

Can I use it in a source file comment?

Yes, and it is a common use for section dividers in long files. Prefix each line with your language's comment marker. Bear in mind that some linters object to very long comment lines, and that the banner will appear in every diff that touches the surrounding code.

Does it work with numbers and symbols?

Yes. FIGlet fonts cover letters, digits and common punctuation, so a version number or a symbol renders as expected. Unusual symbols may be missing from a particular font, in which case trying another one usually helps.

How to Use ASCII Art Generator

  1. Type your text or choose an image

    Enter a short word or phrase, or switch to From an image and choose, drop or paste a picture. For text, short is important: ASCII banners grow wide quickly, and a long phrase becomes unreadable regardless of the font.

  2. Try a few fonts or settings

    Switch between the ten fonts and watch the width as well as the look; a font that is striking for one word may be unusable for three. For an image, adjust the width, the characters and the background until the shape reads clearly.

  3. Copy it into a code block

    Copy the output and paste it into a fenced code block in your README, or into a comment in a source file. The fence preserves the spacing, without which the art collapses. Art made from an image can also be saved as a .txt file.

Category Text