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:

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
PDF 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 PDF Looks the same everywhere
They need to edit it DOCX Built for editing, keeps comments and tracked changes
It must print exactly as designed PDF 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

Limitations

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