Turn ASCII Art Into an Image
Render monospaced ASCII art as a PNG with aspect-correct cells, colour and background you choose. The text stays local; nothing is uploaded.
What this page does
Draws a block of ASCII art as an image with a monospaced font, sizing each character cell so the art is not stretched. This is the inverse of the image-to-ASCII page.
How to use it
Type or paste the text below, set the options and press Render. Example: a 40 × 12 block of ASCII at 12 px in monospace becomes about a 300 × 180 PNG, measured from the font.
How it works
Each character is laid out on a fixed cell grid measured from the chosen font, the widest line sets the width, and the text is drawn line by line. Cell height is the font size times 1.2 and cell width is measured from the font, so a row of characters keeps its intended shape.
What it refuses
Empty input, more than 200 lines, a line longer than 400 characters, a font size outside 4-40, or an output canvas above 16 megapixels is refused by name.
Where it runs
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device. It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank.
Draws a block of ASCII art as an image with a monospaced font, sizing each character cell so the art is not stretched. This is the inverse of the image-to-ASCII page.
Each character is laid out on a fixed cell grid measured from the chosen font, the widest line sets the width, and the text is drawn line by line. Cell height is the font size times 1.2 and cell width is measured from the font, so a row of characters keeps its intended shape. The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
Worked example: a 40 × 12 block of ASCII at 12 px in monospace becomes about a 300 × 180 PNG, measured from the font.
How to use the turn ascii art into an image
Type or paste the text into the field below, set the options, and press Render. The result appears beside the form.
Example: a 40 × 12 block of ASCII at 12 px in monospace becomes about a 300 × 180 PNG, measured from the font.
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
- ASCII art — typed text
- Font size (px) — 4 to 40
- Text colour (hex) — a hex colour
- Background (hex) — a hex colour
- Font — one of monospace, sans-serif, serif
- Output format — one of png, jpeg, webp
- Quality (JPEG and WebP) — 1 to 100
What the canvas draws
Draws a block of ASCII art as an image with a monospaced font, sizing each character cell so the art is not stretched. This is the inverse of the image-to-ASCII page.
Each character is laid out on a fixed cell grid measured from the chosen font, the widest line sets the width, and the text is drawn line by line. Cell height is the font size times 1.2 and cell width is measured from the font, so a row of characters keeps its intended shape.
- Every option is declared by this page, so an unknown choice or an out-of-range number is refused by name before any pixel is drawn.
- The preview and the download are the same canvas: what you see is the file you get.
What it refuses, and what it leaves out
Empty input, more than 200 lines, a line longer than 400 characters, a font size outside 4-40, or an output canvas above 16 megapixels is refused by name.
It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank.
- Not the right page for: converting a photo to ASCII, which is the image-to-ASCII page
- Not the right page for: proportional typography, which breaks the grid
What to Expect
Best for
- turning terminal art into a shareable image
- a retro text graphic
- an image from a signature block
Not ideal for
- converting a photo to ASCII, which is the image-to-ASCII page
- proportional typography, which breaks the grid
What this tool keeps
- Every character as typed
- The monospaced grid when the monospace font is chosen
- The colours you set
What may need cleanup
- Replacing characters that the font cannot draw
- Using a true monospace font for art built for one
Common errors
- Tabs are expanded to four spaces before layout
- A proportional font changes the cell width but not the grid
- Trailing spaces are preserved
Example use cases
- A terminal screenshot replacement
- A text banner for a README
Sample input
a 40 × 12 block of ASCII at 12 px in monospace
Sample output
about a 300 × 180 PNG, measured from the font
Who this is for
- Developers sharing terminal output
- Fans of retro text art
Frequently asked questions
Does my image get uploaded anywhere?
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
What is the maximum image size?
It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank. The limit exists because a browser tab has to hold the decoded bitmap in memory.
What happens if the file cannot be decoded?
The page refuses it by name — unsupported type, decode failure, zero pixels, or above the pixel cap — and shows the measured size rather than drawing a blank canvas. The file you chose stays selected so you can correct one option and try again.
Why does my art look stretched?
ASCII art is usually built for a monospace cell that is taller than it is wide. This page measures the cell from the font and uses a 1.2 line height, so the shape is preserved; choosing a proportional font is what stretches it.
Can I paste a large ASCII image?
Up to 200 lines of 400 characters. Beyond that the output canvas would exceed the 16-megapixel cap, and the page refuses with the size it would have been.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.