ASCII Art
Visual art created from text characters, originally limited to the 95 printable ASCII characters. Unicode expands the palette with box-drawing characters, block elements, and braille patterns.
What is ASCII Art?
ASCII art is the practice of creating visual images, diagrams, and decorative text using characters from the ASCII character set (or, in modern usage, the broader Unicode character set). It originated in the era of teletype and early computer terminals, where bitmap graphics were unavailable and all output was character-based. ASCII art spread through bulletin board systems (BBS), Usenet, email signatures, and early web pages in the 1980s and 1990s.
While classic ASCII art uses the 95 printable ASCII characters (U+0020–U+007E) — particularly letters, digits, slashes, underscores, and pipe characters — Unicode dramatically expanded the creative palette available to text-based artists with three key character ranges.
Unicode Box-Drawing Characters (U+2500–U+257F)
The Box Drawing block (128 characters) provides lines and corners for drawing rectangular diagrams, table borders, and flow charts entirely in text. These characters are drawn to align precisely with adjacent box-drawing characters, making them ideal for terminal user interfaces (TUIs), data tables, and tree displays.
┌─────────────────┐
│ Unicode Table │
├──────┬──────────┤
│ Code │ Name │
├──────┼──────────┤
│U+2500│ BOX DRAW │
│U+2502│ VERTICAL │
└──────┴──────────┘
Heavy and double-line variants (┃, ━, ╔, ╗, ╠, ╣) allow visual hierarchy in complex diagrams. Frameworks like rich (Python) and blessed use these characters extensively.
Unicode Block Elements (U+2580–U+259F)
The Block Elements range (32 characters) provides fractional block fills — upper half, lower half, left quarter, right quarter, and eight levels of vertical fill. These allow pixel-level approximation in a character grid, enabling grayscale images to be rendered in terminal output.
▓▒░ ← Full, medium, light shade
▄▀█ ← Lower half, upper half, full block
Modern terminal image viewers like catimg and viu use block elements to display photographs at quarter-cell resolution, giving the impression of twice the vertical resolution of the character grid.
Unicode Braille Patterns (U+2800–U+28FF)
The Braille Patterns block (256 characters) encodes all possible combinations of the 8 dots in a Braille cell. While designed for tactile display devices, these characters are also used by Unicode artists to achieve very high-resolution text art, since each Braille character can represent an 2×4 grid of on/off pixels — giving 8 "pixels" per character cell.
# Each Braille character is a 2x4 dot matrix
# Bit positions: 1 4
# 2 5
# 3 6
# 7 8
# U+2800 = all dots off (blank)
# U+28FF = all 8 dots on (⣿)
Terminal art generators use Braille to render bitmap images at approximately 160 DPI equivalent in a standard 80×24 terminal.
Quick Facts
| Property | Value |
|---|---|
| Classic ASCII art range | U+0020–U+007E (95 printable ASCII characters) |
| Box Drawing block | U+2500–U+257F (128 characters) |
| Block Elements block | U+2580–U+259F (32 characters) |
| Braille Patterns block | U+2800–U+28FF (256 characters) |
| Braille pixel density | 8 pixels per character cell (2×4 grid) |
| Notable Python library | rich (box-drawing for terminal UI) |
| Historical origin | Teletype terminals, BBS culture (1970s–1990s) |
관련 용어
인코딩의 더 많은 용어
미국 정보 교환 표준 부호. 0~127의 128개 문자를 다루는 7비트 인코딩으로, 제어 …
Binary-to-text encoding that represents binary data using 64 ASCII characters (A–Z, a–z, …
주로 대만과 홍콩에서 사용되는 번체 중국어 문자 인코딩으로, 약 13,000개의 CJK 문자를 …
확장 이진화 십진법 교환 부호. 문자 범위가 연속적이지 않은 IBM 메인프레임 인코딩으로, …
KS X 1001 기반의 한국어 문자 인코딩으로, 한글 음절과 한자를 2바이트 시퀀스에 …
간체 중국어 문자 인코딩 체계: GB2312(6,763자)에서 GBK를 거쳐 GB18030으로 발전하였으며, 유니코드와 호환되는 …
IANA가 관리하는 문자 인코딩 이름의 공식 레지스트리로, HTTP Content-Type 헤더와 MIME에서 사용됩니다(예: …
서로 다른 언어권을 위한 8비트 단일 바이트 인코딩 모음. ISO 8859-1(Latin-1)은 유니코드 …
단일 바이트 ASCII/JIS 로만과 이중 바이트 JIS X 0208 한자를 결합한 일본어 …
BMP(U+0000~U+FFFF)만 지원하는 구식 고정 2바이트 인코딩. UTF-16의 전신으로 보충 문자를 표현할 수 …