TXT

Image to ASCII Art

Convert an image into copyable text-based ASCII artwork

Image to ASCII Art — what it does

Convert an image into text art by sampling its brightness and mapping each region to a character from a density ramp you choose. Set the character width, pick a character set, optionally invert brightness for dark backgrounds, and copy the result as plain text that renders anywhere a monospace font does.

When this tool helps

  • Making a text banner or logo for a terminal, README or command-line tool.
  • Producing an image-free representation for a plain-text email or a bulletin board post.
  • Creating retro-styled artwork for a personal site or code comment.

How to use it

  1. Choose an image with clear contrast.
  2. Set the character width in columns.
  3. Pick a character set and invert brightness if needed.
  4. Process, then copy or download the ASCII art.

Accuracy, limits, and good practice

  • High-contrast images with a clear silhouette convert far better than busy photographs — detail turns to noise at character resolution.
  • Invert brightness when the art will sit on a dark terminal; the mapping that reads correctly on white reads inside-out on black.
  • Characters are taller than they are wide, so the output looks vertically stretched unless the renderer's line height is tightened.

Frequently asked questions

What width should I use?

80 columns suits terminals and email, 100 to 150 gives more detail on a webpage. Wider output needs horizontal scrolling.

Does the character set matter?

A lot. A longer ramp gives more tonal steps and smoother gradients; a short set produces a starker, more graphic look.

Can I convert it back to an image?

Not from the text. Screenshot the rendered art if you need it as a picture.

Related tools on this site

Everything above runs inside this page. Image to ASCII Art needs no account, no upload, and no server round trip — close the tab and nothing is left behind.

圖片轉 ASCII 字元畫能做什麼

把圖片取樣亮度,再把每個區塊對應到你選定的字元密度階,藉此轉成文字畫。設定字元寬度、挑選字元集,必要時反轉亮度以配合深色背景,結果是純文字,任何支援等寬字型的地方都能顯示。

什麼時候用得上

  • 為終端機、README 或命令列工具做文字橫幅或標誌。
  • 為純文字郵件或論壇貼文,做出不需圖片的視覺呈現。
  • 為個人網站或程式註解製作復古風格的圖案。

使用步驟

  1. 選擇對比清楚的圖片。
  2. 設定字元寬度(欄數)。
  3. 挑選字元集,必要時反轉亮度。
  4. 執行轉換,再複製或下載字元畫。

精確度、限制與實務建議

  • 輪廓清楚、對比高的圖遠比細節繁雜的照片好轉——在字元解析度下,細節只會變成雜訊。
  • 作品要放在深色終端機時請反轉亮度;在白底看起來正確的對應,在黑底會整個反過來。
  • 字元高比寬大,除非把行高收緊,輸出看起來會被縱向拉長。

常見問題

寬度該設多少?

終端機與郵件用 80 欄,網頁上 100 到 150 欄細節更多。再寬就需要水平捲動。

字元集有差嗎?

差很多。階數多的字元集色調層次細、漸層平順;字元少則呈現更強烈的圖像感。

可以轉回圖片嗎?

文字本身無法還原。需要圖片時,請對渲染後的成果截圖。

本站相關工具

以上步驟全部在這個頁面內完成,圖片轉 ASCII 字元畫 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。