File Formats
A file’s name often ends with a small, easily overlooked clue: .pdf, .jpg, .zip. This file extension helps your device decide what kind of file it may be and which app could open it. It is useful, but not a certificate of authenticity. A filename can be changed; the contents do not change their character simply to keep up.
This guide explains what extensions tell you, how to view them, and how to avoid mistaking a renamed file for a converted one.
A file extension is the part of a filename that usually follows its final full stop. In holiday-photo.jpg, the extension is .jpg. In meeting-notes.pdf, it is .pdf. Extensions are brief labels that help operating systems and applications recognise familiar file formats.
They are not the file itself, any more than a label on a drawer is the drawer’s contents. A photo might have the extension .jpg; a document might be .docx; a compressed archive might be .zip. The extension is a useful hint about how the data is organised and what software may understand it.
For a broader guide to familiar extensions and the files they commonly describe, see Common File Formats.
Extensions became an everyday part of computing as personal computers made it practical to keep many kinds of digital work together: letters, spreadsheets, pictures, and programs. Early systems often used strict naming conventions, and short suffixes helped distinguish one kind of file from another. The habit endured even as computers became more capable of identifying files in other ways.
Today, a device may use more than the extension when working out what a file contains. Yet the visible suffix remains a useful convention, rather like the spine of a book: an efficient clue, not a complete account. It can tell you what a file claims to be. It cannot, by itself, prove that claim.
| Extension | Often used for | A useful note |
|---|---|---|
.pdf |
Documents intended to keep a consistent layout | PDF files can contain different kinds of content; the extension alone does not establish that a document is trustworthy. |
.jpg or .jpeg |
Photographs and other images | These are two common spellings for the same general image format. |
.png |
Images, including graphics that may use transparency | It is an image format, not a folder or an archive. |
.docx |
Word-processing documents | Opening or editing one may require a compatible document application. |
.mp3 |
Digital audio | It commonly identifies compressed audio, though the extension does not tell you whether the recording is complete or safe. |
.zip |
An archive that can bundle files and folders | The archive may contain documents, images, or other items with their own extensions. |
These are common uses, not guarantees. Different applications may support different formats, and a file’s actual contents matter.
Changing a filename changes its label. Converting a file changes its format, using software designed to translate the contents. Those are not the same operation.
For example, renaming notes.txt to notes.pdf does not turn a text document into a PDF. The new suffix may prompt your device to try a different app, but the underlying data remains what it was. The result may fail to open or appear as unreadable text.
When you need a different format, open the file in a suitable application and look for an option such as Save as or Export. The wording varies by program. Keep the original until you have checked that the converted copy opens and contains what you expect.
Some devices hide familiar extensions to make filenames look less technical. That can be convenient, but it may also make it harder to notice the full name of a file. You can usually adjust the view in your file manager; labels and menu locations can vary between operating-system versions.
If the menu names on your device differ, consult its current help information rather than guessing. You do not need to change an extension to inspect it.
A familiar suffix cannot establish that a file is genuine, harmless, or from the person named in a message. Names can be misleading, and a file’s extension may not match what it contains. Treat unexpected attachments with care, especially when a message pressures you to act quickly, asks for personal information, or invites you to enable unfamiliar features.
Check who sent the file and whether you were expecting it. If something feels off, verify the request through a separate route you already trust—for instance, by contacting the person using a known address or number. Do not rely on the filename as proof.
If the file arrives inside an archive, remember that a ZIP file is a container; the items inside it have their own formats and risks. Learn more in ZIP Files Explained and Open and Extract ZIP Files. For broader guidance on sending documents thoughtfully, visit Share Files Safely.
A file extension is a practical clue about a file’s format and the software that may open it. It is not the file’s contents, a conversion tool, or a guarantee of safety. Read it as you would a label: useful information, best understood alongside the object—and the circumstances—in front of you.
Continue with Common File Formats for more examples, or explore File Compression Basics to understand what happens when files are bundled into an archive.