File endings: .pdf, .docx, .jpg and what they mean
Look at the end of a file's name: Bus timetable.pdf. The letters after the last dot are its ending. They tell the computer, and you, what kind of file it is and which app should open it.
The ones you'll meet most
| Ending | What it is | Opens in |
|---|---|---|
| A page to read or print, like a form, a timetable or a bill. It looks the same on every computer. | A web browser or a PDF reader | |
| .docx | A letter or document you can still change | A word processor, like Word |
| .jpg or .jpeg | A photo | The Photos app or any picture viewer |
| .png | A picture, often a screenshot or a logo | The same as .jpg |
| .xlsx | A spreadsheet: rows and columns, like a budget | A spreadsheet app, like Excel |
| .txt | Plain words with no styling | Notepad |
| .zip | Several files squashed into one, to send them together | File Explorer. Double-click to look inside. |
| .exe | A program, often one that installs something | It runs by itself |
PDF or .docx?
This is the one that comes up when you apply for jobs online.
- Send a .docx when someone needs to change it, like a helper fixing your resume.
- Send a .pdf when you want it to look exactly as you made it, like a finished resume going to an employer. The person can read it without your app.
Making a PDF doesn't change your .docx. You get a second file, and the first stays as it was. Most writing apps do it from File, then Save As or Export. How to save a file walks through the Save As box.
Can't see any endings?
Windows hides them unless you ask. Your files might show as Bus timetable with no .pdf at all. To show them, open File Explorer and:
- Windows 10: click the View tab, then tick File name extensions.
- Windows 11: click View, then Show, then File name extensions.
Nothing about the files changes. You just see their whole names.
The ending is a label, not the contents
The ending is just part of the name. Rename a photo from Garden.jpg to Garden.pdf and it's still a photo. The computer will now try to open it in the wrong app and fail. Windows warns you if you start to change an ending. Say no unless you know why you're doing it.
Be careful with .exe
An .exe file runs a program. That's fine when you meant to download one from a site you trust, like a printer's own website. It's not fine when it arrives in an email you weren't expecting or downloads by itself from a pop-up. If you didn't ask for it, don't open it. Our page on fake virus warnings covers pop-ups that try this. If you already ran one, follow the steps for when you've already clicked.
Practice it where nothing can break
Telling files apart by their endings is in Unit 3, Your Stuff, and making a PDF copy to send is in Unit 4, Typing and working with files. On our practice computer none of the files are real, so opening the wrong one is safe. Units 1 and 2 are free, so you can start with the mouse and windows today. Units 3 and 4 come with a class or the full course.