Sooner or later every computer user meets a file in the wrong format: a photo that a website will not accept, a Word document a client cannot open, or a spreadsheet that has to be a PDF. The tempting fix is to rename the file and change the extension. Sometimes that works; often it produces a broken file. Here is what actually changes a file type, and how to do it on any device.
File type versus file extension
A file's type is how the data inside is organised: a JPEG photo is compressed in a specific way, a PDF contains pages and fonts, a DOCX is a set of XML files in a ZIP. The extension is the few letters after the dot in the name, such as .jpg or .pdf. It is a label that tells your computer which app should open the file.
Renaming changes only the label. The data inside stays exactly as it was, so a PNG renamed to .jpg is still a PNG wearing a JPG name tag. Many apps look inside, notice the mismatch and refuse the file, and upload forms that check files properly reject it.
When renaming is fine
Renaming is safe when two extensions are just different names for the same format:
| These are the same format | Notes |
|---|---|
| .jpg, .jpeg, .jfif | All JPEG images |
| .tif, .tiff | TIFF images |
| .htm, .html | Web pages |
| .heic, .heif | Apple photos use HEIC, a kind of HEIF |
| .txt, .text | Plain text |
Everything else needs a real conversion.
How to change a file type properly
- Open the file converter on any device.
- Add the file. It is recognised automatically.
- Pick the format you need from the list that appears. Only formats that make sense for your file are shown.
- Press Convert and download the new file. Your original is not changed.
A converter reads the data in the old format and writes it again in the new one: it decompresses a PNG and compresses it as JPEG, lays out a Word document and renders it to PDF pages, or reads the text in a scan with OCR.
Common conversions
- Photos: HEIC to JPG for iPhone photos, PNG to JPG for smaller files, WebP to JPG for images saved from websites, or any image to JPG.
- Documents: Word to PDF to send a fixed layout, PDF to Word to edit a PDF.
- Spreadsheets: PDF to Excel for tables, Excel to CSV for importing data.
- Many photos into one document: Images to PDF.
How to see file extensions
Windows and macOS hide extensions by default, which is why people often do not know a file's real type.
Windows 11: open File Explorer, choose View > Show > File name extensions.
Windows 10: open File Explorer, choose the View tab and tick File name extensions.
Mac: open Finder, choose Finder > Settings (or Preferences), click Geavanceerd and turn on Show all filename extensions.
iPhone and iPad: in the Files app, long-press a file and choose Get Info to see its kind.
Android: most file manager apps show extensions; in Files by Google, open the file's details.
Changing the default app for a file type
Sometimes the file type is fine and only the wrong app opens it. On Windows, right-click the file, choose Open with > Choose another app and tick Always use this app. On a Mac, choose Get Info, pick an app under Open with and click Change All.
Signs that a file was only renamed
- The app says the file is corrupted or not supported.
- An image shows in one app but not in another.
- A document opens as unreadable symbols.
In each case, rename it back to its original extension, then convert it properly.
Why the extension matters at all
If renaming does not change the data, why do extensions matter? Because operating systems and many websites decide what to do with a file from its extension alone. Windows uses it to pick the app that opens the file and the icon it shows; upload forms often check it before accepting a file; email services sometimes block extensions they consider risky, such as .exe. That is why a file can be perfectly fine and still be rejected: the label does not match what the receiver expects. Converting gives you a file whose label and contents agree.
Summary
To change a file type, convert it: the extension is only a label, and renaming does not change the data inside, except where two extensions are the same format such as .jpg and .jpeg. Use the ConvertSoon converter to change images, documents, spreadsheets and PDFs on any device, for free and without signup. Files are deleted automatically after 30 minutes.