How to Choose a File Format When You Share a Document
Most sharing mistakes are not about the file — they are about the format. The document is fine. The photo is fine. But it arrives as something the other person cannot open, cannot edit, or cannot read properly, and the whole exchange starts again. Choosing a format is a small decision that saves a second round of sending, explaining and apologising.
The trick is to decide what the other person needs to do with the file, and then pick the format that protects that. A format is a trade-off: every one of them keeps something and loses something else. This guide maps the common situations — edit later, print, archive, web or email — to PDF, DOCX, TXT, JPG and PNG, and says plainly what each one loses.
Start With the Question, Not the Format
Before you pick a format, answer one question: what will the other person do with this file? There are only a few honest answers:
- Read it and nothing else — the layout matters, and the words must look the same on their screen as on yours.
- Edit it — they need to change the text, fill in a form, or add comments.
- Print it — it must come out on paper looking like the document you made.
- Keep it for years — it must still open long after the software that made it is gone.
- Show it on a web page or in a message — it must load fast and look right in a browser.
If you cannot answer the question, ask the other person. Guessing the format is how a carefully written document arrives as a file nobody can open.
What Each Format Keeps and What It Loses
| Format | Keeps | Loses |
|---|---|---|
| Layout, fonts, print appearance | Easy editing | |
| DOCX | Editability, comments, tracked changes | Fixed layout — it can shift in other software |
| TXT | Opens everywhere, tiny files | All formatting — bold, headings, images |
| JPG | Small files for photos | Detail — every save throws some away |
| PNG | Exact detail, transparency | Small file size — files are larger |
PDF. A PDF is designed to look the same everywhere. Adobe, which created the format, describes it as a way to present and exchange documents — “regardless of the software, hardware, or operating systems being used by anyone who views them”. When you create a PDF, Adobe says, “it looks just the way you intended it”. PDF is now an open standard (ISO 32000). What you lose is easy editing. A PDF is not meant to be edited like a document; changing text in a PDF is awkward in most software. And a scanned PDF is just a picture of pages — the text cannot be selected or searched unless the scan was processed with OCR (Adobe’s own page notes that OCR can make scanned text editable and searchable). Special versions exist for special jobs: Adobe lists PDF/A for archiving and PDF/X for printing.
DOCX. DOCX is the default format for Microsoft Word documents, and it is built for editing. Microsoft’s own support page explains that the Open XML formats, including .docx, are XML-based and zip-compressed, and that files can be up to 75 percent smaller in some cases than the older binary formats. A .docx file keeps the text, the formatting, comments and tracked changes, and anyone with Word — or a compatible word processor — can open it and change it. What you lose is fixed layout. A DOCX can look different on another computer or in another word processor, because fonts, spacing and page breaks depend on the software opening it. Microsoft’s compatibility checker exists for exactly this reason: it reports features an older version does not support. One more detail worth knowing: a .docx file cannot contain macros. Only files ending in “m”, such as .docm, can — which matters if someone sends you a document that claims to need macros to work.
TXT. Plain text keeps nothing but the words. No bold, no headings, no images, no tables. What it gains in return is near-universal compatibility and tiny file sizes: a .txt file opens in every text editor on every system, and it will still open in twenty years. Use it when the words are all that matter — a note, a list, a log file — and never when the layout is part of the message.
JPG. JPG is the format for photos. MDN’s image format guide calls it the good choice for lossy compression of still images — currently the most popular. Lossy means the file is made smaller by throwing away detail the eye is less likely to notice. That is fine for a holiday photo. It is a bad trade for anything with sharp text, lines or flat colour — a screenshot, a logo, a diagram — because the discarded detail shows up as smudges around edges. And the loss is cumulative: every time you open a JPG, edit it and save it again, more detail is thrown away. Keep the original, and send a copy.
PNG. PNG is the lossless alternative. The W3C specification describes it as an extensible file format for the lossless, portable, well-compressed storage of static and animated raster images, and defines lossless as compression that “permits reconstruction of the original data exactly, bit-for-bit”. Nothing is thrown away, and PNG supports transparency — a logo with no background, for example. MDN puts it plainly: PNG is preferred over JPEG for more precise reproduction of source images, or when transparency is needed. What you lose is file size. A PNG of a photograph is much larger than the same photo as a JPG, so it is the wrong choice for sharing a whole camera roll.
The Situation Map
| Situation | Send | Why |
|---|---|---|
| They need to read it, nothing more | Looks the same everywhere | |
| They need to edit it | DOCX | Built for editing, keeps comments and tracked changes |
| It must print exactly as designed | Layout and fonts are fixed | |
| It must still open in ten years | PDF (PDF/A) or TXT | PDF/A is the archiving standard; TXT is as simple as files get |
| A photo for the web or a message | JPG | Small files, good enough quality |
| A logo, screenshot or diagram | PNG | Exact detail, transparency, no smudging |
| Just the words, nothing else | TXT | Opens anywhere, never breaks |
Worked Example: Sharing a CV
Take a job application. You have a CV in Word, and the employer asked for it by email. Which format?
The CV’s layout is part of the message: headings, spacing, a clean first page. A DOCX can shift on another computer — a heading moves, a page breaks in the wrong place — and the employer sees a messier document than the one you made. A PDF keeps it exactly as you designed it. Send the PDF.
But there is one exception. If the employer or recruiter explicitly asked for an editable copy, or if their system copies text out of documents to search it, the text must be real text, not a picture. If your CV is a scanned image saved as a PDF, the words cannot be selected or searched. In that case send the DOCX — or better, send the PDF and offer the DOCX if they need to edit it.
The check before sending: open the PDF on your phone, not your computer. If the layout holds and the text selects cleanly, it is ready. Check the file size too: if it is large, compress the images in it first, or the recipient may have trouble downloading it on a slow connection.
How to Decide in 30 Seconds
1. Will they edit it? Yes → DOCX. No → keep going.
2. Is it a photo? Yes → JPG for sharing, PNG if it has sharp text or needs transparency.
3. Does the layout matter? Yes → PDF.
4. Is it only words? Yes → TXT.
5. Must it last for years? → PDF (PDF/A if your software offers it) or TXT.
If two answers point at different formats, send the one that protects the most important need — and mention the other option in your message (“I can send an editable copy if you need it”).
How to Check Before You Send
- Open the file on a different device — your phone if you made it on a computer. If it looks right there, it will look right for the other person.
- In a PDF, try selecting a line of text. If you cannot select it, the PDF is a picture of pages, not a document — send the original file instead, or re-export it properly.
- Check the file size. If it is large, compress the images first, or the recipient may have trouble downloading it on a slow connection.
- Send it to yourself first if the file matters. One test email catches most mistakes.
Limitations
- This guide covers the five formats people choose between most often. It does not cover every format: ODT, RTF, WebP and others exist, and each has its own trade-offs. If the other person uses a specific program, the format that program prefers may matter more than anything in this guide.
- A format cannot fix a bad file. A PDF of a blurry scan is still blurry; a DOCX with broken formatting is still broken. Check the content first, then the format.
- This guide is general information about file formats. It is not legal advice about whether a document is valid in a particular format, and it does not recommend any specific software or service.
- Behaviour varies by software and version. A DOCX may look slightly different in different word processors, and an old program may not open a new format at all. When in doubt, ask the recipient what they can open.
Frequently Asked Questions
Can I just send a screenshot instead of the file?
You can, but you lose everything the file had: the text cannot be copied or searched, and the image is lower quality than the original. A screenshot is fine for showing someone what a page looks like. It is a poor way to share the document itself.
Will a DOCX open on a phone?
Usually yes — most phones can open .docx files with a word-processing app — but editing on a small screen is awkward, and the layout may shift. If the person only needs to read it, a PDF is the safer choice.
Is PDF always the safest choice?
No. PDF is the safest choice when the layout must stay fixed. It is the wrong choice when the other person needs to edit the file, fill in a form that needs real form fields, or copy large amounts of text out of it. A scanned PDF is the worst of both: it cannot be edited and its text cannot be searched.
What about sending photos — JPG or PNG?
JPG for photographs you share casually: the files are small and the quality is good enough. PNG when the image has sharp edges, text, or transparency — a screenshot, a logo, a chart. Sending a whole camera roll as PNGs makes the message much larger for no visible benefit.
What if I need to edit the file later myself?
Keep the original. Send a copy in the sharing format, and keep the editable version — the DOCX, the original photo, the design file — for yourself. Never overwrite your only editable copy with the shared version.
Sources
- Adobe, “What is a PDF? Portable Document Format” — PDF looks the same regardless of software, hardware or operating system; PDF/A for archiving; PDF/X for printing.
- Microsoft Support, “Open XML Formats and file name extensions” — .docx is the default Word format, XML-based and zip-compressed; .docx files cannot contain macros.
- W3C, “Portable Network Graphics (PNG) Specification (Third Edition)” — PNG is lossless, portable, well-compressed storage; lossless means exact bit-for-bit reconstruction; alpha channel for transparency.
- MDN, “Image file type and format guide” — JPEG is the good choice for lossy compression of still images; PNG is preferred over JPEG for precise reproduction or when transparency is needed.
Try a Tool
Free, in your browser — no sign-up.
Related Articles
How to Check an Image’s Dimensions Before You Upload It
Check an image's width, height, and file size before uploading, avoid upscaling, and test it on your site.
Read article →How to Take a Scrolling Screenshot of a Long Page
Learn how to take a clean scrolling screenshot of a long page, check the output, and avoid sharing private data.
Read article →How to Check a File Size Before You Download It
Check a file size before you download it. Learn MB vs KB, where size is shown, how to check storage, and when…
Read article →