When you upload photos or videos to Facebook, the original EXIF metadata — including capture date — is stripped. When you later use Facebook's "Download Your Information" tool, the compressed files often have incorrect or missing dates. This tool helps you rebuild that metadata.
The tool runs a four-step pipeline entirely on your machine:
Download all photos by album using your own Facebook access token.
Extract dates, camera info, and captions from Facebook's HTML export.
Matches photos even after Facebook re-compresses them.
Photos, videos, and recovery reports in easy-to-audit formats.
One fb-recovery full command to run download, parse, match, and recover.
Your token and media files never leave your machine.
pip install fb-metadata-recovery fb-recovery download -o ~/fb_photos
user_photos, user_videos, user_posts (optional).fb-recovery download -o ~/fb_photos fb-recovery parse ~/Downloads/facebook-export/ -o metadata.json fb-recovery match metadata.json --bulk-dir ~/fb_export/ -o report.csv fb-recovery full --bulk-dir ~/Downloads/facebook-export/ -o output/
photos_metadata.csv — photos with dates, camera info, CDN URLs.videos_metadata.csv — videos with dates, titles, file paths.download_metadata.json — full metadata for all media.recovery_report.csv — matched items with recovered dates.This tool runs entirely locally. Your access token and media files never leave your machine. No data is sent to third parties.