.ASCII

ASCII File

ASCII Text File
Ask a question
QUICK ANSWER

An ASCII file is a plain-text file that stores only the 128 characters defined by the ASCII standard - letters, digits, punctuation, and basic control codes. Open it in any text editor: Notepad, Notepad++, TextEdit, or VS Code. If you see garbled characters, the file is not pure 7-bit ASCII but an 8-bit or UTF-8 text file - reopen it with the correct encoding selected.

Developer: ANSI (ASCII standard, ANSI X3.4 / ISO 646); no single vendor Category: Text Files Open standard MIME: text/plain
OPENS ON Windows macOS Linux
Related: .DOC · .ODT · .DOCX · .GDOC

On this page

19k+ extensions indexed
Last reviewed Jun 28, 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 ASCII file format?

The .ascii extension identifies a plain-text file encoded entirely in the 7-bit ASCII character set (American Standard Code for Information Interchange), formalized as ANSI X3.4-1986 and ISO/IEC 646. Every byte falls in the range 0x00-0x7F: printable characters occupy 0x20-0x7E, while control codes such as tab (0x09), line feed (0x0A), and carriage return (0x0D) handle whitespace and line breaks.

The extension itself is uncommon in everyday use. Most plain-text content travels under the far more familiar .txt extension; files labelled .ascii are typically exports, data dumps, or documentation packages created by tools that want to make the encoding explicit.

Because ASCII is a 7-bit scheme covering only 128 code points, it cannot represent accented letters, non-Latin scripts, or symbols beyond the basic English alphabet. UTF-8 was designed as a superset: any file that stays within the 128-character ASCII range is byte-for-byte identical whether you call it ASCII or UTF-8, so modern software reads .ascii files transparently.

.ascii files carry no file signature (magic bytes) and no byte-order mark (BOM). Identification relies on content inspection - every byte must be below 0x80. Line endings follow the host-OS convention: LF on Unix and macOS, CR+LF on Windows. The standard MIME type is text/plain, optionally qualified as text/plain; charset=us-ascii.

Any plain-text editor opens .ascii files without conversion or plugins. Related extensions serving similar roles include .asc, .log, and .ansi.

Security & safety

RISK: LOW

Plain ASCII text is among the safest file types - it contains no code and cannot execute. Open any .ascii file without concern. The only practical pitfalls are non-malicious: encoding mismatches that show garbled characters (the file isn't really 7-bit ASCII but an 8-bit/UTF-8 superset), and the rare case where a text file's extension was changed to hide a non-text payload - so if a supposed text file is unexpectedly large or binary, inspect it.

Format details

in a nutshell
FULL NAMEASCII Text Fileaka Plain ASCII text, ASCII-encoded text file
DEVELOPERANSI (ASCII standard, ANSI X3.4 / ISO 646); no single vendorsince 1963 (ASCII standard); .ascii as an explicit extension is a later convention
CATEGORYText Files
MIME TYPEtext/plain
TYPEPlain-text file using the 7-bit ASCII character set
STANDARDOpen · royalty-free
This extension is also used by…
  • 3ds Max ASCII Scene Export (.ase / 'ASCII' export) - Autodesk 3ds Max can export geometry as ASCII text (ASE); occasionally surfaces under an 'ascii' label, but the standard extension is .ase.
  • ASCII art / image-to-text output - Tools like jp2a render images as ASCII-character art saved as text; it's a plain-text file of characters, not an image format.

Programs that open ASCII files

Windows3 apps
Windows Notepad Built-in Double-click or open from Notepad; for a different encoding use File > Open and pick the encoding (or rename to .txt first).
Notepad Open-source Open the file; use the Encoding menu to switch (UTF-8/ANSI) if characters look garbled.
Visual Studio Code Free Open the file; the status bar lets you reopen with a chosen encoding if needed.
macOS2 apps
TextEdit Built-in Open the file (use Format > Make Plain Text). If garbled, reopen choosing the right encoding.
Visual Studio Code Free Open the file and pick an encoding from the status bar if needed.
Linux2 apps
gedit / GNOME Text Editor Open-source Open the file directly; gedit auto-detects common encodings and lets you choose one.
nano / vim (terminal) Open-source Open in a terminal editor to read or edit plain text quickly.

Technical details

deep spec
Encoding scheme7-bit US-ASCII; each character stored in the lower 7 bits of one byte (values 0-127)
Character set size128 code points: 95 printable characters (0x20-0x7E) and 33 control codes (0x00-0x1F plus 0x7F)
MIME typetext/plain; formally qualified as text/plain; charset=us-ascii
File signature (magic bytes)None - no fixed header; identified by content inspection (all bytes below 0x80)
Byte-order mark (BOM)Not used; ASCII is a single-byte encoding with no multi-byte sequences
Common control codesTab 0x09, line feed 0x0A, carriage return 0x0D; NUL 0x00 rarely appears in plain-text files
Line-ending conventionLF (0x0A) on Unix/macOS; CR+LF (0x0D 0x0A) on Windows; bare CR on legacy Mac OS
File structureFlat byte stream with no header, no metadata block, no length prefix, and no framing
Native compressionNone built-in; ASCII text compresses very efficiently - gzip typically achieves 3:1 or better on English prose
UTF-8 compatibilityEvery valid ASCII file is byte-for-byte valid UTF-8; the reverse is not true when bytes >= 0x80 appear
Maximum valid byte value0x7F (DEL character); any byte >= 0x80 indicates an 8-bit extension or multi-byte encoding, not pure ASCII
Identification methodContent scan: all bytes must be in range 0x00-0x7F and the data must be human-readable text
Supported platformsUniversal - Windows, macOS, Linux, Unix, DOS, embedded and legacy systems; no OS-specific dependencies
Typical use casesSource-code exports, log files, documentation packages, and data interchange requiring only basic Latin characters
Released1963 (ASCII standard); .ascii as an explicit extension is a later convention
Latest versionASCII (ANSI X3.4-1986 / ISO/IEC 646) - stable; superset is UTF-8
Open standardYes · royalty-free
Specificationwww.rfc-editor.org

ASCII conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with ASCII 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 ASCII files.

Frequently asked questions

How do I open an ASCII file?
Open it in any text editor - Notepad or Notepad++ on Windows, TextEdit on macOS, gedit on Linux, or VS Code anywhere. There's nothing proprietary; it's plain text. You can also rename it to .txt.
Is an ASCII file the same as a TXT file?
Essentially yes. .txt is the common plain-text extension; .ascii just labels text that uses the 7-bit ASCII set. The content and how you open it are the same, and you can usually rename between them.
Why does my ASCII file show weird/garbled characters?
It's probably not pure ASCII. Accented letters, symbols or non-Latin scripts use bytes above 127, meaning the file is really 8-bit (Latin-1/Windows-1252) or UTF-8. Reopen it in Notepad++ and pick the correct encoding.
How do I convert an ASCII file to PDF?
Open the text in any editor or word processor and use Print to PDF (Windows 'Microsoft Print to PDF' or macOS Print > Save as PDF), or import into LibreOffice/Word and export to PDF.
What's the difference between ASCII and UTF-8?
ASCII covers 128 characters (English letters, digits, basic symbols). UTF-8 is a backward-compatible superset that also encodes every other language and emoji. Every ASCII file is already valid UTF-8, which is why UTF-8 has largely replaced plain ASCII.
Can an ASCII file contain a virus?
Plain text can't execute, so a genuine ASCII file is safe. The only risk is a non-text file disguised with a .ascii extension - if a 'text' file is unexpectedly binary or huge, treat it with caution.

References

1RFC 20 - ASCII format for Network Interchangewww.rfc-editor.org
2Unicode/UTF-8 - relationship to ASCII (Unicode FAQ)www.unicode.org

Keep exploring

across the database

Top extensions this week

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

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