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.
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
{X-html Replaced}
Editors' Choice
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.
© 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.