UTILS.
Private by default
🖼A

Image to ASCII Art

Convert an image into ASCII art with an adjustable character width.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
Drop an image here or click to choose

About this tool

Image to ASCII Art converts a picture into lines of plain text characters. Choose an image and set the width in characters with the slider (20 to 200); the art appears in a monospaced box and the Copy button puts the text on your clipboard.

The picture is scaled to a grid of the chosen number of columns. Because text characters are about twice as tall as they are wide, the row count is halved to keep the proportions. Each cell's brightness is computed from its colour and mapped onto a ten-character ramp, ' .:-=+*#%@': dark cells become spaces and bright cells become @. That suits light text on a dark background, so pasted into a white page the image looks inverted. Transparent pixels count as white. Tall, narrow images may be limited to fewer columns so the output stays a manageable size.

Images up to 25 MB, 16 megapixels and 8192 pixels on a side are accepted (JPEG, PNG, WebP, GIF, BMP or SVG); larger files are refused with a message rather than processed. The image is processed on a canvas in your browser and nothing is uploaded.

Frequently asked questions

How does it turn pixels into characters?
The image is drawn onto a small canvas, the brightness of each cell is measured, and that value picks one of ten characters from a ramp that runs from a space for darkest to @ for brightest.
Why does my ASCII art look inverted?
The ramp assigns dense characters to bright pixels, which looks right as light text on a dark background. On a white page, paste it into a dark editor or invert the image first.
Why is the maximum width lower for some images?
To keep the text and canvas bounded, very tall, narrow pictures get a lower column limit than the 200 maximum. The slider range adjusts automatically.
Is my image sent anywhere?
No. The image is read locally and processed on a canvas in your browser; nothing leaves your device.

More tools