How to Remove EXIF Metadata from Photos & Files — Protect Your Privacy Online
A few months ago, a friend posted a photo of her new apartment on a rental review forum. She thought she was being careful — no address in the post, no street signs in the frame, nothing that could identify where she lived.
Within two hours, someone in the comments had pinpointed her exact building. Not from anything visible in the photo. From the GPS coordinates embedded in the image file itself.
She had no idea those coordinates were there. Most people don't. Every photo you take with a smartphone — and many taken with digital cameras — contains an invisible dossier of information called EXIF metadata. Your exact location. The date and time. Your device model. Sometimes your name. And when you upload that photo to a forum, email it to a stranger, or post it on a website that doesn't strip metadata automatically, all of that information goes with it.
This is not a theoretical risk. It's a daily one. And in this guide, I'll show you exactly what metadata hides in your files, why it matters, and how to remove it completely — on every platform, using free tools, before you share anything online again.
What Is EXIF Metadata (and Why Should You Care)?
EXIF stands for Exchangeable Image File Format. It's a standard that embeds technical and contextual information directly into image files — JPEGs, TIFFs, PNGs, and others. This metadata is invisible when you view the photo normally, but it's fully readable by anyone who knows where to look.
Your camera or phone writes this data automatically every time you press the shutter button. You never opted into it. There's no popup asking permission. It just happens.
What's actually stored in EXIF data
Here's a real-world example of what a typical smartphone photo contains:
| Metadata Field | Example Value |
|---|---|
| GPS Latitude | 40.7128° N |
| GPS Longitude | 74.0060° W |
| GPS Altitude | 10.2 meters |
| Date/Time Original | 2026:03:15 14:32:07 |
| Camera Make | Apple |
| Camera Model | iPhone 16 Pro |
| Lens Info | 6.765mm f/1.78 |
| Software | iOS 19.3 |
| Image Width | 4032 |
| Image Height | 3024 |
| ISO Speed | 64 |
| Exposure Time | 1/2000 sec |
| F-Number | f/1.78 |
| Flash | Off |
| Color Space | sRGB |
| Owner Name | Jane Doe |
| Serial Number | DNXXXXXXXX |
| Thumbnail | Embedded 160x120 preview |
That's not an exaggeration. That's a typical smartphone photo. The GPS coordinates alone are accurate to within a few meters — enough to identify a specific house, office, or school.
Beyond photos: metadata in other file types
EXIF is specific to images, but metadata exists in virtually every file format:
- PDFs contain author name, software used, creation date, revision history, and sometimes the full name of the computer that created them
- Word documents store author, organization, editing time, revision count, and embedded comments (even deleted ones)
- Videos include GPS data, device info, and recording parameters
- Audio files contain recording device info, software, and sometimes GPS coordinates
- Screenshots store device model, OS version, screen resolution, and timestamp
If you've ever emailed a PDF to a client and wondered how they knew you used a specific piece of software — now you know.
The Real Privacy Risks of Photo Metadata
Let's move past the abstract and talk about specific scenarios where EXIF data has caused real problems.
Home location exposure
This is the most common risk. You take a photo at home — your pet, your cooking, your new furniture — and post it online. The GPS coordinates in that image now point directly to your residence. For anyone concerned about stalking, domestic violence, or simply personal security, this is a serious threat.
Workplace identification
Photos taken at work contain GPS data pointing to your employer's location. Combined with timestamps showing when you're regularly at that address, someone can piece together your daily schedule.
Child safety
Parents share photos of their children constantly — on social media, in family group chats, on school forums. If those photos contain GPS data from your home or your child's school, you've handed a potential predator a map.
Travel patterns and absence from home
A series of geotagged vacation photos tells the world two things: where you are, and where you aren't. Burglars have used social media posts to identify when homeowners are away.
Whistleblower and journalist exposure
Journalists, activists, and whistleblowers face the highest stakes. A photo sent to a news organization with EXIF data intact can reveal the source's identity, location, and device — potentially putting lives at risk. Several documented cases exist where EXIF data led to the identification and arrest of anonymous sources.
Legal and professional liability
Lawyers, healthcare workers, and financial professionals who share photos or documents containing metadata risk violating confidentiality agreements, HIPAA, GDPR, or other regulatory requirements.
How to Check What Metadata Your Photos Contain
Before you remove metadata, it helps to see exactly what's there. Here are the quickest methods.
On Windows
- Right-click the photo file
- Select Properties
- Click the Details tab
- Scroll through the fields — you'll see GPS, camera info, dates, and more
On macOS
- Open the photo in Preview
- Go to Tools > Show Inspector (or press
Cmd + I) - Click the EXIF tab to see all embedded data
On iPhone
- Open the photo in the Photos app
- Swipe up or tap the info (i) button
- You'll see a map showing where the photo was taken, along with camera details
On Android
- Open the photo in Google Photos or your gallery app
- Tap the three-dot menu and select Details or Info
- GPS coordinates, date, and camera info will be listed
Using online tools
You can also drag any image into a browser-based image info viewer to instantly see every piece of embedded metadata without installing anything.
How to Remove EXIF Metadata: Complete Guide by Platform
Now the practical part. Here's how to strip metadata on every major platform.
Method 1: Windows (Built-in)
Windows has a native metadata removal tool that most people don't know about.
- Right-click the photo (or select multiple photos)
- Click Properties > Details
- Click "Remove Properties and Personal Information" at the bottom
- Choose "Create a copy with all possible properties removed" (safer) or "Remove the following properties from this file" (selective)
- Click OK
Pros: No software needed, works on batch selections. Cons: Doesn't remove all EXIF fields in some cases. No preview of what's being removed.
Method 2: macOS (Built-in with Preview)
macOS doesn't have a one-click metadata removal tool built in, but you can use Preview to export a clean copy:
- Open the image in Preview
- Go to File > Export
- Choose your format (JPEG, PNG, etc.)
- The exported file will have reduced metadata, but not completely stripped
For complete removal on macOS, use the Terminal:
# Install exiftool via Homebrew
brew install exiftool
# Remove all metadata from a single file
exiftool -all= photo.jpg
# Remove all metadata from all JPEGs in a folder
exiftool -all= *.jpg
# Remove only GPS data (keep other metadata)
exiftool -gps:all= photo.jpg
Method 3: iPhone
Before sharing (preventive):
- Open Settings > Privacy & Security > Location Services
- Scroll to Camera and set it to Never
- All future photos will be taken without GPS data
Before sharing (per-photo):
- Open the photo in Photos
- Tap Share
- Tap Options at the top of the share sheet
- Toggle off Location and All Photos Data
- Now share — the recipient gets a clean copy
Method 4: Android
Disable GPS in camera:
- Open your Camera app
- Go to Settings (gear icon)
- Turn off Location tags or Save location
Remove from existing photos:
Android doesn't have a built-in metadata removal tool. Your best options:
- Use Google Photos: when sharing via link, Google strips most EXIF data automatically
- Use a browser-based tool (see Method 6 below)
- Use the
ExifToolapp from F-Droid for full control
Method 5: Linux (Command Line)
# Using exiftool (most thorough)
sudo apt install libimage-exiftool-perl
exiftool -all= photo.jpg
# Using mat2 (metadata anonymisation toolkit)
sudo apt install mat2
mat2 photo.jpg
# Using ImageMagick (strips profiles including EXIF)
convert photo.jpg -strip cleaned_photo.jpg
# Batch process entire directory
exiftool -all= -r /path/to/photos/
The -r flag processes subdirectories recursively. Add -overwrite_original if you don't want backup files created.
Method 6: Browser-Based Tools (Any Platform)
If you don't want to install anything, browser-based tools process your images entirely in your browser — the files never leave your device.
On akousa.net, you can use the Photo Editor to open any image, make edits or adjustments, and export a clean copy. Always verify the exported file's metadata before sharing sensitive images.
This also applies to tools like the Image Compressor, Image Resizer, and Image Format Converter. Any time an image passes through a browser-based processing pipeline, the output is a fresh file without the original's metadata baggage.
For PDFs, the PDF Metadata viewer lets you inspect exactly what information is embedded in your documents before you share them.
Social Media Platforms: Which Ones Strip Metadata?
Not all platforms handle your metadata the same way. Here's the current state as of 2026:
| Platform | Strips EXIF on Upload? | Strips GPS? | Notes |
|---|---|---|---|
| Yes | Yes | Strips most EXIF, but Facebook stores the data internally | |
| Yes | Yes | Same as Facebook — stripped from public view, retained by Meta | |
| Twitter/X | Yes | Yes | Strips all EXIF data from uploaded images |
| Partial | Yes | Strips GPS but may retain some camera data | |
| Yes | Yes | Heavy compression also destroys metadata | |
| Telegram | No (as file) | No (as file) | If sent as "file" instead of "photo," original EXIF is preserved |
| Discord | No | No | Discord does NOT strip EXIF data from uploaded images |
| No | No | Attachments retain all original metadata | |
| Slack | No | No | Files uploaded to Slack retain metadata |
| iMessage | Varies | Varies | Depends on settings; location can be included |
The critical takeaway: platforms that strip metadata on upload still store it on their servers. Facebook, Instagram, and others use your GPS data, timestamps, and device info for advertising and content analysis. Stripping metadata before upload means the platform never gets that data in the first place.
And for platforms like Discord, Slack, and email — you're entirely on your own. If you don't strip it, it's there for anyone to read.
Metadata in Documents: PDFs, Word Files, and More
Photos get most of the attention, but document metadata can be equally revealing.
PDF metadata risks
A PDF might contain:
- Author name (often your full legal name from your OS account)
- Organization (your company name)
- Creation software (Adobe Acrobat, Microsoft Word, LibreOffice, etc.)
- Creation and modification dates (reveals your working schedule)
- Embedded fonts (can indicate OS and locale)
- XMP data (extended metadata that can include GPS if the PDF contains geotagged images)
If you're a lawyer sending a contract, a consultant sharing a proposal, or anyone distributing professional documents — check your PDF metadata before sending. The PDF Metadata tool on akousa.net lets you inspect all embedded fields instantly.
Word document metadata
Microsoft Word documents are particularly metadata-heavy:
- Author and last editor names
- Total editing time
- Number of revisions
- Comments (including deleted ones that may still be recoverable)
- Track changes history
- Template name
- Company name from the Office license
To clean Word documents: Go to File > Info > Check for Issues > Inspect Document. Select all categories and click Inspect, then Remove All for each category.
Batch metadata removal for professionals
If you regularly share files externally, build metadata removal into your workflow:
- Before sharing photos online: Run them through a browser-based image tool to get a fresh export
- Before emailing documents: Use the document inspector built into your office suite
- Before uploading to cloud storage: Strip metadata first — cloud providers may index it
- Before posting on forums or public sites: Always assume the platform doesn't strip anything
Advanced Tips for Privacy-Conscious Users
Remove metadata from screenshots too
Screenshots contain less data than photos but still include:
- Device model and OS version
- Screen resolution (can help fingerprint your device)
- Exact timestamp
- Display color profile
If you're sharing screenshots for bug reports, tutorials, or anonymous posts, strip this data too.
Watch out for embedded thumbnails
EXIF data often includes a thumbnail preview of the original image. Even if you crop or blur part of a photo and re-save it, the original uncropped/unblurred version may persist as the EXIF thumbnail. This has caught people off guard — they blur a face or license plate, but the original is still readable in the thumbnail.
The solution: strip all EXIF data, not just GPS coordinates.
Metadata in RAW files
If you shoot in RAW format (CR2, NEF, ARW, etc.), your files contain even more metadata than JPEGs — including detailed lens profiles, focus points, and sometimes a full-resolution JPEG preview. Always convert to a standard format and strip metadata before sharing.
Browser-based tools and privacy
When using online tools, the key question is: does the file leave your device? Server-side tools upload your image to a remote server for processing, which means the server operator has access to your file and its metadata.
Browser-based tools that use client-side JavaScript process everything locally. The file never leaves your browser. This is why client-side tools are fundamentally more private — there's no server to trust, no upload to intercept, no copy retained on someone else's infrastructure.
Tools on akousa.net process images and documents entirely in your browser. Nothing is uploaded to any server.
Automating Metadata Removal
If you deal with large volumes of files, manual removal isn't practical. Here are automation approaches.
ExifTool watched folder (macOS/Linux)
# Watch a folder and auto-strip metadata from new files
inotifywait -m -e create /path/to/watch/ |
while read path action file; do
exiftool -all= -overwrite_original "$path$file"
done
Windows Task Scheduler approach
Create a batch script that runs ExifTool on a specific folder, then schedule it to run periodically:
exiftool -all= -overwrite_original -r C:\Users\YourName\ShareFolder\
Git pre-commit hook
For developers who accidentally commit images with metadata to repositories:
#!/bin/sh
# .git/hooks/pre-commit
for file in $(git diff --cached --name-only --diff-filter=ACM | grep -iE '\.(jpg|jpeg|png|tiff|gif)$'); do
exiftool -all= -overwrite_original "$file"
git add "$file"
done
This automatically strips metadata from any image file before it's committed.
Frequently Asked Questions
Does removing EXIF data reduce image quality?
No. EXIF metadata is stored in a separate section of the file, not in the pixel data itself. Removing it doesn't alter the actual image in any way. The file size will decrease slightly (typically by a few kilobytes to a few hundred kilobytes, depending on how much metadata and how large the embedded thumbnail is), but the visible image remains identical, pixel for pixel.
Can deleted EXIF data be recovered?
Once EXIF data is properly stripped from a file, it cannot be recovered from that file. However, if you uploaded the original version somewhere before stripping it — to a cloud service, social media platform, or via email — copies with the original metadata may still exist on those servers. Always strip metadata before the first share, not after.
Do all phones embed GPS data in photos by default?
Most smartphones have location tagging enabled by default, though this varies by manufacturer and region. iPhones prompt you to allow location access for the Camera app during initial setup, but most users tap "Allow." Android phones often enable it by default in the camera settings. Always check your camera app's settings and disable location tagging if you don't need it.
Is it legal to remove metadata from photos?
Yes, it's completely legal to remove metadata from your own photos and files. In fact, privacy regulations like GDPR encourage minimizing personal data in shared files. The only scenario where metadata removal could be legally problematic is if you're trying to remove copyright or ownership information from someone else's work, which could violate the DMCA's anti-circumvention provisions.
Which file formats contain the most metadata?
JPEG and TIFF files typically contain the most extensive EXIF data, including GPS, camera settings, and thumbnails. RAW formats (CR2, NEF, ARW) contain even more — detailed lens data, focus maps, and full-size preview images. PNG files support metadata but typically contain less than JPEG. WebP and AVIF support EXIF but implementations vary. PDFs can contain extensive document metadata, author info, and revision history. When in doubt, strip metadata from any file before sharing it.
Your Privacy Checklist
Here's a quick reference for keeping your files clean:
- Disable GPS tagging on your phone's camera app right now
- Check metadata on a few recent photos to see what's there — you might be surprised
- Strip metadata before sharing any photo via email, Discord, Slack, forums, or dating apps
- Use browser-based tools that process files locally — no upload, no server, no risk
- Remember documents too — PDFs and Word files can be just as revealing as photos
- Build it into your workflow — make metadata removal a habit, not an afterthought
- Don't trust platforms to strip metadata for you — even those that do still keep the data internally
Metadata was designed to help photographers organize their work. It was never designed for a world where every photo gets shared with strangers on the internet. The technology hasn't caught up with the reality of how we use images today, so the responsibility falls on you.
The good news: it takes about 10 seconds to strip metadata from a photo. That's 10 seconds to prevent someone from knowing where you live, where you work, what device you use, and when you were there.
That's a trade worth making every single time.