Difference between Rich text and Plain text
Last Updated :
10 Aug, 2022
What is Text.:- Collection of words or letters is called as text.
This is a plain text-Geeks for Geeks
This is a rich text- Geeks for Geeks
It is clear from the above two types of text that what we are dealing with now lets see them one by one in detail and the difference between them.
1. PLAIN TEXT :
Plain text is a text with no styles attached or embedded with it. It is just a plain text i.e. simple text. It was created by American Hardware Designers in the 60s 70s. And the files with plain text are saved with .txt or .TXT extension.
Advantages of plain text -
- if you write something in plain text then whenever you open that file on any machine then the end result will be same that is it will show the text as it is on every system. Unlike rich text if you format the text and add the styles to it then it might create problem if the end person doesn't have suitable app for it then it will distort its styles as a result it will leave a bad impression on the user.
- It is fast and flexible as it doesn't uses styles and formatting therefore it is fast and flexible.
- file size of plain text format is less as compared to rich text format.
Disadvantages of plain text -
- In the todays era almost 90% of the word processor uses rich text format.
- It looks very basic i.e. without styles.
- To read the plain text it becomes boring sometimes.
Examples of plain text -

2. RICH TEXT :
Rich text is a text with styles attached or embedded with it so whenever you are copying the rich text and pasting to editor which support rich text then it will automatically include all the styles formatting spacing etc. Rich text format was created by Microsoft in 80s and they discontinued the development of rich text in 2008..Rich text files are usually save with .rtf or .RTF extension.
if you paste the given rich text in notepad or editor with only plain text format then it will look like the above image as the plain text editor will only include the text without styles and formatting.
Advantages of rich text -
- In almost 90% of word processors supports the rich text format.
- It looks interesting that a text with styles like the text given below in green color Geeks for geeks rather than simple text as it include styling and formatting as a result developer learn how to style and format the text.
- To keep the end user connected to the text without getting bored.
Disadvantages of rich text -
- If the rich text file is opened in word processor which do not support rich text then it doesn't looks good to the user as the formatting might not support the word processor.
- file size is large as compared to plain text as it includes styles and formatting information with it
- it is also bit complex to add the styles and formatting as it takes more time compared to plain text
Examples of rich text -

Difference between Rich text and Plain text :
S,No
| PLAIN TEXT
| RICH TEXT |
1. | Text with no Formatting | Text with Formatting |
2. | Styles are absent | Styles are embedded with it. |
3. | Files are saved with .txt or .TXT extension | Files are saved with .rtf extension or any extension that supports rich text format like .docx |
4. | Created by American Hardware Designers in the 60s,70s | Created by Microsoft in 80s and later they discontinued the development in the year 2008 |
5. | It is the default text format of notepad, command terminal etc | It is the default text format of Microsoft Word , Google docx etc |
6. | Used in email,cryptography etc. | Used in html webpages, Microsoft words etc. |
7. | Example-Geeks for Geeks. | Example GEEKS FOR GEEKS |
8. | Not used much as everywhere rich text format is used as it makes formatting easy. | It is used widely as it is makes the formatting a ease. |
9. | Whenever the rich text is pasted in plain text editor then it only includes symbols,spaces,line breaks. | Whenever the rich text is pasted in rich text editor then it includes all the formatting and styles. |
10. | Whenever the plain text is pasted in rich text editor then it is pasted as it is. | Whenever the plain text is pasted in plain text editor then it is pasted as it is. |
11. | File size is small as compared to rich text file | File size is large as compared to plain text file |
12. | Compatible to all the word processors | Compatible to only word processors which supports rich text format. |
Conclusion-:
It all depends on the user that which type of text he/she would like to use like if he/she works more on docx and notepad++ then they should prefer using rich text. and vice versa.
Similar Reads
Non-linear Components In electrical circuits, Non-linear Components are electronic devices that need an external power source to operate actively. Non-Linear Components are those that are changed with respect to the voltage and current. Elements that do not follow ohm's law are called Non-linear Components. Non-linear Co
11 min read
Software Development Life Cycle (SDLC) Software development life cycle (SDLC) is a structured process that is used to design, develop, and test good-quality software. SDLC, or software development life cycle, is a methodology that defines the entire procedure of software development step-by-step. The goal of the SDLC life cycle model is
11 min read
Spring Boot Tutorial Spring Boot is a Java framework that makes it easier to create and run Java applications. It simplifies the configuration and setup process, allowing developers to focus more on writing code for their applications. This Spring Boot Tutorial is a comprehensive guide that covers both basic and advance
10 min read
Class Diagram | Unified Modeling Language (UML) A UML class diagram is a visual tool that represents the structure of a system by showing its classes, attributes, methods, and the relationships between them. It helps everyone involved in a projectâlike developers and designersâunderstand how the system is organized and how its components interact
12 min read
Backpropagation in Neural Network Back Propagation is also known as "Backward Propagation of Errors" is a method used to train neural network . Its goal is to reduce the difference between the modelâs predicted output and the actual output by adjusting the weights and biases in the network.It works iteratively to adjust weights and
9 min read
3-Phase Inverter An inverter is a fundamental electrical device designed primarily for the conversion of direct current into alternating current . This versatile device , also known as a variable frequency drive , plays a vital role in a wide range of applications , including variable frequency drives and high power
13 min read
Waterfall Model - Software Engineering The Waterfall Model is a Traditional Software Development Methodology. It was first introduced by Winston W. Royce in 1970. It is a linear and sequential approach to software development that consists of several phases. This classical waterfall model is simple and idealistic. It is important because
13 min read
What is Vacuum Circuit Breaker? A vacuum circuit breaker is a type of breaker that utilizes a vacuum as the medium to extinguish electrical arcs. Within this circuit breaker, there is a vacuum interrupter that houses the stationary and mobile contacts in a permanently sealed enclosure. When the contacts are separated in a high vac
13 min read
Polymorphism in Java Polymorphism in Java is one of the core concepts in object-oriented programming (OOP) that allows objects to behave differently based on their specific class type. The word polymorphism means having many forms, and it comes from the Greek words poly (many) and morph (forms), this means one entity ca
7 min read
CTE in SQL In SQL, a Common Table Expression (CTE) is an essential tool for simplifying complex queries and making them more readable. By defining temporary result sets that can be referenced multiple times, a CTE in SQL allows developers to break down complicated logic into manageable parts. CTEs help with hi
6 min read