Open In App

Difference between Rich text and Plain text

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 –

Disadvantages of plain text –

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 –

Disadvantages of rich 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.

Article Tags :