Free online image to ASCII converter

Image to ASCII converter made of plain text

Drop a photo or logo and watch it become lines of characters. Choose how wide the art is, which characters it uses and whether to invert it, then copy the text or save a .txt or PNG. Nothing is uploaded.

  • No sign-up
  • No watermarks
  • The picture stays on your device

From a picture to a block of characters

Add one image, shape the art with three settings, then take the text or the PNG. The result updates as you change a setting.

  1. Step 01

    Add one image

    Drop a JPG, PNG, WebP, GIF or BMP on the page, or pick it from your gallery. It can be up to 20 MB.

  2. Step 02

    Set width, characters and invert

    Slide the width between 40 and 200 characters, choose Detailed, Simple or Blocks, and flip the brightness if the art looks washed out.

  3. Step 03

    Copy the text

    Press Copy text and paste the art into a README, a chat message or a code comment. Use a monospace font so the lines stay aligned.

  4. Step 04

    Save a .txt or a PNG

    Download photo-ascii.txt for the raw text or photo-ascii.png for an image of the art, named after your original file.

What you get from one picture

  • The art redraws the moment you move the width slider, switch the character set or invert it.
  • Three character sets, from a dense ten-step gradient to a few simple marks and block shading.
  • A preview that shrinks its font to fit your screen, so a phone shows the whole picture without sideways scrolling.
  • Plain text you can paste anywhere, plus a PNG with dark characters on a light page.
  • Transparent PNG logos are drawn on white, so the background does not turn into a black block.
  • No account, no watermark and no ad placed over the art.
  • Your picture is decoded by the browser and never sent to a server.

How brightness becomes a character

ASCII art is a picture drawn with letters, digits and punctuation. The idea is simple: every character covers a different amount of the page with ink. An at sign looks heavy and dark, a dot looks light, and a space looks like nothing at all. If you line up characters from heaviest to lightest, you get a ramp that works like a grayscale scale.

The converter first shrinks your picture to the number of columns you picked. Each small block of pixels becomes one character. Its brightness is worked out from the red, green and blue values with the usual luma weights: 0.299 for red, 0.587 for green and 0.114 for blue, because the eye reads green as the brightest. Transparent areas are laid over white first. The brightness, from 0 to 255, is then matched to a position on the ramp, so dark pixels pick heavy characters and light pixels pick spaces.

Characters are about twice as tall as they are wide, so the converter takes fewer rows than columns. A square picture at 100 columns becomes roughly 50 rows. Without that correction the art would look stretched like a tall, narrow copy of the original.

Width decides how much detail survives. Around 60 characters gives a bold, readable sketch that fits a chat message. At 100, the default, faces and edges start to show. At 160 to 200 you get fine detail, but the lines are long, so the art only looks right in a wide window or on the PNG. The Detailed set uses ten graded characters and suits photos. Simple uses five and gives a cleaner, poster-like look for logos. Blocks uses the shading characters ░▒▓█, which fill the cell and look smoother than letters.

Invert swaps the ramp, and the right choice depends on where the art will live. The text is dark ink on a light page, so a dark subject on a white background reads well as it is. If you paste the art into a dark terminal or a dark theme, the letters are light on dark, and inverting keeps the subject bright instead of turning it into a hole. In short, flip it when the picture looks like a negative.

For the best result, start with a picture that has strong contrast and one clear subject: a portrait against a plain wall, a bold logo or a silhouette. Busy backgrounds and soft, low-contrast photos turn into noise. Crop tightly before you convert, because the character grid has no room to spare for empty borders.

Our test: five generated pictures at the default settings

We ran the converter in Chromium on five pictures made for the test, each at 100 columns with the Detailed set and no invert. Time is measured from choosing the file to the finished art.

gradient.png, 148.6 KB100×25 characters in 0.24 s, .txt 2.5 KB
landscape.jpg, 71.9 KB100×31 characters in 0.25 s, .txt 3.1 KB
logo-transparent.png, 13.4 KB100×50 characters in 0.16 s, .txt 4.9 KB
title.webp, 4.4 KB100×25 characters in 0.17 s, .txt 2.5 KB
circle.bmp, 351.6 KB100×38 characters in 0.17 s, .txt 3.7 KB

The transparent logo came out with a blank first line because its clear corners are drawn on white. Each .txt matched the preview, and gradient.png was saved as gradient-ascii.txt.

What this converter cannot do

  • It converts one image at a time. For another picture, press Convert another image and add the next file.
  • An animated GIF gives you art from its first frame only, not from the whole animation.
  • The art is plain text without color, so a colorful photo becomes a single-tone drawing.
  • Pasted art needs a monospace font such as Courier or Consolas; in a proportional font the lines drift out of line.
  • A file larger than 20 MB, or anything that is not a JPG, PNG, WebP, GIF or BMP, is not accepted.

Image to ASCII: quick answers

Is my picture uploaded anywhere?

No. Your browser decodes the picture and draws the characters on your device. Only the file name, size and your settings are remembered so the page survives a reload.

Which formats does the converter accept?

JPG, PNG, WebP, GIF and BMP, up to 20 MB. The file is checked by its content, not just its extension, so a renamed text file is turned away with a clear message.

How do I pick the width?

Use 60 to 80 characters for chat messages and comments, 100 for general use and 150 or more when you want fine detail in a PNG. The slider runs from 40 to 200.

Why does the art look like a negative?

The characters are drawn as dark ink on a light page. If you paste into a dark theme, the brightness reverses, so turn on invert to bring the subject back.

Why do my pasted lines look crooked?

The place you pasted into is using a proportional font. Switch that field to a monospace font, or use the PNG, which looks the same everywhere.

Is there a watermark on the PNG?

No. The PNG holds only the characters, dark on a light background, and the .txt file holds the same text you see in the preview.

Got a picture to turn into text?

Add a photo or logo and have ASCII art ready to copy in seconds — free, with no account and no watermark.

Convert image to ASCII

About ToolperLast updated: Privacy