RunLocalTools

Image to ASCII Art Converter — Free Online Tool

Convert any photo into ASCII text art in your browser. Adjust density, pick a character set, add color, or try edge-aware mode for a sketch-like look. Export as text, colored HTML, or PNG — nothing uploads anywhere.

What it does

This tool turns a photo into text-based art: each part of the image becomes a character chosen for how light or dark (or how edge-heavy) that area is. You control how dense the output is, which characters get used, whether it’s plain monochrome or fully colored, and can export it as plain text, a colored HTML page, or a rendered PNG image.

How it works

The source image is first downsampled to a grid — one cell per output character — with the row count automatically corrected for the fact that monospace characters are taller than they are wide, so the result doesn’t come out squashed. Each cell’s brightness (after your brightness/contrast adjustments) is mapped onto a character ramp running from sparse to dense, so darker or lighter cells naturally pick up “heavier” or “lighter” characters.

Edge-aware mode is the less common feature here: instead of relying purely on brightness, it runs a Sobel edge-detection pass over the downsampled grid and, wherever it finds a strong edge, picks a directional character (/, \, |, or -) that follows the edge’s angle rather than the plain brightness ramp. The effect leans more sketch-like, with outlines that read more clearly than pure shading-based ASCII art tends to.

How to use it

  1. Add a photo.
  2. Adjust the density slider — more columns means finer detail but a much larger output.
  3. Pick a character set: the classic light-to-dark ramp, block shading characters, a stark 2-character binary look, or type your own custom ramp (ordered light to dark).
  4. Switch to Color mode if you want each character tinted to match its source pixel, and pick a light or dark background.
  5. Try Edge-aware mode for a more outline-driven, sketch-like result — adjust its sensitivity if too much or too little is picked up as an edge.
  6. Copy the plain text, or download it as a .txt file, a colored .html page, or a rendered .png image.

Supported exports

  • Copy / .txt — the raw character grid, monochrome, ready to paste anywhere plain text is accepted (code comments, chat, forums).
  • Colored .html — a standalone page with each character wrapped in its source color, viewable in any browser.
  • .png — a rendered image of the art at a fixed monospace size, useful for sharing as a picture rather than text.

FAQ

Why does my ASCII art look stretched or squashed? It shouldn’t — the row count is automatically corrected for monospace character proportions. If you’re viewing the exported .txt file somewhere that doesn’t use a monospace font, though, it will look distorted; view it in a code editor, terminal, or the exported HTML/PNG instead.

What’s the best density for a good result? It depends on the image and where you’re using it — lower density (40–80 columns) reads well in chat or code comments, while higher density (150+) looks better as a large image or print, but produces a much bigger text block.

Can I use my own character set? Yes — pick “Custom” and type any sequence of characters, ordered from lightest to darkest. A short custom ramp (2–4 characters) gives a bold, high-contrast look; a long one gives smoother gradients.

What does “Edge-aware mode” actually change? It’s most noticeable on portraits and images with clear outlines — instead of shading everything by brightness alone, strong edges get replaced with slanted or straight characters that trace the edge’s direction, which can make silhouettes and outlines read more clearly than shading alone would.

Does color mode work with the plain text export? No — plain text and the copy button are always monochrome, since color needs to be attached to each character somehow. Use the colored HTML or PNG export to keep the color.

Is there a limit to how large an image I can convert? The density slider is capped to keep output readable and performant, but there’s no upload size limit — everything runs locally, so very large source photos work fine; they’re simply downsampled to your chosen density either way.

Privacy

Your image is processed and saved entirely in your browser — it’s saved locally only so an accidental refresh doesn’t lose your work, and it’s never uploaded. Use “Clear saved image” any time, especially on a shared or public computer.