Why photos and videos from Messenger chats download with the wrong date, and how to get the dates back
You asked Facebook for a copy of your data, opened the messages folder, and every photo and video from your chats says it was made today. Nothing is broken on your computer. The files really do arrive without their dates. The dates are in the same download, in a different place.
Why every file shows the download date
A photo app decides where a picture goes on your timeline by reading a field inside the file. For a JPEG that is the EXIF tag DateTimeOriginal, shown as “Date Taken”. For an MP4 or MOV video it is the creation date in the file’s header. When a file has neither, the app falls back to the file’s own date.
- The chat files carry no date inside. The JPEGs in the messages folder have no EXIF date, and the MP4s have a creation date of zero.
- The file date is the download date. The files in the ZIP were created when Facebook built your download, or when you unzipped it. That is the date your photo app ends up using.
Where the real dates are
If you request the download in JSON format, each conversation gets a folder with its messages in text files and its media next to them. Depending on the year of the download, the messages folder is your_facebook_activity/messages/, your_activity_across_facebook/messages/ or, in older downloads, messages/:
your_facebook_activity/messages/
inbox/ your chats
mayaortiz_1029384756/
message_1.json the messages, newest first
message_2.json older messages of the same chat
photos/ videos/ gifs/ audio/ files/
archived_threads/ chats you archived
filtered_threads/
message_requests/
e2ee_cutover/
photos/ group chat picturesEach message that carried a file lists it like this. The path in uri points to the file in the download:
{
"sender_name": "Maya Ortiz",
"timestamp_ms": 1559515217061,
"photos": [ {
"uri": "your_facebook_activity/messages/inbox/mayaortiz_1029384756/photos/438089895_n_1639222276882203.jpg",
"creation_timestamp": 1559515215
} ]
}timestamp_ms is milliseconds and creation_timestamp is seconds, both counted from January 1, 1970 (UTC). 1559515215 is June 2, 2019, 22:40:15 UTC. Videos are listed under videos, GIFs under gifs, voice messages under audio_files and documents under files.
Sent date vs. date taken: which one Facebook keeps
| Field in the JSON | What it is | When you have it |
|---|---|---|
creation_timestamp | The date Facebook stored for the file itself | For most photos, videos and files. GIFs and some photos do not have it |
timestamp_ms | The moment the message was sent | For every message |
Neither is the day the photo was taken. In the real downloads we tested (175 files with both dates, in three conversations from 2023 to 2025), creation_timestamp was between 0 and 31 seconds before the message time: it is the moment the file was added to the chat. A photo taken in 2015 and sent in 2019 gets a 2019 date. Facebook does not keep the camera date of chat media, so nothing in the download can give it back.
For most chat photos that is the date you want anyway: pictures are usually sent the day they are taken, and “when did we send this” is how people look for them.
One more detail: text in these files is stored in a broken encoding, so a chat with “José” reads as “José” until it is repaired.
How to request the download in JSON
- On Facebook, open Settings & privacy → Settings, then Accounts Center.
- Choose Your information and permissions, then Download your information (in some accounts it is called “Export your information”).
- Choose to download to your device, and pick your Facebook profile.
- Select the information you want. For chat media you need Messages. Set the date range to All time.
- Set Format to JSON. This is the step that matters: the default is HTML.
- Set Media quality to High, and start the download.
- Facebook notifies you when the files are ready. Large accounts get several ZIP files. Download all of them.
Facebook moves and renames these menus from time to time. If yours look different, see Facebook Help: Download a copy of your information and look for the Format option.
Put the dates back in your browser
Add the ZIP files from Facebook. InboxRedate reads the message JSON, matches each photo and video to its message, writes the date into the file and sorts everything into a folder per conversation. Nothing is uploaded. Free for 25 files.
Fix my chat mediaEnd-to-end encrypted chats
Messenger also offers a separate download for end-to-end encrypted chats. It looks different: one JSON file per chat (for example Maya Ortiz_12.json) and a single media folder. Each message has a timestamp and a media list with paths like ./media/959c4d74-….jpeg, and there is no date per file, so the sent time is the only date available. InboxRedate reads this format too.
Other ways to do it
- By hand. For a handful of photos: open
message_1.jsonin a text editor, search for the file name, convert the number with any “Unix timestamp” converter, and set the date in your photo app. - ExifTool and your own script. ExifTool can write any date into a photo or video. You write the script that reads each
message_N.jsonand calls it for every file. - Facebook Messenger Exif. A free, open-source Python script by Yard1 (GitHub) that does exactly this for photos, videos and GIFs. It needs Python 3.7 or newer and ExifTool, runs from the command line, and writes over the files in your extracted download unless you pass its backup option.
- Export viewers. Several apps and web pages show the chats of a download as a readable conversation. They do not change the dates of the files.
FAQ
Can I fix the dates if I downloaded in HTML format?
Not with InboxRedate. Request the download again and choose JSON. Requesting it is free.
Will the date be the day the photo was taken?
It will be the day it was sent in the chat. For photos sent right after they were taken that is the same day. For an old photo sent years later it is not, and the download has no better date.
Does this work for videos?
Yes. For MP4 and MOV files the creation date is written into the file’s headers without re-encoding. A video whose structure cannot be read safely is left untouched and gets the file date only.
What about photos from my posts and albums?
Those are in a different part of the download (the posts folder) and have their own JSON files. InboxRedate only handles the media of your chats.