🏷️ File Extension

4th Grade 💻 Computers & the Internet

A file extension is the letters after the dot at the end of a file name, like .jpg or .mp3. It tells the operating system what kind of file it is and which program should open it.

Free · US Letter · no sign-up
Google Classroom Save to Pinterest Email me
Photos.jpg, .png
Sound.mp3
Video.mp4
Looks the same everywhere.pdf
Compressed.zip
Runs as a program (Windows).exe

Some common extensions: .jpg and .png are pictures; .mp3 is sound; .mp4 is video; .pdf is a document that looks the same on every computer, which makes it great for printing; .txt is plain text; .docx is a word-processor document; and .zip is a compressed file. If you change an extension by hand, the file itself doesn’t change — the computer might just open it with the wrong program.

Some extensions belong to files that can run, meaning they start up as a program — like .exe. Those files need extra care: don’t open them if they arrived in a message, an email or from a website you don’t know. Attackers sometimes disguise them with names like “photo.jpg.exe.” That’s why it’s a good idea to ask a parent to set the computer to always show full file extensions.

For example

  • Jayden sent his teacher his project as a .pdf, so it would look exactly the same on her computer as on his.
  • An email sent Sophia a file called “invitation.pdf.exe.” She noticed the real extension and didn’t open it.

📌 Remember: Extension = file type. A .exe from an unknown source = don’t open it.

Quick quiz

  1. Which extension is a picture?

  2. What’s special about a .pdf file?

  3. An email has a file called “photo.jpg.exe.” What’s true?

🔎 Ask Thinkapedia another question