Nepedia
Back to Discover
Independent Reader
💻

Filename extension

technology Maturity 11-13 Next article →

Computers give every file a name. At the end of the name is a small tag. This tag is called a filename extension. It usually starts with a dot. Examples are .txt for text or .mp3 for music. These tags help people know what is inside a file.

Different computer systems use extensions in different ways. Old systems like DOS had strict rules. They used a name with eight letters. Then they used a dot and three more letters. Modern systems like Windows and Unix are more flexible. They can use much longer names.

Sometimes you might see two extensions on one file. This happens when one file is tucked inside another. For example, a .tar.gz file is a compressed archive. The .tar part means it is an archive. The .gz part means it is compressed with a tool called gzip.

Extensions are mostly for people to read. Many programs look at the actual data inside to see what a file is. You should not trust an extension alone. A person can change an extension to hide a bad file. Always be careful when opening new files.

188 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

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.