Why photos and videos from Instagram DMs download with the wrong date, and how to get the dates back
You asked Instagram for a copy of your data, opened the messages folder, and every photo and video from your DMs 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 DM files carry no date inside. In the real downloads we checked, the JPEGs in the messages folder had no EXIF at all, and the MP4 videos had a creation date of zero.
- The file date is the download date. The files in the ZIP were created when Instagram built your download, or when you unzipped it. That is the date Apple Photos, Google Photos or your file manager 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. The messages are under your_instagram_activity/messages/ (older downloads have messages/ at the top):
your_instagram_activity/messages/
inbox/ your DMs
mayaortiz_1029384756/
message_1.json the messages, newest first
message_2.json older messages of the same chat
photos/ videos/ audio/
message_requests/ requests you did not acceptEach 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_instagram_activity/messages/inbox/mayaortiz_1029384756/photos/1341190503991545.jpg",
"creation_timestamp": 1559515215
} ]
}timestamp_ms is milliseconds and creation_timestamp is seconds, both counted from January 1, 1970 (UTC). 1559515217061 is June 2, 2019, 22:40:17 UTC. Videos are listed under videos and voice messages under audio_files.
Sent date vs. date taken: which one Instagram keeps
| Field in the JSON | What it is | Can you trust it? |
|---|---|---|
timestamp_ms | The moment the message was sent | Yes. Every message has it |
creation_timestamp | A date Instagram stored for the file | Not always. Usually a few seconds before the message; for older media it can be years off |
Neither is the day the photo was taken. We compared both fields in two real downloads (613 files). In 598 of them creation_timestamp was within about two minutes of the message, usually a few seconds before it. The other 15 were every file sent in 2018 and 2019: their creation_timestamp was a day in September or October 2020, between 1 and 2.7 years after the file was sent. That is why DMRedate writes timestamp_ms, the date sent, and uses creation_timestamp only if a message has no time.
A photo taken in 2015 and sent in 2019 gets a 2019 date. Instagram’s copies carry no camera data, so nothing in the download can give the original date back. For most DM photos the date sent 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é”, and emoji turn into rows of symbols, until it is repaired.
How to request the download in JSON
- In the Instagram app or on instagram.com, open your profile, then the menu, then Accounts Center.
- Choose Your information and permissions, then Download your information (in some accounts it is called “Export your information”).
- Choose Download or transfer information and pick your Instagram account.
- Choose Some of your information and select Messages. Choose Download to device.
- 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 create the files.
- Instagram notifies you when the files are ready. Large accounts get several ZIP files. Download all of them.
Instagram moves and renames these menus from time to time. If yours look different, see Instagram Help: Access and download your information and look for the Format option.
Put the dates back in your browser
Add the ZIP files from Instagram. DMRedate reads the message JSON, matches each photo and video to its message, writes the date sent into the file and sorts everything into a folder per conversation. Nothing is uploaded. Free for 25 files.
Redate my DM photosVoice messages
Voice messages are in each conversation’s audio folder and listed under audio_files. In the real downloads they are MP4 audio files, even the ones named .aac. Some have an empty date inside, like the videos; some already carry the moment they were recorded. DMRedate writes the date sent into the empty ones and leaves the others exactly as they are.
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 thetimestamp_msnumber with any “Unix timestamp” converter, and set the date in your photo app. - ExifTool. ExifTool can write any date into a photo or video from the command line. It does not read Instagram’s JSON: you give it each date, or write the script that reads every
message_N.jsonand calls it for every file. - Python scripts on GitHub. InstagramDownloadMetadataFixer renames the photos, videos and audio of your chats to the time they were sent; writing EXIF is listed among its goals. Instagram Metadata Restorer sets the file’s modified date for the posts of an HTML export. Both are free and need Python.
- Chat viewers. Apps such as KeepDM and Scrollback show the chats of a download as a readable conversation. They do not write dates into the files.
FAQ
Can I fix the dates if I downloaded in HTML format?
Not with DMRedate. 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 DM. 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, stories and reels?
Those are in a different part of the download and have their own JSON files. DMRedate only handles the media of your direct messages.