.ANS

ANS File

ANSI Art File
Ask a question
QUICK ANSWER

An ANS file is an ANSI art file - a text document using IBM CP437 characters and ANSI color escape sequences to display colorful terminal images and animations, created mainly for DOS bulletin board systems in the 1990s. To view it with correct colors, use PabloDraw, Moebius, or ANSiLove. Plain text editors open the file but show raw escape codes instead of the artwork.

Developer: N/A (community standard; based on ANSI X3.64 / ECMA-48 escape codes) Category: Text Files Open standard MIME: text/plain
OPENS ON Windows macOS Linux Web
Related: .DOC · .ODT · .DOCX · .GDOC

On this page

19k+ extensions indexed
Last reviewed Jul 26, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the ANS file format?

An .ans file is an ANSI art document - a text-based image or animation composed of IBM Code Page 437 (CP437) block and line-drawing characters combined with ANSI X3.64 escape sequences for color and cursor control. The format flourished on DOS-era bulletin board systems (BBS) from roughly 1988 to 1996 and remains an active niche art form today.

The file content is a stream of CP437 bytes and ESC[ escape sequences (defined in ANSI X3.64 / ECMA-48) controlling 16 foreground colors, 8 background colors, and cursor position. Most .ans files are 80 columns wide to match the standard DOS terminal. ANSImations use cursor-repositioning sequences to produce frame-by-frame animations within the same file.

Many .ans files include an optional 128-byte SAUCE (Standard Architecture for Universal Comment Extensions) metadata record appended at the end of the file, standardized by ACiD Productions in 1994. The SAUCE record carries the artwork title, author, group name, and creation date.

The .ans extension is closely related to .asc (plain ASCII art) and NFO files, which use similar CP437 characters without color codes. Specialized editors such as PabloDraw and Moebius create and render .ans files correctly, while modern terminals (Windows Terminal, macOS Terminal) can display them with proper CP437 font support. Archives of BBS-era ANSI art are preserved at 16colo.rs and textfiles.com.

Security & safety

RISK: LOW

ANS files are plain text with no executable code. Safe to open in any viewer. The only caution: some historical ANSI art contains offensive or NSFW content from the BBS scene era - review before displaying in public contexts.

Format details

in a nutshell
FULL NAMEANSI Art Fileaka ANSI text file, ANS art file
DEVELOPERN/A (community standard; based on ANSI X3.64 / ECMA-48 escape codes)since Mid-1980s (popularized on DOS BBS systems ~1988-1994)
CATEGORYText Files
MIME TYPEtext/plain
TYPEPlain text with embedded ANSI escape sequences and CP437 characters
STANDARDOpen · royalty-free
This extension is also used by…
  • Ansible Playbook (YAML) - Some Ansible automation files use .ans extension but this is non-standard; .yaml/.yml is the correct extension.
  • Answer File - Some software setup tools (Windows unattended setup answer files) historically used .ans - largely superseded by .xml answer files.

Programs that open ANS files

Windows5 apps
Windows Notepad Built-in Opens the file but renders escape codes as garbled characters - does not display ANSI colors.
NotePad++ text editor Open-source Opens the file as raw text; shows escape codes, not rendered artwork. Useful only for inspecting raw bytes, not for viewing the art.
PabloDraw Open-source File > Open the .ans - PabloDraw is a dedicated ANSI/ASCII/RIPScript art editor and viewer with correct CP437 rendering and SAUCE support.
Moebius Open-source Open the .ans - Moebius is a modern cross-platform ANSI art editor with correct color rendering.
Windows Terminal Open-source Run 'type filename.ans' in Windows Terminal (not legacy cmd.exe) for color rendering; or use 'cat' in WSL.
macOS2 apps
PabloDraw Open-source Open the .ans for viewing/editing with correct CP437 and color rendering.
macOS Terminal Built-in Run 'cat filename.ans' in Terminal - macOS Terminal supports ANSI colors but may need UTF-8/CP437 encoding set correctly.
Linux4 apps
gedit Open-source Opens as text; does not render ANSI colors. Useful for viewing raw content only.
Vim Open-source vim filename.ans - shows raw text with escape codes; install AnsiEsc plugin (:AnsiEsc) for color rendering.
ANSiLove Open-source ansilove filename.ans -o output.png - converts ANS to PNG with correct CP437 rendering. The reference tool for ANSI art conversion.
PabloDraw Open-source Open the .ans for viewing/editing.
Web1 app
16colo.rs (archive + viewer) Free Search or browse the ANSI art archive; files render correctly in-browser with CP437 font.

Technical details

deep spec
Character encodingIBM Code Page 437 (CP437) - 8-bit DOS character set with block and line-drawing characters
Color depth4-bit: 16 foreground + 8 background colors (EGA/CGA palette via ANSI.SYS); iCE Color mode extends to 16 background colors
Escape sequence standardANSI X3.64 / ECMA-48: `ESC[` sequences for color selection and cursor positioning
Standard display width80 columns (standard DOS terminal width); height is unlimited
Typical file size1 KB - 100 KB
Metadata recordOptional 128-byte SAUCE record appended at EOF (title, author, group, date, file type info)
SAUCE standardSAUCE v0.5 - specified by ACiD Productions, 1994
Animation supportANSImations use `ESC[` cursor-repositioning sequences for frame-by-frame animation
iCE Color extensionBackground attribute bit 3 used as brightness (not blink), enabling 16 total background colors
File identificationNo fixed magic bytes; ESC byte (0x1B) followed by `[` (0x5B) is the practical content indicator; `SAUCE` string at byte −128 from EOF when metadata record is present
Related formats`.asc` (ASCII art, no color), `.nfo` (scene release info), `.rip` (RIPscrip vector terminal graphics)
Primary platformDOS (ANSI.SYS driver); modern display via Windows Terminal, macOS Terminal, Linux terminal with CP437 font
ReleasedMid-1980s (popularized on DOS BBS systems ~1988-1994)
Latest versionNo versioning; format is frozen; SAUCE metadata record (1994) is the closest to a standard extension
Open standardYes · royalty-free
Specificationwww.acid.org

ANS conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with ANS files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about ANS files.

Frequently asked questions

How do I view an ANS file with colors?
Use PabloDraw (free, cross-platform), Moebius, or ANSiLove (Linux command-line). Plain text editors show the raw escape codes instead of the artwork.
Can Windows Notepad open ANS files?
Yes, but it won't show the artwork - you'll see garbled escape code characters. Use PabloDraw or Windows Terminal ('type filename.ans') for correct rendering.
How do I convert ANS to PNG?
Use ANSiLove (Linux/macOS command-line: 'ansilove input.ans -o output.png') or PabloDraw's export function. Both correctly render CP437 fonts and 16-color ANSI palette.
What is an ANSImation?
An ANSImation is an animated ANSI art file that uses cursor-movement escape sequences to update the screen over time, creating a frame-by-frame animation effect in DOS terminals.
Where can I find ANSI art files?
The largest archives are 16colo.rs (searchable modern archive) and textfiles.com/ansi/ (historical BBS artpacks). ACiD Productions and other groups distributed monthly artpacks from 1990-2000.
Is .ANS the same as ASCII art?
Related but different. ASCII art uses only standard 7-bit ASCII characters. ANSI art uses the full 256-character IBM CP437 set (including block/box characters) plus color escape sequences - a wider, richer medium.

References

1ANSI art - Wikipediaen.wikipedia.org
2SAUCE standard (ACiD Productions)www.acid.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.ICSiCalendar data file

Related extensions

.DOCMicrosoft Word 97-2003 Document
.ODTOpenDocument Text
.DOCXMicrosoft Word Open XML Document
.GDOCGoogle Docs Shortcut (Link to a Google Docs document)
.LSTList File (generic plain-text list / listing)
.VNTvNote (mobile phone text note / memo)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z