How to Remove EXIF Data from Photos
3 methods — PixelForge, ExifTool, and Python
Every photo taken on a smartphone contains hidden metadata — GPS coordinates, device model, timestamps, and more. Here are three ways to strip that data from photos in bulk before sharing them publicly.
Method 1: Using PixelForge (fastest, browser-based)
Strip metadata from hundreds of photos at once — no software to install.
- 1Go to the Remove EXIF tool on PixelForge.
- 2Upload your photos or a ZIP of images.
- 3Click Process — PixelForge removes all EXIF, IPTC, and XMP metadata.
- 4Download the cleaned images as a ZIP.
PixelForge removes all metadata including GPS, camera make/model, timestamps, and color profiles. The image pixels are not changed.
Method 2: Using ExifTool (command line)
ExifTool is the most powerful free EXIF tool — handles any file format.
- 1Install ExifTool from exiftool.org or via Homebrew: brew install exiftool
- 2To strip all metadata from a single file: exiftool -all= photo.jpg
- 3To strip all metadata from a folder of images: exiftool -all= ./photos/
- 4ExifTool creates backup files (e.g. photo.jpg_original). Add -overwrite_original to skip backups.
bash
# Strip all metadata from every JPEG in a folder (no backup)
exiftool -all= -overwrite_original ./photos/
# Strip only GPS data
exiftool -gps:all= -overwrite_original ./photos/
# Verify a file has no GPS data
exiftool -gps:all photo.jpgExifTool is lossless — it only strips metadata bytes, it does not re-encode the image. The image quality is unchanged.
Method 3: Using Python (Pillow)
Scripted EXIF removal — best for automated workflows.
- 1Install Pillow: pip install Pillow
- 2Run the script below to strip all metadata by re-saving without it.
python
from PIL import Image
import os
input_dir = "./photos"
output_dir = "./clean-photos"
os.makedirs(output_dir, exist_ok=True)
for filename in os.listdir(input_dir):
if filename.lower().endswith((".jpg", ".jpeg", ".png", ".webp")):
img = Image.open(os.path.join(input_dir, filename))
# Create a new image without metadata
clean = Image.new(img.mode, img.size)
clean.putdata(list(img.getdata()))
clean.save(os.path.join(output_dir, filename), quality=95)
print(f"Cleaned {filename}")
print("Done!")This approach re-encodes the image, so use quality=95 or higher to avoid visible quality loss. ExifTool is lossless and preferred for production use.
Frequently asked questions
Is it legal to remove EXIF data?
Yes — you can remove metadata from your own photos. Note that some copyright metadata (like IPTC fields) may be legally protected in certain jurisdictions when modifying images you don't own.
Does removing EXIF data delete the photo location permanently?
Yes — once removed, the GPS coordinates cannot be recovered from the image file. However, if the original file still exists (e.g., on your phone), the metadata remains there.
Do all photos contain GPS data?
Only if location services were enabled on the device when the photo was taken. GPS data is stored by most smartphones by default, but not by most digital cameras unless they have built-in GPS.
How do I bulk-remove EXIF from hundreds of photos?
PixelForge's Remove EXIF tool strips all metadata from every image in your ZIP in one batch. It's the fastest web-based option for bulk EXIF removal with no software installation.
Ready to try the fastest method?
Strip GPS coordinates, camera info, and all metadata from images before sharing. Private by default.
Remove EXIF — free
Papiral
PixelForge
Tabular