Milkglass
Get the app

MilkglassPhoto privacy guides

How to tell whether a photo is HEIC or JPEG

Select the exported file in Finder and choose File › Get Info to see its filename extension, or open it in Preview and click the Info button in the toolbar. You can keep a HEIC original in Apple Photos and a separate JPEG copy in a folder, so always check the exact file you plan to upload. Apple’s Mac file info guide

By Paul Bădărău, maker of Milkglass. Instructions checked on 30 November 2026.

Check the file type in Finder and Preview on Mac

  1. Open Finder and go to the folder that holds the photo you plan to send or upload.
  2. Click the image once to select it, then choose File › Get Info (or press Command-I).
  3. Read the top of the Get Info window to see whether macOS identifies the file as a HEIF Image or a JPEG Image.
  4. Click the arrow next to Name & Extension to view the exact filename extension, such as .heic or .jpg. Apple Support on filename extensions
  5. To inspect the internal image format as well, double-click the file to open it in Preview, then click the Info button in the toolbar. Apple’s Preview Inspector guide

What checking the file type affects

Checking Get Info or Preview’s Inspector only reads the selected file on your Mac. It does not convert the image, rename it, or alter the original photo stored inside your Apple Photos library. If you exported a JPEG copy for a website or government portal, that copy stays in your export folder while the HEIC source remains in Photos.

Identifying the exact file before uploading also protects your privacy. When people keep two exports in the same folder, it is easy to attach the unedited HEIC original instead of a smaller, cleaned JPEG copy. Giving the upload copy a clear filename prevents you from sending the wrong version.

When a photo’s format still looks wrong

Common questions about HEIC and JPEG files

Does renaming .heic to .jpg convert the photo?

No. Changing the letters at the end of a filename only changes the label, while the bytes inside stay encoded as HEIC. Some websites and upload forms check the actual file and reject mislabeled files. Use Preview’s Export dialog or convert an existing iPhone photo to JPEG properly.

Why do I have both a HEIC and a JPEG of the same picture?

iPhones capture photos in HEIF (saved as .heic) by default under High Efficiency, then convert copies to JPEG when sharing to apps or exporting for compatibility. To understand when to change your camera setting, read how to make new iPhone photos use JPEG.

Can an exported JPEG still contain camera and location data?

Yes. Converting or exporting a photo as JPEG keeps embedded EXIF fields such as date, camera model, and GPS coordinates unless you remove them. Before uploading, check the exported file with Preview’s metadata inspector or remove location fields first.

Related photo format and export guides

If you need a new JPEG from an existing picture, follow how to save an iPhone photo as JPEG, or check when to use Apple ProRAW on iPhone. For Mac library exports, see how to export a smaller photo for a website on Mac, or inspect embedded fields with Milkglass’s browser metadata tool.