What your photos carry that isn't the picture
The last photo you shared from your phone probably left with its GPS coordinates attached. The date and time the shot was taken. The make and model of your device. All of that traveled invisibly inside the file, embedded in a block of data called EXIF.
Most people never see it. Some people look for it.
What EXIF is
EXIF stands for Exchangeable Image File Format. It's a standard that cameras and phones follow when they save an image: alongside the pixel data, the device writes a structured block of technical information into the file header. The image is the visible part. The EXIF block is not.
Modern smartphones write more into this block than older cameras did. At minimum, most phones embed a timestamp (date, time, sometimes time zone), the phone model, and a few technical settings from the moment of capture. If location services are enabled and the camera app has permission, GPS coordinates go in too. Accurate, in many cases, to within a few meters.
What a photo file can carry
The exact fields vary by device and app, but a typical smartphone photo may include:
- GPS latitude, longitude, and altitude
- Timestamp with time zone
- Camera or phone make and model
- Focal length, aperture, shutter speed, ISO
- Flash setting at the moment of capture
- Name of the editing software, if any was used
That last field is one people overlook. If you edit a photo in a specific app, that app's name can end up in the metadata. Same with certain apps that import and re-export photos. The camera rolls and processes but adds its own signature along the way.
What strips it and what doesn't
This is where people get surprised.
Most major social platforms strip or truncate EXIF on upload. Instagram removes GPS. So does X. Facebook does too, before the image reaches anyone else. TikTok strips location as well. The photo another person sees on those platforms is not the file you originally uploaded.
Direct sharing is different. When you send a photo as an email attachment, through iMessage, as a file in a messaging app, or over AirDrop, the recipient usually gets the original file. The metadata travels with it intact.
Messaging apps vary considerably. WhatsApp compresses photos by default and strips location as a side effect. Signal removes metadata before sending. iMessage does not. The same photo, sent two different ways, can carry two different amounts of information about where it was taken and when.
If you're unsure whether a platform strips EXIF, assume it doesn't. Checking is easier than trusting.
How to check what a photo carries
On a Mac: open the photo in Preview, then go to Tools > Show Inspector. If a GPS tab appears, the file has coordinates in it.
On Windows: right-click the file and choose Properties, then go to the Details tab. Camera model, date taken, and GPS data (if present) are all listed there.
On an iPhone: the native Photos app shows the location on a map if it's embedded. For the raw EXIF block, apps like Metapho or any EXIF viewer from the App Store show every field in one place.
On Android: Google Photos shows location in the info panel when you swipe up on a photo. For the full field list, a metadata viewer from the Play Store shows everything the file holds.
How to strip it before you send
Windows: right-click the photo, choose Properties > Details, and click "Remove Properties and Personal Information." You can remove fields selectively or strip everything at once.
Mac: Preview has a "Remove Location Info" option in the GPS tab when coordinates are present. For a full strip across all fields, ExifTool on the command line is the most complete option.
iPhone: when sharing a photo, tap "Options" at the top of the share sheet and turn Location off. That strips the GPS field before the file leaves your phone. It does not strip other EXIF fields like the camera model or timestamp.
Android: in your gallery's sharing flow, look for "Remove location" or "Remove metadata." The exact path varies by manufacturer and Android version.
One thing that does not strip EXIF: cropping. A cropped version of a photo keeps the original metadata unless you explicitly remove it. This surprises people who assume any editing would clean the file. It doesn't.
The other direction
Metadata is information that accumulated in a photo without you putting it there. You didn't decide to include your GPS coordinates. The camera wrote them automatically, and they traveled because nothing stopped them.
There is a different kind of information a photo can carry: something you placed there on purpose. A message written for one person, invisible to everyone else, readable only by someone who has the Key you gave them.
That's what GhostCode's Pixel Ghosting does. You write a message, set a Key, and send an ordinary-looking photo. The person you wrote it for opens it in the app using the Key you shared separately. For anyone else, the photo is just a photo. Nothing leaks by accident. The message went in deliberately, and you decide who can read it.
The idea of information traveling inside a photo without changing how the photo looks is the same in both cases. What's different is direction and intent: metadata leaves without your knowledge, and a hidden message arrives on purpose.
If you've been thinking about what travels in a file without your say-so, the same question shows up in what "disappearing messages" actually protect you from and in why screenshots undercut most private messaging. Each one is a different angle on the same gap between what a feature promises and what it can actually guarantee.
Questions people ask
Can someone find my location from a photo I sent?
They can if the photo still carries GPS metadata and you sent it in a way that preserved the original file. Direct email attachments, iMessage photo files, and AirDrop transfers often keep metadata intact. Social platforms usually strip GPS before the image reaches other users, but that's not a guarantee for every platform or sharing method. The only reliable way to prevent GPS from traveling with a photo is to strip it on your device before sending.
Does EXIF data get removed when you share a photo?
It depends on how you share it. Most major social platforms (Instagram, X, Facebook, TikTok) strip GPS on upload. Direct file sharing does not strip anything by default. Messaging apps vary: Signal strips metadata before sending, iMessage does not, and WhatsApp compresses the image in a way that removes location as a side effect. If you need the metadata gone, remove it on your device before sharing rather than relying on the platform to do it.
What is the difference between metadata leaking out of a photo and hiding something in a photo on purpose?
Metadata is a byproduct. It goes in automatically when a photo is taken and travels because nothing stopped it. Steganography is the opposite: information placed in a file intentionally, in a way that doesn't change how the file looks to ordinary viewers. EXIF and Pixel Ghosting are both "data inside an image file," but one is accidental and one is deliberate. The accidental kind leaks things you'd rather not share. The deliberate kind carries something you wrote for one person and no one else.
Put something in a photo on purpose
GhostCode hides your message inside a photo or a QR code, so only the person you choose can read it. See how it works.