Skip to content

Questa pagina è mostrata in inglese.

  1. ConvertSoon
  2. Blog

How to Change a File Type (and Why Renaming Is Not Enough)

20 November 20263 min readConvertSoon Team
Short answer

To change a file type, convert the file rather than renaming it: open a file converter, add the file, pick the new format and download the converted copy. Renaming an extension (for example .png to .jpg) only changes the label, not the data inside, so apps may refuse it. Renaming is safe only when two extensions are the same format, such as .jpeg and .jpg.

Open the file converter

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

  1. Open the file converter on any device.
  2. Add the file. It is recognised automatically.
  3. Pick the format you need from the list that appears. Only formats that make sense for your file are shown.
  4. 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

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 Avanzato 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.

File conversionFile extensionsHow to

Questions

Only when both extensions mean the same format, such as .jpeg and .jpg, or .htm and .html. Otherwise the data inside stays in the old format and apps may show an error.

Open File Explorer, choose View > Show > File name extensions.

In Finder, choose Finder > Settings > Advanced and turn on Show all filename extensions.

Open an online converter in Safari, choose the file from Files or Photos, pick the new format and save the result to Files.

Use a converter that uses HTTPS and deletes files automatically. ConvertSoon deletes uploads and results after 30 minutes and does not look at your files.

Open the file converter

Continua a leggere