MetaRinse AI
100% Client-Side · Free
MetaRinse AI

How to Remove Metadata from HEIC Photos (iPhone Guide)

Strip EXIF, GPS and XMP from HEIC and HEIF photos taken on iPhone. Learn the browser limits, the conversion step, and how to clean them free.

Removing metadata from an HEIC photo taken on an iPhone
Removing metadata from an HEIC photo taken on an iPhone

If you take photos on an iPhone, most of them are HEIC files, and most of them carry more metadata than any other format in this series. HEIC is Apple's implementation of HEIF, the High Efficiency Image File Format, and it stores not just a photo but a small database of related images, depth maps, live photo video and a full EXIF block, all wrapped in an ISOBMFF container. This guide explains the box structure of an HEIC file, what data it holds, the honest limits of cleaning it in a browser, and the workflow that actually works.

What HEIC and HEIF Actually Are

HEIF is a container standard based on ISOBMFF, the same ISO Base Media File Format that underpins MP4 video. HEIC is the variant that uses HEVC, also known as H.265, to compress the image data. Apple adopted it as the default photo format in iOS 11 because it stores the same quality as JPEG at roughly half the file size, and because the container can hold more than one image: a still photo, a depth map for Portrait mode, a burst sequence, and the short video clip that makes a Live Photo.

The container is organised into boxes, each with a four-letter type and a size. The ftyp box declares the file type and compatible brands. The meta box is the heart of the file: it holds the hdlr box, the pitm box that identifies the primary image, the iloc box that records where each item's data lives, the iinf box that lists the items, and the iprp box that holds image properties such as dimensions, colour information and the hvcC box describing the HEVC codec configuration. The actual compressed image data lives in the mdat box.

Metadata lives in several of these boxes. The meta box can contain an Exif item, stored as its own item with a type of Exif and referenced from the item information, and an XMP packet stored the same way. Because HEIC is a container rather than a single image stream, a cleaner cannot simply walk a linear list of segments the way it can with JPEG. It has to parse the box tree, find the metadata items, remove them, and rewrite the location tables so that the remaining items still point at the right bytes.

What Metadata Lives in an HEIC File

The EXIF item in an HEIC file is a full EXIF block, and on an iPhone it is detailed. It records the phone model, the lens, focal length, aperture, shutter speed, ISO, exposure and white balance, the date and time, and the orientation. It also records GPS coordinates with high precision, because iPhones geotag photos by default when Location Services are enabled for the camera. That is the single most sensitive piece of data in the file.

Alongside EXIF, an HEIC can carry an XMP packet with IPTC fields, keywords and edit history, and a maker note from Apple describing the capture in more detail. Live Photos add another layer: the short video clip stored in the file has its own metadata, including its own timestamps, and the depth map for Portrait mode is a separate image item with its own properties. The file can also contain a thumbnail item, which, like the JPEG EXIF thumbnail, may show the uncropped original.

The practical consequence is that an HEIC file is the richest metadata carrier a phone produces. A single photo can reveal where you were, when, with which phone, in which direction you were facing, and what the scene looked like before you cropped it. That is a lot of information to attach to a file you are about to send to a stranger.

Why iPhone Photos Need Cleaning

Location is the reason most iPhone users start caring about metadata. A photo taken at home, at a child's school or at a private event carries GPS coordinates accurate to a few metres, and those coordinates survive sharing through many channels. AirDrop, email attachments and file uploads generally preserve the original file, including its metadata, so the recipient gets the coordinates along with the picture.

The second reason is that iPhone photos are shared constantly and casually. A photo sent to a buyer's chat, uploaded to a marketplace listing or posted to a forum is often sent as the original HEIC file, because the sender does not realise the phone is sharing more than the picture. Sellers on Etsy and Facebook Marketplace, who photograph products at home, are a common example: the listing photo can quietly reveal a home address.

The third reason is the Live Photo. Many people do not realise a Live Photo is a still image plus a three-second video, and the video portion can capture audio and movement from before and after the shutter press. Cleaning the metadata does not remove the video portion, but it does remove the timestamps and location data attached to it, and it is a good prompt to check whether Live Photos is enabled before taking a sensitive picture at all.

The Browser Problem with HEIC

Here is the honest part, and it matters. Browsers are poor at handling HEIC. Safari can display HEIC images natively, because Apple built the support in, but Chrome, Edge and Firefox on most platforms cannot decode HEIC at all, and none of the major browsers can encode HEIC through the standard canvas API. That means a browser-based tool cannot reliably re-encode an HEIC file the way it can re-encode a JPEG or PNG, and a tool that claims to clean HEIC entirely in your browser is either using a WebAssembly HEVC decoder, which is slow and heavy, or it is uploading your file to a server, which defeats the privacy purpose.

The practical consequence is that HEIC cleaning usually involves a conversion step. The file is converted to JPEG first, and the JPEG is then cleaned. That is not a flaw in the cleaning process: it is a limitation of the browser platform, and any honest guide should say so. The conversion does change the file format, and a JPEG will be larger than the original HEIC at the same quality, but the cleaned JPEG contains no metadata and can be opened anywhere, which is usually a better trade than keeping a smaller file that most recipients cannot open.

There are desktop alternatives. On a Mac, Preview can export an HEIC as JPEG, and the Photos app can export with location data removed. On Windows, the HEIF Image Extensions from the Microsoft Store add HEIC viewing support, and tools such as ExifTool can edit HEIC metadata directly from the command line. These are good options if you work with HEIC files regularly and want to keep the format.

How to Remove HEIC Metadata

The most practical browser workflow is to convert and then clean. If your iPhone is set to transfer photos to a computer as original HEIC files, change the transfer setting to Automatic first, so that photos arrive as compatible JPEG files when you connect the phone. On the iPhone itself, go to Settings, Photos, and under Transfer to Mac or PC choose Automatic instead of Keep Originals. That single setting prevents most HEIC headaches before they start.

For a file you already have, the steps are:

  1. Convert the HEIC to JPEG. On a Mac, open it in Preview and choose File, Export, then JPEG. On Windows, use the Photos app or a trusted converter.
  2. Drop the converted JPEG into the MetaRinse AI image cleaner, which runs entirely in your browser and strips the EXIF, XMP and C2PA segments.
  3. Check the report to confirm the GPS coordinates and other EXIF data are gone.
  4. Share the cleaned JPEG instead of the original HEIC.

It is worth cleaning the converted JPEG rather than trusting the converter to do it. Many converters copy the EXIF block into the new JPEG, including the GPS data, so the conversion alone does not protect you. The cleaning pass is the step that actually removes the data. Our guide to removing metadata from JPEG files explains exactly which segments are removed and how to verify the result.

If you would rather keep the HEIC format, use ExifTool on a computer with a command such as exiftool -all= -overwrite_original photo.heic, which removes all metadata items from the file in place. That works because ExifTool understands the ISOBMFF box structure, but it is a command-line tool and it modifies the original file, so keep a backup of anything important.

iPhone Settings — Photos — Transfer to Mac or PC — Automatic (sends JPEG, not HEIC)

A Clean Workflow for iPhone Photos

The best workflow is the one you do not have to think about. Start in the iPhone settings: set Transfer to Mac or PC to Automatic, so files arrive as JPEG. Consider turning off location tagging for the camera in Settings, Privacy and Security, Location Services, Camera, by choosing Never, if you do not need geotagged photos. That stops GPS data at the source, which is more reliable than removing it afterwards.

For photos you have already taken, make cleaning the last step before sharing. Convert the HEIC to JPEG, clean the JPEG with a client-side tool such as the MetaRinse AI image cleaner, and spot-check the result by viewing the file's properties. If you share through iMessage or AirDrop, remember that Apple preserves the original file and its metadata by default, so cleaning before you share is the only reliable protection.

Finally, remember what cleaning cannot do. Removing metadata from an HEIC or a converted JPEG cannot remove an invisible pixel watermark baked into the image, such as Google SynthID, and it cannot change what an AI detector reads from the picture itself. It also cannot remove the video and audio in a Live Photo, so turn Live Photos off before taking a sensitive picture rather than relying on cleaning afterwards. What it does guarantee is that no GPS coordinates, timestamps, device details or edit history travel with the file you share, and for an iPhone photo, that is usually the data that matters most. If you also work with WebP images from the web, our guide to removing metadata from WebP files covers the RIFF chunks those files carry.

Frequently Asked Questions

Not reliably. Most browsers cannot decode or re-encode HEIC, so the practical workflow is to convert the HEIC to JPEG first and then clean the JPEG in your browser.
Not necessarily. Many converters copy the EXIF block, including GPS data, into the new JPEG. Always run a cleaning pass on the converted file.
No. Metadata cleaning removes EXIF, XMP and timestamps, but the video portion of a Live Photo is image data, not metadata. Turn Live Photos off before taking sensitive pictures.
Go to Settings, Photos, Transfer to Mac or PC and choose Automatic, so photos transfer as JPEG. You can also change the camera format to Most Compatible to shoot JPEG directly.

Keep reading