EditSafely

Create ANSI Art from PNG

Turn a PNG into colored terminal art made of half-block characters.

Runs on your device, nothing uploaded

Drop an image anywhere on this page

or paste with Ctrl / ⌘ + V ·

Accepts PNG

Your PNG files never leave this tab

Create ANSI Art from PNG is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.

  • No upload
  • No file size limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Create ANSI Art from PNG

  1. 1. Drop in your PNG. Add the picture you want to show in a terminal. Icons, pixel art and logos work best at the narrow widths terminals allow.
  2. 2. Choose the width and color depth. Set how many columns wide the art should be. Use 24-bit color for modern terminals, or 256 colors when the art has to show in older ones.
  3. 3. Copy the ANSI art. Each character is a half block colored with escape codes, so one cell shows two pixels. Copy the text, or download it and print it with cat or echo.

When to use Create ANSI Art from PNG

Create ANSI Art from PNG turns a picture into text a terminal can draw in color. It uses upper and lower half blocks so every character cell carries two square pixels, and transparent parts of the PNG fall back to the terminal's own background.

  • A colored logo for a CLI. Your command line tool prints a welcome banner. Pasting the escape-coded art into the program shows the real logo colors instead of plain text.
  • A login message or shell greeting. Put the art in a message-of-the-day file or a shell startup script so a small picture greets you whenever you open a terminal.
  • Pixel art in a terminal. Sprites and pixel art keep their crisp look because each half block maps to exactly one pixel when the width matches the sprite.

Examples

Icon for a terminal

Input

icon.png + width 40

Output

40 columns of ▀ characters with escape-code colors

About the Create ANSI Art from PNG tool

Create ANSI Art from PNG runs as plain JavaScript in your browser tab, with no server behind it. Turn a PNG into colored terminal art made of half-block characters. Whatever you put in stays on your device from start to finish.

The tool is part of EditSafely's PNG Tools section, 292 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.

You can shape the output with 2 settings, including Width (characters) and Colors; the result is redone automatically when you change one. A worked example further down the page shows exactly what the tool produces for a real input.

That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, there is no upload to wait for, and it is safe to use with confidential photos and documents.

Frequently asked questions

Does Create ANSI Art from PNG cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

Which files does Create ANSI Art from PNG accept?

It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

Click Copy to put it on your clipboard, or Download .txt to save it as a file. Drop another image to start again.

Related tools

All PNG Tools →