ANSI Art Converter (Image to .ANS)

Upload image, generate ANSI art, download .ans file

🖼

Drop image here or click to select

PNG, JPG, GIF, WebP

Advanced Settings
Tip: Best results with comic-style images

The ANSI Art Converter produces the best results with images that already have strong outlines, flat color areas, and high contrast — comic illustrations, vector art, logos, pixel art, and cartoon-style graphics work particularly well. Photographs can be converted too, but the output shines brightest with stylized source material.

See it in action: The Midgard MUD login screen was created with this converter.

What is ANSI Art?

ANSI art is a form of digital art that uses ANSI escape codes — special character sequences controlling text color, background color, and cursor position in terminal emulators. It originated in the BBS (Bulletin Board System) era of the 1980s and 1990s, when artists created stunning images using nothing but block characters (█▓▒░) and 16-color palettes on text-mode displays.

Unlike ASCII art, which relies solely on printable characters, ANSI art uses escape sequences for color and Unicode block characters for pixel-like rendering. Modern ANSI art supports True-Color (24-bit, 16.7 million colors) and remains popular in the demoscene, retro computing, MUD (Multi User Dungeon) communities, and terminal customization.

How to Convert an Image to ANSI Art

  1. Upload your imageDrag and drop a PNG, JPG, GIF, or WebP file onto the upload area, or click to browse.
  2. Choose a presetPick from High Detail (True-Color), Retro (demoscene), Comic (Pop Art), or Minimal (16 colors).
  3. Fine-tune (optional)Adjust width, color mode, character set, saturation, contrast, and background color in Advanced Settings.
  4. Download or copySave the .ans file or copy the raw ANSI codes to your clipboard.

Features

6 Color Modes True-Color 24-bit, VGA 256, xterm 256, 16-color ANSI, Retro/Demoscene, Comic/Pop Art
Block Characters Half-blocks (▄) for maximum detail or full block set (█▓▒░▄) for classic shading
Dithering Floyd-Steinberg error diffusion for smooth color gradients in limited palettes
100% Private No upload — all processing runs locally in your browser using Canvas API
Fine Control Adjustable width, saturation, contrast, and background color with custom values
7 Languages English, Deutsch, Français, Español, 日本語, 中文, العربية

Where to Use ANSI Art

  • MUDs & MUD clients — login screens, room art, maps, NPC portraits
  • Terminal emulators — colored text art for shell prompts, MOTD, scripts
  • BBS systems — classic bulletin board art and splash screens
  • Demoscene — retro art competitions and productions
  • Discord & chat — ANSI-colored code blocks for decorative text
  • READMEs & docs — eye-catching terminal-rendered graphics

FAQ

What is an .ans file?

An .ans file is a plain text file containing ANSI escape codes that produce colored text art when displayed in a compatible terminal or viewer. The format uses escape sequences like ESC[38;2;R;G;Bm for 24-bit foreground colors and Unicode block characters to create pixel-like images. You can view .ans files in terminal emulators, MUD clients (Mudlet, CMUD), BBS software, or specialized viewers like PabloDraw and Moebius.

What is the difference between ANSI art and ASCII art?

ASCII art uses only printable ASCII characters (letters, numbers, symbols) to form images — it's monochrome and relies on character density for shading. ANSI art adds color through escape codes and uses Unicode block characters (█▓▒░▄) for pixel-like rendering. ANSI art can display millions of colors and achieves much higher visual fidelity than pure ASCII art.

Is the converter free? Is my data safe?

Yes, the ANSI Art Converter is completely free. Your images are never uploaded — all processing happens locally in your browser using the HTML5 Canvas API. No data leaves your device.

Which color modes should I choose?

True-Color (24-bit) gives the best quality with 16.7 million colors — ideal for photo-realistic results. VGA 256 and xterm 256 are compatible with more terminals. 16-color ANSI works everywhere but is limited. Retro mode uses classic demoscene block shading. Comic mode applies bilateral filtering for a Pop Art look with vivid colors.

Can I use ANSI art in a MUD?

Yes! ANSI art is widely used in MUDs (Multi User Dungeons) for login screens, room illustrations, maps, and NPC portraits. Most MUD clients (Mudlet, TinTin++, CMUD) support ANSI escape codes natively. For best results, use True-Color mode and a width of 78 characters (the standard MUD terminal width).