The letters after the dot in a file name — .pdf, .jpg, .zip — tell your computer how to open the file. They also hint at how big it will be, whether others can edit it, and how risky it is to open. Here is a plain-language tour.
Documents
| Format | Best for | Notes |
|---|---|---|
| Sharing finished documents that should look the same everywhere | Hard to edit casually; ideal for forms, reports, and records | |
| DOCX | Documents someone else needs to edit | Can carry comments, tracked changes, and author data |
| TXT | Plain notes and code | Tiny, universal, no formatting |
| XLSX / CSV | Spreadsheets / raw data | CSV is plain text; XLSX keeps formulas and formatting |
The Library of Congress, which plans for files to survive for decades, lists high-quality PDF files — with searchable text and embedded fonts — among its preferred formats for textual works, and PDF/UA (the accessible PDF profile) as preferred as well (Library of Congress, The Signal; LoC format description). Its Recommended Formats Statement is updated regularly and is a good reference if you need files to last (LoC RFS 2025–2026).
Images
| Format | Best for | Notes |
|---|---|---|
| JPG/JPEG | Photos | Lossy compression — small files, some quality lost each save |
| PNG | Screenshots, logos, graphics with text | Lossless; supports transparency; larger than JPG for photos |
| HEIC | iPhone photos | Efficient, but not every device or site accepts it |
| WebP | Website images | Small and good quality; widely supported in browsers |
| SVG | Logos and icons | Text-based vector graphics that scale cleanly |
Phone photos can include location data (GPS) in their metadata. Strip it before posting publicly.
Audio and video
- MP3 / AAC (M4A): compressed audio, good for listening and sharing.
- WAV / FLAC: high quality. WAV is uncompressed and large; FLAC is compressed without losing quality.
- MP4: the most widely compatible video container.
- MOV: common from Apple devices; often larger.
Archives
ZIP files bundle many files into one and usually shrink them. They are handy for sending a folder. They are also used to hide malware: CISA recommends that email security tools be able to open and inspect compressed formats like .zip and .rar, because attackers use them to conceal malicious attachments (CISA Counter-Phishing Guidance). Be cautious with password-protected archives from people you were not expecting files from — security scanners often cannot look inside them.
File types to treat with suspicion
Some formats can run code when opened:
- EXE, MSI, BAT, CMD, SCR, JS, VBS — programs and scripts
- Office files with macros (DOCM, XLSM)
- ISO / IMG disk images
- Shortcut files (LNK)
If you were not expecting one of these, do not open it. CISA’s joint phishing guidance with NSA and FBI describes malware-based phishing that relies on recipients opening attachments (CISA, Phishing Guidance).
Choosing a format to share
- Will they edit it? Send DOCX/XLSX. Otherwise, send PDF.
- Is it a photo? JPG for sharing; keep the original separately.
- Is it many files? ZIP them, and tell the recipient it is coming.
- Must it last? Favor open, well-documented formats like PDF, PNG, CSV, and plain text.
Sources
- Library of Congress, The Signal, “PDF Is Here to Stay.”
- Library of Congress, format description (PDF/UA).
- Library of Congress, Recommended Formats Statement 2025–2026.
- CISA, Counter-Phishing Guidance (Capacity Enhancement Guide).
- CISA, NSA, FBI, MS-ISAC, “Phishing Guidance: Stopping the Attack Cycle at Phase One.”
Reviewed by the EZUpload editorial team, November 2026.