Local EXIF metadata stripper(and viewer). Drop your photos in, it removes GPS coordinates, camera info, timestamps and everything else before you share them.
No APIs. No uploads. Fully local.
git clone https://github.com/xpux/Phantom.git
cd Phantom
pip install -r requirements.txt
python phantom.pyGPS coordinates, camera make and model, lens info, date taken, software used, artist, copyright, serial numbers, comments, descriptions, and any other EXIF metadata embedded in your photos.
Run it and enter a path when prompted:
python phantom.pyOr pass a path directly:
python phantom.py /path/to/photo.jpg
python phantom.py /path/to/folderProcess multiple photos at once by pointing it at a folder — it finds every supported image inside it.
Supported formats: JPG, JPEG, PNG, WebP
--preview show what metadata is in the files without stripping anything
--in-place overwrite the originals instead of saving clean copies to output/
--version print version number
Phantom opens each image, reads out any embedded EXIF data, shows you what it found, then saves a clean copy with all metadata removed. Originals are never touched unless you use --in-place.
Edit config.json to change defaults:
{
"output_folder": "output",
"show_preview": true,
"in_place": false
}| Option | Default | Description |
|---|---|---|
output_folder |
"output" |
Where clean copies are saved |
show_preview |
true |
Show metadata found before stripping |
in_place |
false |
Overwrite originals instead of saving copies |
Phantom runs entirely on your machine. No files are uploaded anywhere, no network requests are made, no data leaves your computer.
Python 3.8+, Pillow, piexif
Always keep backups of your original files. Phantom saves clean copies to the output folder by default and does not delete originals, but if you use --in-place the original metadata cannot be recovered.