Black Friday: 35% off on Gumroad with code BF2026, Nov 26–30 (PT). See all products

Messenger photos no date: take the date from the message JSON

Photos and videos from a Messenger thread arrive in a Facebook download without a date in the file, so the gallery sorts them by the day of the download. Every thread keeps its own message JSON, and inside it each photo or video carries the time the message was sent. A fix pairs the media file with its message JSON and writes that time into the file.

Nothing is uploaded. Facebook Date Fixer runs in your browser tab. The first 200 files are free; $9.99 once fixes the rest.

Check my files, free Buy on Gumroad, $9.99

Where Messenger keeps the date

  • Each thread has a folder under messages/inbox/, for example messages/inbox/friendname_abc123/, with message_1.json inside.
  • The thread's media sits in photos/ and videos/ inside that folder.
  • Every media object in the JSON has a uri field with the file's path, and a creation_timestamp in Unix seconds.
  • Each message carries timestamp_ms, its time in milliseconds. When a media object's creation_timestamp is 0 or missing, that message time is the date to use.

So the order is: the media's own creation_timestamp first, then the enclosing message's timestamp_ms.

The free route

Yard1's messengerexif.py is a command-line script for Messenger exports. It reads every JSON under the messages folder, takes each media file's uri, pairs the file by path, and writes the date from creation_timestamp, falling back to the message's timestamp_ms. For the rest of the download, the scripts on the Facebook photos wrong date page cover albums and videos.

How Facebook Date Fixer writes it

  • Scans every JSON file in the export, including each thread's message_1.json, so no thread has to be picked by hand.
  • Matches a media file to its entry by the path ending, so photos and videos in the thread folders are paired with the right message.
  • Uses the media's creation_timestamp, and the message's timestamp_ms when the media timestamp is 0 or missing.
  • Writes the date into the photo as EXIF DateTimeOriginal and CreateDate, and gives each video its creation time.
  • Keeps a date a photo already carries from its camera, removes duplicates, and returns one zip per year and month with a CSV report.
  • Instagram exports go to the sibling tool, ExportFixer.

Messenger photos no date: the free script compared with Facebook Date Fixer

PriceHow you run itWhat it does
Yard1 messengerexif.pyFreeCommand line, on your computerDate from creation_timestamp, with the message's timestamp_ms as fallback, written into the thread's photos
nathan-v gistFreeCommand line, on your computerAlbums and videos elsewhere in the same export
Facebook Date FixerFirst 200 files free; $9.99 onceWeb page in your browserEvery thread and folder in one pass, camera dates kept, duplicates removed, one zip per year and month with a CSV report

Questions

Why do Messenger photos have no date?

The export ships the media files without the time of the message, so the gallery uses the day of the download. The time is in the thread's JSON, and writing it into the file restores the order.

Which timestamp is used?

The media object's creation_timestamp, in Unix seconds. When that value is 0 or missing, the enclosing message's timestamp_ms is used instead, converted from milliseconds.

Do videos work the same way?

Yes. A thread's videos sit in its videos/ folder next to the photos, and the same message JSON has the entry that matches them.

Is anything uploaded, and what does it cost?

Nothing is uploaded; the page runs in your browser and only your license key goes to Gumroad when you unlock. The first 200 files are free and $9.99 once unlocks the rest, with no subscription.

I make Facebook Date Fixer and sell it. Not affiliated with Facebook or Meta.