Converts an image into ASCII art.
Image to ASCII converts an image into ASCII art directly in your browser. It samples the image, maps each pixel's brightness to a character from a density ramp (@%#*+=-:. ), and produces text art you can copy anywhere. It's handy for adding image-based banners to terminals, README files, code comments, or chat messages.
No. The conversion runs entirely in your browser using a canvas and local pixel data. Your image is never uploaded and nothing leaves your device.
Any image format your browser can decode is accepted, since loading is handled by the browser's native Image element. This typically includes PNG, JPEG, GIF, WebP, and SVG.
Use the Columns option to set the output width in characters (default 80). The value is clamped between 1 and 400, and the height is computed automatically from the image's aspect ratio (scaled by 0.5 to account for taller-than-wide character cells).
Each pixel's luminance is calculated as 0.299*R + 0.587*G + 0.114*B, then mapped to one character from the ramp '@%#*+=-:. '. Darker pixels use denser characters and brighter pixels use lighter ones, so color is reduced to brightness only.
Output width is limited to a maximum of 400 columns, and height is multiplied by 0.5 so the art isn't vertically stretched in fixed-width fonts. View the result in a monospaced font for correct proportions.