By JW Tool Box

How to Remove EXIF Data from Photos Before Sharing Online

Every photo you take embeds invisible metadata—GPS coordinates, camera serial numbers, timestamps. Here is why that matters and how to strip it all out in seconds, right in your browser.

Why trust this guide

  • Written by JW Tool Box around the actual workflow or linked tool on this page.
  • Updated when browser behavior, file handling, or platform dimensions change in ways that affect the steps.
  • Focused on practical settings, safe defaults, and real tradeoffs instead of generic filler.

In 2012, the antivirus pioneer John McAfee was on the run in Belize. Vice magazine published an exclusive interview with him—along with a photo. The photo's EXIF data included GPS coordinates that pinpointed his exact location. He was found, arrested, and deported within 48 hours.

You are probably not a fugitive. But the metadata embedded in your photos can still reveal more about you than you realize.

What Is EXIF Data?

EXIF (Exchangeable Image File Format) is a standard for storing metadata inside image files. When your phone or camera takes a photo, it automatically writes a block of information into the file alongside the actual pixel data.

Here is a partial list of what EXIF metadata typically includes:

  • GPS coordinates — The exact latitude and longitude where the photo was taken, accurate to within a few meters.
  • Date and time — When the shutter fired, down to the second.
  • Camera make and model — "iPhone 16 Pro Max," "Canon EOS R5," etc.
  • Camera serial number — A unique identifier tied to your specific device.
  • Lens information — Focal length, aperture, ISO, shutter speed.
  • Software — Which app processed or edited the photo.
  • Thumbnail — A small preview image, which may preserve the original framing even if you cropped the visible image.
  • Orientation — How the camera was held (portrait, landscape, rotated).
  • Owner name — Some cameras let you set a copyright/owner field.

This data is invisible when you view the photo normally. But anyone who downloads the image file can read all of it using free tools or a simple command-line call.

Why Should You Care?

1. Location Tracking

If you post a photo from your living room with GPS EXIF data intact, anyone who saves that image can see your home address on a map. This is not a theoretical risk—it has been exploited by stalkers, burglars, and doxxers.

Photos taken at your workplace, your gym, your children's school—all of these can reveal patterns of life that you would never consciously share with strangers.

2. Device Fingerprinting

A camera serial number is a globally unique identifier. If you post photos from the same camera across different platforms—say, an anonymous art account and a personal Instagram—anyone who correlates the serial numbers can link those accounts together.

3. Timestamps

EXIF timestamps reveal when photos were taken, not when they were posted. This can expose routines ("every Monday at 8 AM she is at this coffee shop") or contradict stories ("you said you were home sick but this photo was taken at the beach at 2 PM").

4. Thumbnail Leaks

Here is a subtle one. If you take a photo and then crop it to remove sensitive content—a license plate, a face, a street sign—the EXIF thumbnail may still contain the original uncropped image. This has caught people off-guard more than once.

Which Platforms Strip EXIF Data Automatically?

Some social media platforms remove EXIF data when you upload:

Platform Strips EXIF? Notes
Facebook Yes Removed on upload
Instagram Yes Removed on upload
Twitter/X Yes Removed on upload
WhatsApp Yes Also re-compresses aggressively
Discord No Full EXIF preserved
Email attachments No Full EXIF preserved
Slack No Full EXIF preserved
Forums / blogs Varies Most do NOT strip EXIF
Cloud storage links No Google Drive, Dropbox, iCloud links preserve EXIF

The takeaway: If you share images through any channel other than the major social networks, assume EXIF data is preserved. Email, Slack, Discord, forums, blog posts, and cloud storage sharing links all pass through the original file untouched.

How to Remove EXIF Data

Option 1: Browser-Based Tool (Recommended)

The JW Tool Box EXIF Eraser strips all metadata from your photos in one click. Here is how it works:

  1. Open the tool and drop your images in. It supports JPG, PNG, WebP, and more.
  2. Click "Remove EXIF". The tool reads the raw image pixel data and writes a clean copy without any metadata.
  3. Download the cleaned files.

The key advantage: your photos never leave your device. The processing happens entirely inside your browser using the HTML5 Canvas API. When you load an image onto a canvas and export it, only the pixel data survives—all EXIF metadata is discarded by the browser engine itself. This is not a hack; it is how the Canvas API is specified to work.

Option 2: Command Line (macOS/Linux)

If you prefer the terminal, exiftool is the gold standard:

# Install
brew install exiftool  # macOS
sudo apt install libimage-exiftool-perl  # Debian/Ubuntu

# Strip all metadata from a single file
exiftool -all= photo.jpg

# Strip all metadata from all JPGs in a folder
exiftool -all= *.jpg

# Strip metadata but keep orientation (prevents rotated images)
exiftool -all= -tagsfromfile @ -Orientation photo.jpg

The -all= flag removes every metadata tag. Adding -tagsfromfile @ -Orientation copies back just the orientation tag so your photo does not display sideways.

Option 3: Operating System Tools

  • macOS Preview: Open the image → Tools → Show Inspector → (i) tab → GPS tab → Remove Location Info. This only removes GPS, not all EXIF data.
  • Windows: Right-click → Properties → Details → "Remove Properties and Personal Information." Lets you select which fields to strip.
  • iOS: When sharing a photo, tap "Options" at the top of the share sheet and toggle off "Location."
  • Android: In Google Photos, the share option does not currently strip EXIF. Use a dedicated tool.

The OS-level options are decent for GPS removal but rarely offer full metadata stripping. If you want everything gone—serial numbers, timestamps, thumbnails, the works—use the browser tool or exiftool.

A Practical Workflow

Here is what I personally do before sharing photos outside of major social platforms:

  1. Select the photos I want to share.
  2. Drop them into the EXIF Eraser. Batch processing handles dozens of images at once.
  3. Download the cleaned copies.
  4. Share the cleaned versions via email, Slack, or wherever.

The entire process takes about 10 seconds. It is faster than typing a message about the photo.

What About HEIC Files?

If you are on an iPhone, your photos are likely stored as HEIC (High Efficiency Image Coding) files rather than JPG. HEIC files also contain EXIF data—including GPS.

The EXIF Eraser handles HEIC files via the HEIC to Image Converter pipeline. Or you can first convert your HEIC photos to JPG using the converter, then strip the metadata.

The Bottom Line

EXIF metadata is a useful standard—it helps photo management apps organize your library by date and location, and it embeds valuable shooting data for photographers analyzing their technique.

But the moment a photo leaves your personal device and enters someone else's hands, that same metadata becomes a liability. GPS coordinates, camera serial numbers, timestamps, and even hidden thumbnails can leak information you never intended to share.

The fix is simple: strip the metadata before you share. It takes 10 seconds, and you never have to wonder what you just gave away.

Strip EXIF Data from Your Photos →

About the author

JW Tool Box - Editorial and product review team

JW Tool Box publishes hands-on guides tied directly to the site's browser-based tools. Content is updated when browser behavior, platform rules, or product requirements change in ways that affect real workflows. The goal is to provide practical instructions, tested defaults, and trustworthy reference content instead of thin keyword filler.

Read the editorial policy

Related tools

Additional browser-based utilities that are closely related to this workflow.