📄Plain Text File
Also known as Text File, .txt File, Plain Text
A file of plain letters you can read. Any text app can open it.
Think of it like
Think of it like a note on paper. Anyone can read it with just their eyes.
Example
Jack keeps his shopping list in notes.txt. He opens it on his phone, his laptop and a server, and it reads the same everywhere.
Why it matters
Plain text never locks you in. Any editor, on any system, can still open it.
Definition
Example code
console
$ cat notes.txt
Buy milk
Call Jack at 5Common mistake
Key takeaways
- 1Only characters. Every byte is something you can read.
- 2Opens anywhere. Any text editor will do.
- 3Easy to compare. Tools can show the lines that changed.