Definition of ASCII file (2024)

A file that contains data made up of ASCII characters. It is essentially raw text just like the words you are reading now. Each byte in the file contains one character that conforms to the standard ASCII code (see ASCII chart). Program source code, batch files, macros and scripts are straight text and stored as ASCII files. HTML and XML files are also ASCII files. Text editors such as Notepad create ASCII files as their native file format.

The Common Denominator

ASCII text files become a common denominator between applications that do not import each other's formats. If both applications can import and export ASCII files, you can transfer your files between them. Almost all word processors import and export ASCII files as well as many database and spreadsheet programs. A common ASCII format separates fields with commas (see CSV).

Text Is Still ASCII

In files using proprietary formats for word processing, spreadsheets, databases and other applications, there are binary codes in the header and interspersed throughout the file that describe the file structure. However, the actual text in the file (names, addresses, sentences, etc.) is still ASCII.

The terms "ASCII file," "ASCII text file," "text file" and "TXT file" are synonymous. Contrast with binary file.

Definition of ASCII file (1)OCR Creates ASCII TextWhen text documents are scanned, they are "photographed" and stored as pictures in the computer. OCR software analyzes the symbols in the image and converts each letter and digit into an ASCII character.

TRENDING

PCMag Newsletters

PCMag Newsletters

Our Best Stories in Your Inbox

Honest, Objective, Lab-Tested Reviews

PCMag.com is a leading authority on technology, delivering lab-based, independent reviews of the latest products and services. Our expert industry analysis and practical solutions help you make better buying decisions and get more from technology.

How We TestEditorial Principles

Definition of ASCII file (3)

PCMag supports Group Black and its mission to increase greater diversity in media voices and media ownerships.

© 1996-2024 Ziff Davis, LLC., a Ziff Davis company. All Rights Reserved.

PCMag, PCMag.com and PC Magazine are among the federally registered trademarks of Ziff Davis and may not be used by third parties without explicit permission. The display of third-party trademarks and trade names on this site does not necessarily indicate anyaffiliation or the endorsem*nt of PCMag. If you click an affiliate link and buy a product or service, we may be paid a fee by that merchant.

Definition of ASCII file (2024)
Top Articles
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6193

Rating: 4.3 / 5 (74 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.