How to Remove EXIF and GPS Metadata from Photos Before Sharing
Smartphones and digital cameras automatically write dozens of hidden fields inside every photo you take. Even when you only send a quick photo of a product for sale, a receipt, or your backyard, the raw file often carries exact street-level latitude and longitude, the exact timestamp, and your phone model. This guide explains what EXIF, XMP, and IPTC metadata contain, when stripping metadata protects your privacy, and how resizing or DPI changes affect your files.
- Smartphone photos frequently embed GPS latitude, longitude, altitude, and compass direction accurate to within a few meters.
- Always inspect metadata first if you need to preserve print DPI or copyright credits before stripping personal GPS tags.
- Re-encoding an image cleanly through HTML5 Canvas removes EXIF, XMP, and IPTC chunks while keeping pixel dimensions sharp.
- Apply EXIF rotation before stripping orientation tags so portrait photos do not flip sideways on older viewers.
What EXIF, GPS, and Camera Metadata Reveal
EXIF (Exchangeable Image File Format) is a standard metadata block embedded inside JPEG, WebP, and TIFF files alongside optional XMP (Adobe editing history) and IPTC (journalism and copyright) blocks. While camera exposure data helps photographers learn from a shot, personal identifiers often travel right alongside it.
When you share original image files via email, chat apps configured to send full-resolution files, classifieds sites, or Google Drive links, anyone who downloads the file can read:
- GPSLatitude & GPSLongitude: exact home, office, or school coordinates unless location tagging was disabled
- Make, Model & Software: exact phone model, OS version, and photo editor used
- DateTimeOriginal & OffsetTime: local capture date, second-level timestamp, and timezone
- Thumbnail & Orientation: embedded low-resolution preview thumbnail (sometimes uncropped!) and rotation flag
Example EXIF Payload Inside a Typical Phone Photo
Make: Apple | Model: iPhone 15 Pro | DateTimeOriginal: 2026:10:14 18:22:09 | GPSLatitude: 51 deg 30' 26.4" N | GPSLongitude: 0 deg 7' 39.8" W | Software: 18.1 — all readable in one click by any metadata viewer.
Why You Should Not Rely on Websites to Strip Metadata for You
Many major social networks strip EXIF tags automatically during feed compression, which can give the wrong impression that every platform behaves the same way. Whenever you send an image as a 'Document' in messaging apps, upload product shots to independent forums, submit photos to portfolio sites, or attach files to emails, original metadata often remains intact.
Some cropping tools also preserve the original embedded EXIF thumbnail—meaning a viewer inspecting raw metadata could still glimpse the uncropped outer edges of a picture you thought you trimmed.
How to Inspect and Strip Photo Metadata Locally
Because browser-based Canvas and metadata parsers execute completely inside your device memory, you never have to upload personal family photos or sensitive IDs to an external stripping server.
Follow these steps before publishing or emailing photos:
- 1. Inspect First: Open the photo in Image Metadata Viewer to see which GPS, camera, and DPI fields are actually present.
- 2. Crop or Resize Needed Regions: Perform any framing or dimension changes so embedded thumbnails never leak trimmed areas.
- 3. Strip Metadata: Run Remove Image Metadata to rebuild a clean pixel buffer with zero EXIF, XMP, or GPS tags.
- 4. Re-verify the Output: Load the newly downloaded file back into Image Metadata Viewer to confirm zero personal tags remain.
How Stripping Metadata Affects DPI and Print Size
One frequent surprise after stripping metadata is seeing DPI (dots per inch) reset to 72 or 96 DPI. On screens, DPI does not change visual clarity at all—only total pixel dimensions (width × height) control sharpness.
For physical printing, however, print shops and desktop publishing tools read the JFIF or PNG physical resolution chunk to calculate physical inches or centimeters from pixels. You can always set a target print DPI cleanly after stripping personal GPS tags.
DPI to Print Size Formula (With Worked Example)
Physical Width (inches) = Pixel Width ÷ DPI. A 2400 × 3000 px photo printed at 300 DPI yields 8 × 10 inches (sharp magazine quality). The exact same 2400 × 3000 px file flagged as 72 DPI still contains the same 7.2 million pixels—only the print header says 33.3 × 41.6 inches until you update the DPI tag.
Best Practices for Originals, Formats, and Quality
Always keep your original unedited photo in local backup storage in case you later need camera exposure logs or RAW archives. Export clean copies into a separate 'share' folder.
For photos, JPEG at 88%–92% quality or WebP keeps file sizes small without visible compression artifacts; for screenshots, logos, or scanned text documents, PNG keeps crisp edges without blurring small characters.