Simple tool to restore metadata (date, GPS coordinates, etc.) from Google Photos JSON files back into your original images and videos — just like MetadataFixer, but free and open source!
![]()
When you download media from Google Photos via Takeout, the files lose important metadata such as the date taken and GPS coordinates. Google stores this data separately in .json sidecar files.
GPMatcher reads those JSONs and writes the metadata back into your photos and videos automatically.
-
Download your Google Photos media from Google Takeout
-
Download and run GPMatcher.exe — no installation, Python, or additional libraries needed. The EXE is fully standalone.
-
(Optional) Enter the custom suffix used for edited photos (explained inside the app)
-
Select the folder containing your images/videos and their JSONs (e.g.
Photos from 2022or the rootTakeoutfolder)The app will automatically scan all subfolders
-
Click the Match button
-
Your matched files will appear in a
Matchedfolder inside the selected directory
Photos edited in Google Photos have two versions:
| Folder | Content |
|---|---|
Matched |
Edited version |
EditedRaw |
Original (unedited) version |
Special characters in filenames can prevent the algorithm from matching them. To fix this:
- Rename both the image and its JSON — e.g.
%E&xample.jpg→Example.jpgand%E&xample.json→Example.json - Open the JSON and update the
titlefield to match the new filename - Run GPMatcher again
Prerequisites: Create a virtual environment at the root of the project first:
python -m venv venv venv\Scripts\activate
-
Install build dependencies:
pip install -r "requirements-dev.txt" -
Download exiftool for Windows (64-bit): direct download or visit exiftool.org
-
Rename
exiftool(-k).exe→exiftool.exe -
Place
exiftool.exeand theexiftool_filesfolder at the root of the project -
Run this command from the project root:
pyinstaller --noconsole --onefile --clean --hidden-import PySimpleGUI --icon=assets/photo.ico --name "GPMatcher" --distpath "." --add-data "exiftool.exe;." --add-data "assets/photo.ico;." --paths files files/window.py
GPMatcher.exe will appear at the project root — ready to use!
-
Install runtime dependencies:
pip install -r "requirements.txt" -
Run:
python files/window.py
- anderbggo — Author
- Kadawatcha — Contributor
