THE VECTOR FIELD GUIDE

How to change a file type

Renaming an extension is not the same as converting. Learn when renaming works, how to show extensions, and how to convert images safely.

By Shahab Uddin · Updated

The short answer

To change a file type you usually need to convert the file, not just rename it. Renaming photo.png to photo.jpg changes the label but not the data inside, and many apps will refuse it. Renaming works only when both extensions mean the same format, such as .jpeg to .jpg or .jfif to .jpg.

Rename or convert?

ChangeRename is enough?Why
.jpeg → .jpgYesSame format
.jfif → .jpgYesJFIF files are JPEG
.tif → .tiffYesSame format
.png → .jpgNoDifferent compression; convert
.heic → .jpgNoDifferent codec; convert
.jpg → .svgNoRaster to vector needs tracing

Show file extensions first

  1. Windows 11: File Explorer, View, Show, then File name extensions.
  2. Windows 10: File Explorer, View tab, tick File name extensions.
  3. Mac: Finder, Settings, Advanced, tick Show all filename extensions.

Convert images properly

  • Photos to JPG: image to JPG converter.
  • Any image to PNG: image to PNG converter.
  • iPhone HEIC to JPG: HEIC to JPG converter.
  • Pictures to PDF: image to PDF converter.
  • Logos to scalable vector: JPEG to SVG converter.

On a phone

iPhone and Android file managers often hide extensions. Converting in the browser is simpler: open a converter page, choose the file from your gallery or Files, and download the new format.

Sources

Written by Shahab Uddin. Published ; updated . Corrections are welcome through the contact page.

A few useful answers

Before you hit download

Can renaming a file damage it?

No, the data is unchanged. But the file may not open until you rename it back or convert it properly.

Why can’t I see the extension?

Windows and macOS hide known extensions by default. Turn on extensions in Explorer or Finder settings.

How do I change a picture to JPEG?

Use a converter that re-encodes the image, such as the image to JPG tool on this site.

Next, make it useful.