The extension is a label used by software to help decide how to open a file. The format is the structure of the data inside. Changing the label does not rewrite that structure.

Try a reversible example

Download the plain-text practice sample. Open it in a text editor: it contains ordinary words and extra spaces. Make a duplicate and rename only the duplicate from text-before.txt to text-before.pdf after showing extensions.

Try opening the renamed copy in a PDF viewer. It may refuse, show an error, or offer another application. No PDF was created. The exact error depends on the application, so an error message is not required for the lesson. Restore the copy’s .txt suffix and open it in the text editor again.

Keep the genuine original. Do not use this experiment on an attachment, a signed file, or the only copy of an important document.

Compare labels and conversions

Action Changes filename? Rewrites the content format?
Rename .txt to .pdf Yes No
Save plain text from a rich-text editor Usually Yes, formatting is removed
Export a DOCX document as PDF Creates or saves a named file Yes, through an exporter
Put a DOCX inside a ZIP Creates an archive Does not turn DOCX into PDF

Some formats are containers themselves. A DOCX contains structured document parts in a ZIP-based package, but that does not mean any renamed ZIP is a valid Word document.

Choose an application that understands the source

For a genuine conversion, open the source in an application that supports it and use Export, Save As, or a documented conversion workflow. Review the offered file type, not just the typed filename. Then open the output with an appropriate viewer and check its content.

Conversion can lose information. A PDF may preserve appearance while making collaborative editing less convenient. TXT removes rich layout. CSV represents table data rather than a multi-sheet workbook with formulas and formatting. Decide which information the recipient needs before choosing a format.

Check the final copy

Show the extension, verify the application can open the file, and inspect the actual content. For the practice exercise, returning the copy to .txt should restore ordinary text-editor opening without changing the words. Do not infer trust from a familiar icon or extension: misleading labels can be attached to unsafe files.

If a real file has the wrong suffix and you know its source, correct a copy and ask the sender for a clean export. Guessing extensions repeatedly is not a substitute for identifying the format.

References & scope

These official references support the software instructions. Practice documents are original, fictional teaching examples; labels can vary by release.