Log in Sign up
Back to Discover
💻

Plain text

technology Maturity 11-13

Plain text is just words.

Plain text.png
Plain text.png
It does not have colors. It does not have big pictures. It is easy for computers to read. You can use it to write notes. It helps us talk to computers. Do you like to write?

42 words

Plain text is made of letters and numbers.

Plain text.png
Plain text.png
It does not have colors or styles. It does not have big pictures. It can have spaces or line breaks. These help move things around. Plain text is easy for computers to read. You can use it to write code. You can also use it for email. It is a great way to save what you know. It works on many different machines. It is very useful for everyone.

78 words

Plain text is a simple way to store data. It uses only readable characters. This means it does not include images or colors. It also does not include styles like bold or large fonts. These styles are found in rich text. Rich text is text with extra info like font size.

Plain text.png
Plain text.png

Plain text can use spaces or tabs. It can also use line breaks. These help arrange the text on a screen. Computers use plain text for many things. Programmers use it to write source code. This is the set of instructions for a program. People also use it for email and settings files.

Computers need an encoding to read text. An encoding is a way to turn codes into letters. Long ago, computers could not show many letters. They often lacked small letters. Now, most use Unicode. Unicode is a huge system of codes. It covers almost all modern writing systems. It even includes symbols and math signs. Using plain text is a smart way to save knowledge. It works on almost any computer. This helps files stay safe for a long time.

185 words

Plain text is a special way to store data on a computer. It uses only characters that people can read, like letters and numbers.

Plain text.png
Plain text.png
This means it does not include images or colors. It also leaves out styles like bold or large fonts. Those styles belong to something called rich text. Plain text is very useful because it is simple. It can include spaces or tabs to help arrange things. It can also use line breaks to start new lines.
Plain text.png
Plain text.png
This simplicity helps files work on many different kinds of computers.

How does plain text work? It works by using a sequence of character codes.

Plain text.png
Plain text.png
Each letter or symbol is given a specific number. When a computer reads the file, it looks at these numbers to show the right characters. Some codes are even used for things you cannot see. These are called control characters, like the tab or a newline. They tell the computer how to move the text around. This is different from a binary file. A binary file has parts that a computer cannot read as simple text.
Plain text.png
Plain text.png

Computers have changed a lot in how they handle text. Before the early 1960s, computers were mostly for math. Memory was very expensive back then. Many computers only used 6 bits for each character. This only allowed for 64 different characters.

Plain text.png
Plain text.png
Because of this, they could not show both big and small letters. People had to use tricks, like an asterisk, to show big letters. Later, a man named Fred Brooks from IBM argued for using 8-bit bytes. He believed people would want to process more text in the future. He was right, and this helped text become more common.

There are many important names and numbers in the history of text. Most computers used a system called ASCII. This system uses values from 0 to 31 for control characters. It uses values from 32 to 127 for letters and punctuation.

Plain text.png
Plain text.png
ASCII was helpful, but it could not show many languages. It lacked symbols for Spanish, French, or Greek. To fix this, groups like ISO created new ways to show more characters. Now, we mostly use Unicode. Unicode is a huge system. It allows for 1,114,112 different code values.
Plain text.png
Plain text.png
It covers almost all modern writing systems and even math symbols.

You can see plain text in many parts of your digital life. Programmers use it every day to write source code. This is the set of instructions that tells a program what to do.

Plain text.png
Plain text.png
It is also used for email and configuration files. Configuration files are used to save settings for a program. Even web browsers use it to show information. Some browsers only show plain text. Using plain text is one of the best ways to save knowledge. It stays safe and easy to read for a very long time.
Plain text.png
Plain text.png

481 words

Plain text is a fundamental way to represent data in computing. It consists of a sequence of character codes that represent readable material. Unlike rich text, plain text does not include graphical information like font sizes, colors, or bold styles.

Plain text.png
Plain text.png
It also excludes complex objects such as images or floating-point numbers. While it is a simple format, it can include whitespace characters. These include spaces, tabs, and line breaks to help arrange text. Because it lacks complex formatting, plain text is highly portable. It can be opened and read by almost any computer system or text editor.
Plain text.png
Plain text.png

To understand how plain text works, we must look at character encoding. An encoding is a system that assigns a specific number to every character. When a computer reads a file, it interprets these numbers as letters or symbols. Plain text is essentially a pure sequence of these character codes. In contrast, a binary file contains data that cannot be correctly interpreted through character encoding alone. For example, if a file contains the word "hello" followed by four bytes of a non-character integer, it becomes a binary file.

Plain text.png
Plain text.png

There are several ways to categorize text files based on their structure. Plain text is distinct from formatted text, which adds style information to the characters. It is also different from structured text, where parts like paragraphs and sections are identified. Some definitions consider files containing markup to be plain text. Markup is a way of using human-readable characters to provide structure. Examples include HTML, XML, and even SVG files, which can describe drawings. Even though these files contain instructions for layout, the files themselves are still considered plain text streams.

Plain text.png
Plain text.png

The history of text encoding shows how much computing has evolved. Before the early 1960s, computers were mostly used for math rather than text. Memory was very expensive during this era. Many computers used only 6 bits for each character, allowing for only 64 possible characters. This was not enough to include both uppercase and lowercase letters. Researchers had to use workarounds, such as placing an asterisk before a letter to show it was uppercase. Fred Brooks of IBM later argued for the use of 8-bit bytes. His vision helped allow for much more complex text processing in the future.

Plain text.png
Plain text.png

As computing grew, the ASCII standard became widely used. ASCII uses values from 0 to 31 for non-printing control characters. These control characters, known as the C0 set, manage things like newlines and tabs. Graphic characters, such as letters and punctuation, use values from 32 to 127. However, ASCII could not support many international languages. It lacked accented characters used in Spanish, French, or German. To solve this, the ISO developed various code pages, such as ISO 8859-1, also known as Latin-1.

Plain text.png
Plain text.png

Modern computing has largely moved toward a unified system called Unicode. This was developed to solve the confusion caused by many incompatible encoding variations. Unicode is massive, allowing for 1,114,112 different code values. This system covers nearly all modern writing systems and many historical ones. It also includes mathematical symbols and even printer's dingbats. Today, Unicode-based encodings like UTF-8 and UTF-16 are very common. Using UTF-8 can even help avoid technical issues like endianness in different computer architectures.

Plain text.png
Plain text.png

Plain text is used in almost every part of the digital world. It is the standard for programming source code, which provides instructions to computers. It is also used for configuration files that store a program's settings. Many people use plain text for email and simple .txt files. Even web browsers process plain text to display information to users. Because it is so simple and independent of specific software, it is considered the best format for storing knowledge persistently. It ensures that information can be read long after the original program is gone.

Plain text.png
Plain text.png

637 words
🖼️ Images & Media (1)
File:Plain_text.png
Plain_text.png
Up Next
💻
Binary file
Technology
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.