Exif Data Stripper (Python)

Luckyy
Beheerder
Lid geworden: 2025-10-01 15:17:58
2025-12-06 19:12:53

Auto EXIF/Metadata Stripper (Drag & Drop • Windows/macOS/Linux)​

What it does: removes EXIF/metadata from images (JPG/PNG/WebP/TIFF/GIF/BMP).
How it works: drag-and-drop a file or folder onto the script — clean copies are written to a stripped/ folder next to your images. JPEGs are stripped losslessly when possible.

Features​

  • Drag-and-drop support (Windows Explorer & macOS Finder).
  • Works on folders (recursive) or single files.
  • [Outputs to stripped/, preserving original timestamps.
  • Lossless EXIF removal for JPEG (if piexif is available).
  • Keeps ICC color profile to avoid color shifts.

Requirements​

  • Python 3.9+
  • Packages: Pillow and (optional) piexif

Install (one-time)​

 Bash:
pip install pillow piexif

How to Use​

Windows (drag & drop):

  1. Download the script below as exif.py (right-click → Save As).
  2. Drag your image(s) or a whole folder onto exif.py.
  3. Look for a new stripped/ folder next to your files — those are the cleaned images.

macOS/Linux (Terminal):

 Bash:
python3 autostrip.py /path/to/image_or_folder

python3 autostrip.py ~/Pictures/album IMG_0001.JPG
Screenshot From 2025-08-10 11-11-52.png

 

Screenshot From 2025-08-10 11-20-03.png