Convert an image to ASCII art in the browser.
The Image to ASCII tool converts a picture into text art. Choose an image, set the output width, pick a character set and optionally invert the brightness. The result can be copied as plain text. It is a fun way to make banners for terminals, READMEs and chat.
ASCII art maps brightness to characters. The image is scaled to a grid of columns and rows, and each cell takes the brightness of its pixel, calculated from the red, green and blue values with weights that approximate how the eye sees brightness. A string of characters ordered from sparse to dense, such as a space, a dot and then heavier symbols, is used as a ramp, and each cell picks the character matching its brightness. Text characters are about twice as tall as they are wide, so the number of rows is reduced to keep the picture from looking stretched. Transparent pixels are treated as white. By default dense characters stand for dark pixels, which suits dark text on a light background. Inverting flips that for light text on a dark background.
Monospaced fonts have different aspect ratios. The tool assumes characters are about twice as tall as wide. Adjust the width or the font and line height where you paste it.
No. The file is read and drawn to a canvas locally, and nothing is sent to a server.
Standard is a good default. Detailed gives finer tones on large widths, Blocks looks smoother but needs Unicode font support, and Binary gives a 0 and 1 effect.
The image is drawn once, so you get a single frame, usually the first.
No. The output is plain text based on brightness only.