takeout-fixer

Crates.iotakeout-fixer
lib.rstakeout-fixer
version0.1.5
created_at2026-01-18 19:31:47.962966+00
updated_at2026-01-18 20:08:02.060451+00
descriptionA tool to fix Google Takeout photo metadata issues
homepage
repositoryhttps://github.com/JeppeKlitgaard/GoogleTakeoutPhotoFixer
max_upload_size
id2052929
size103,166
Jeppe Klitgaard (JeppeKlitgaard)

documentation

README

Yet Another Google Takeout Photo Metadata Fixer

A largely vibe-coded CLI tool to fix metadata in photos exported from Google Photos via Google Takeout.

In short, it inserts metadata that Google Photos has detached into .json files back into the original media.

The implementation is relatively fast and safe. I struggled to get existing tools to even work on the raw Takeout archives and had little faith in their ability to handle edge-cases like metadata and media being split across archives.

Please report any issues in a reproducible way or submit PR's.

No guarantees on the correctness of the tools output are made!

Installation

You can either grab the appropriate executable from the GitHub Releases or install it with cargo binstall:

cargo binstall takeout-fixer

Usage

You must download your Google Photos data using Google Takeout and store the archive(s) in a folder.

You may only get a single archive (preferred: .zip or .tar.gz), or multiple archives. Store all archives in a folder, say MyTakeout, then run:

takeout-fixer --photo-dir "Google Photos" --output-dir fixed-photos fix MyTakeout

Where "Google Photos" is the name of the folder for your photos inside of the archives beneath the Takeout folder. This needs to be specified since Google localises this to your account language. As an example, for Danish users an archive will folder structure:

takeout-XXXXYYZZTHHMMSSZ-P-123.zip/Takeout/Google Fotos/ALBUMS

Thus if your Google Photos is set up for a Danish account, you would use --photo-dir "Google Fotos".

Alternatives

Commit count: 22

cargo fmt