Phone photos explained: HEIC, EXIF metadata and your privacy
A photo from a phone is more than a grid of pixels. The file also records when it was taken, on which device, which way up the phone was held and, often, where you were standing. Most of the time that is useful: it sorts your gallery and puts pictures on a map. When the file leaves your hands, the same data travels with it.
This last part of the series looks inside the file: what a HEIC photo contains, what the EXIF metadata records, why some photos appear sideways, and how to check and remove the location before you share. We also tested what the nTools image tools keep, with a photo prepared to carry typical phone metadata.
What is inside a HEIC file
HEIC is not a single image format so much as a container. HEIF, the container, can hold several images and the data that goes with them; HEIC is a HEIF file whose pictures are compressed with HEVC, the video codec. Apple’s engineers described what an iPhone puts in it when the format was introduced in 2017:
- The photo itself, split into tiles of 512 × 512 pixels arranged in a grid.
- A small thumbnail, 320 × 240 pixels, so the gallery can show it quickly.
- Auxiliary images that help display the main one, such as a depth map.
- EXIF metadata, stored as in a JPEG for compatibility.
Android can open HEIF images from Android 9, and saving them is possible from Android 10 on devices whose hardware supports it.
Converting a HEIC photo to JPEG keeps the main picture. Whether the metadata comes along depends on the converter, as the tests further down show.
What EXIF records
EXIF is a standard for photo metadata, managed jointly by the Japanese electronics and camera industry associations JEITA and CIPA. In a JPEG it sits in a small block at the start of the file. A typical phone photo records:
- Date and time the photo was taken, and often the time zone offset.
- Device: the maker, the model and the software version.
- Camera settings: exposure time, aperture, ISO, focal length, whether the flash fired.
- Orientation: which way up the picture should be shown.
- GPS position: latitude and longitude, sometimes altitude too.
- A thumbnail: a small preview copy of the picture.
It takes very little space. In our test photo the whole EXIF block, including the position, was 344 bytes in a file of 436 KB.
The position is precise. Coordinates are stored in degrees, minutes and seconds, with fractions of a second; one second of latitude is about 31 metres. GPS.gov puts the accuracy of GPS-enabled smartphones at about 4.9 metres under open sky, worse near buildings and trees. That is enough to point at a single house.
Why some photos appear sideways
The camera sensor always writes the picture the same way round. When you hold the phone upright, many phones do not rotate the pixels; they store them sideways and set the EXIF orientation tag to say how the picture should be turned for display.
Browsers follow that tag by default: the CSS image-orientation property starts as from-image, which applies the EXIF orientation. Software that ignores the tag shows the photo on its side. There is a second, more lasting way to get there: removing the metadata without first rotating the pixels.
854 × 1280How our test photo is stored: the pixels sideways, with an orientation tag that says rotate 90°1280 × 854What Chrome shows, after applying the tag854 × 1280What Chrome shows after a tool removed the metadata but left the pixels as they were: the photo is now sideways for good
The nTools image tools avoid this: the browser turns the picture the right way up as it reads it, and the copy is saved with the pixels already upright, so it no longer needs the tag.
What the nTools tools keep
We prepared a test photo with typical phone metadata: maker and model, date and time, an orientation tag and a GPS position on a public square. Then we ran it through the tools, in Chrome, and checked the files they produced:
| Tool | Output | EXIF and GPS | Orientation |
|---|---|---|---|
| Original test photo | JPEG, 436 KB | Present | Tag: rotate 90° |
| Image resizer | JPEG, 341 KB | Removed | Pixels upright, 1280 × 854 |
| Image converter | WebP, 318 KB | Removed | Pixels upright |
| Image converter | JPEG, 366 KB | Removed | Pixels upright, 1280 × 854 |
Both tools draw the picture onto a browser canvas and save a new file from it, which copies pixels and nothing else. The HEIC converter works the same way: it decodes the HEIC into plain pixels and saves a JPEG from those, so location, dates and device details are not copied. Everything happens in your browser; the photo is not uploaded.
The flip side: the copy has no capture date either. Galleries that sort by date taken may place it on the day you converted it. Keep the original if you want that history.
Check what a photo reveals
- iPhone and iPad: the Map collection in Photos shows your photos by the place they were taken. A photo that appears there carries a location.
- Mac: open the photo in Preview and choose Tools > Show Location Info. If that item is greyed out, the file has no location.
- Google Photos: open the photo and tap Info, the button with the i icon, to see its details, including any location.
Remove the location before sharing
Apple and Google document these steps:
- iPhone, for one share: select the photos, tap Share, then Options, and turn off Location. “Location Not Included” appears above the Options button.
- iPhone, for a photo in your library: open it, tap More, then Adjust Info, Adjust Location and No Location.
- iPhone, from now on: Settings > Privacy & Security > Location Services > Camera > Never. New photos will have no position.
- Mac: in Photos, select the photos and choose Image > Location > Hide Location.
- Android: turn off the location option in the Camera app’s settings; on Google phones it is called Save location, on Samsung phones Location tags. Google Photos lets you choose whether the location is shown in each shared album, link or conversation, but it cannot remove a location the camera saved, and photos shared outside Google Photos keep it.
- Any device: send a copy made with the nTools resizer or converter, which carries no metadata at all.
Removing the metadata does not remove what is in the picture. Street names, house numbers, school uniforms, a car’s number plate or a view from a window can reveal as much as GPS coordinates. Look at the picture as a stranger would before posting it.
Frequently asked questions
Does converting HEIC to JPEG remove the location?
It depends on the converter. Some copy the EXIF into the JPEG. The nTools HEIC converter does not: the JPEG it saves has no location, date or device details.
Do social networks remove the location?
Some services remove it when they process an upload, but this varies from one service to another and is not something to count on. Email attachments and file-sharing links pass the file on exactly as it is. Remove it yourself when it matters.
Why does my photo show the wrong date after converting?
The date the photo was taken is stored in the EXIF. A copy without metadata falls back to the file’s own date, which is when the copy was made.
Why is my photo sideways in one program and fine in another?
The pixels are stored sideways and an orientation tag says how to turn them. Programs that ignore the tag show the stored pixels. Saving a copy with the nTools resizer or converter rotates the pixels themselves, so it looks right everywhere.
Does turning off location for the camera affect other apps?
On an iPhone the setting under Location Services is per app: setting Camera to Never only stops new photos from being tagged.
Is a screenshot of a photo safer to share?
A screenshot does not copy the photo’s EXIF, but it keeps everything visible in the picture, at lower quality. Removing the location from the original is usually the better option.
Previous in the series ← Image size explained: pixels, DPI, file size and quality
References
- Library of Congress — Exchangeable Image File Format (Exif) Family
- Apple Developer — High Efficiency Image File Format (WWDC17)
- Android Developers — Supported media formats
- MDN — image-orientation CSS property
- MDN — Window: createImageBitmap() method
- GPS.gov — GPS Accuracy
- Apple Personal Safety User Guide — Manage location metadata in Photos
- iPhone User Guide — Browse photos and videos by location
- Preview User Guide — See where a photo was taken
- Google Photos Help — Understand, find & edit your photos’ locations
- Google Photos Help — Change your camera location settings
Related guides
- IP addresses explained: IPv4, IPv6 and the reserved ranges
- Subnets and CIDR explained: prefixes, masks and usable hosts
- DNS records explained: A, AAAA, CNAME, MX, TXT and NS
- Is a website down, or is it just you? How to check, step by step
- HTTP status codes and Cloudflare errors: what 403, 404, 429, 500, 503 and 521 mean
- Unix timestamps and time zones explained
- Counting dates: days between dates, leap years and ISO weeks
- Image formats explained: JPEG, PNG, WebP, AVIF and HEIC
- Image size explained: pixels, DPI, file size and quality
- Password strength explained: length, entropy and passphrases
- Hash functions explained: SHA-256, checksums and password hashing
- JSON Web Tokens explained: claims, signatures and safe validation
- UUIDs explained: v4, v7 and choosing the right version
- QR codes explained: capacity, error correction and print size
- Percentages and VAT explained: adding, removing and stacking
- Common JSON errors and how to fix them
- CSV files explained: delimiters, quotes, encoding and Excel
- Text encodings explained: UTF-8, Base64 and URL encoding
- Editing PDFs in the browser: what merging, splitting and converting keep