GUIDEWhy exported Telegram photos show the wrong date

Your Telegram photos and videos, back on the day they were sent.

A Telegram Desktop chat export hands you every photo and video dated the day you exported it. The real dates are in that same folder, in result.json or messages.html. TeleRedate matches each file to its message and writes the sent date into the photo, the video and the file, right in your browser.

  • Nothing uploaded, ever
  • No Telegram login, no re-download
  • Your export is not changed

At a glance

What TeleRedate does and doesn’t do

  • Works withA Telegram Desktop export (“Export chat history” or “Export Telegram data”), in JSON or HTML format. Choose the export folder, or a ZIP of it.
  • RestoresThe date each photo and video was sent: EXIF Date Taken in every JPEG, the creation date inside every MP4 and MOV, and the file date of every file. Year folders and a manifest.csv report.
  • Runs onAny current browser on Windows, Mac or Linux. Nothing to install, no Python, no command line.
  • Free25 files per run, with the full report. Full: $9 one-time, every file.
  • PrivacyNothing is uploaded. Your files never leave your browser, and there is no Telegram login.
  • Doesn’tDownload anything from Telegram or ask for your account. It uses the date a file was sent, which is not always the day it was taken. It gives you a new ZIP and leaves your export as it is.
Writes the date fields read by
  • Google Photos
  • Apple Photos
  • Windows Photos
  • Lightroom
  • Immich
  • Synology Photos
3 places

Telegram keeps the date of a photo: result.json, messages.html and the file name

Where the dates are
0 bytes

of your photos, videos or chats sent to any server

How it works
25

files redated free per run, with the full report of your export

Try it
$9

once, every file, no subscription

Pricing

The problem

You exported the chat. Every photo is dated today.

Telegram Desktop’s export is free and complete. But what lands in the folder is not ready for your photo library.

Every file is dated the export day

Telegram Desktop downloads each photo and video again when it builds the export. Your photo app files years of pictures under one day.

The real dates are in result.json

Each message is listed with its date and the path of its photo or video, in result.json or messages.html. No photo app reads those.

Thousands of files, several folders

Photos in photos/, videos in video_files/, documents in files/, and a folder per chat in a full account export. Too many to fix by hand.

How it works

Three steps. No re-download, no command line.

  1. Step 1

    Find your export folder

    Telegram Desktop saves it in Downloads → Telegram Desktop, as ChatExport_… or DataExport_…. No export yet? How to export a chat

  2. Step 2

    Choose the folder here

    Or a ZIP of it. TeleRedate reads result.json (or messages.html), matches every photo and video to its message, and writes the sent date into each file.

  3. Step 3

    Download the redated ZIP

    One new ZIP: files in year folders (chat, then year, when there are several chats), each with its date, plus a manifest.csv that lists every file, its chat, its sender and where its date came from.

Redate

Open your Telegram export

Everything runs on this page. Your photos, videos and messages never leave your computer.

Drop your Telegram export folder here

The whole ChatExport_… or DataExport_… folder, or a .zip of it. JSON or HTML format. Nothing is uploaded.

Your browser may ask to confirm “upload” of the folder. That is its wording for letting this page read the files: they stay on your computer.

Free: 25 files per run and the full report. Unlock every file for $9.

Standard metadata

Written the way your camera would have.

No sidecar files, no special tags. TeleRedate writes the same date fields a camera or phone writes, so galleries, backup tools and file managers can read them.

  • Photos: EXIF DateTimeOriginal + DateTimeWritten into every JPEG. This is the field apps show as Date Taken, not just the file date.
  • Videos: creation date in mvhd, tkhd and mdhdChanged in place inside the MP4 or MOV. The video is not re-encoded, and no other byte of the file changes.
  • File date + manifest.csvEvery file in the new ZIP carries its date, including PNGs, stickers, voice messages and documents. One manifest row per file.
result.json · what Telegram Desktop wrote
{ "id": 8841, "type": "message",
  "date": "2023-05-14T10:22:31", "date_unixtime": "1684056151",
  "from": "Mom",
  "photo": "photos/photo_12@14-05-2023_10-22-31.jpg" }
manifest.csv
New file, Chat, Sender, Date used, Date source, What was written
2023/2023-05-14_photo_12….jpg, Family, Mom, 2023-05-14 10:22:31, json, EXIF DateTimeOriginal + DateTime
2023/2023-05-14_IMG_4471.mp4, Family, Dad, 2023-05-14 18:03:10, json, video creation date
2019/2019-08-03_IMG_0042.JPG, Family, Kim, 2019-08-03 12:00:01, exif, already had a date: untouched

What you get back

Every photo and video on the day it was sent, and proof of where the date came from.

Telegram’s export lists each message with its date and the file it carried. TeleRedate matches them file by file and writes standard metadata, so your photo app can sort them. The date is the day the file was sent in Telegram, which is not always the day it was taken.

Matched to its message

Each file is matched automatically to its message in result.json. No JSON? It reads messages.html, and then the date in the file name.

Real Date Taken in photos

Writes DateTimeOriginal into each JPEG, not just the file date that changes every time a file is copied.

Video dates too

Sets the creation date inside MP4 and MOV files, in place. A video it cannot patch safely keeps its bytes and gets the file date only.

Thousands at once

Works through the whole export in one run, on the folder you already have. No second download from Telegram.

Private by design

There is no upload step and no login. Your chats and media are read and rewritten in this browser tab only.

Camera dates respected

A photo sent “as a file” that still has its camera date is not touched. The manifest lists every file, including the ones with no date.

Compared

Four ways to fix the dates of a Telegram export.

All of them can work. They differ in what you install, what you write yourself, and whether your Telegram account is involved.

FeatureTeleRedateExifTool + your own scriptChronogram TGGeneral date editors (TagSmith, ChronoFix…)
CostFree for 25 files, $9 once for allFreeFree, open sourceVaries by app
Where the dates come fromThe export you already have: result.json, messages.html, file namesThe export, through a script you write to read result.jsonTelegram itself: it downloads the chat’s media againDates you type in, or the file name: they do not read result.json
Telegram loginNoNoYes: your account plus a Telegram API keyNo
What you installNothingExifTool and a scripting language such as PythonA desktop app (and ffmpeg for videos)A desktop app
Photo, video and file dateAll threeWhatever your script coversPhotos and videosDepends on the app
Files leave your deviceNeverNeverNo (it talks to Telegram to download)Depends on the app

ExifTool is the standard tool for metadata and can do everything here if you write the matching logic. Chronogram TG is a good fit when you have no export yet and do not mind signing in.

Pricing

Free for 25 files. $9 once for all of them.

Start free

Free

$0

Redate 25 files per run and see the full report of everything in your export.

Fix my export
  • Full report: matched, dated by name, no date
  • 25 files with their date written
  • Year folders and manifest.csv
  • No account

ONE-TIME

TeleRedate Full

$9 USD

one-time · every file · any number of exports

Unlock every file, $9
  • Every photo, video and file in the export
  • Full account exports with many chats
  • Run it again on future exports
  • No subscription
Secure checkout by Stripe. The full version unlocks in the browser you pay from. Questions: support@cedanolabs.org.

FAQ

Questions about Telegram export dates

Want the long version? Read the guide.

Read the guide
Why do all the photos in my Telegram export show the day I exported them?

Telegram Desktop downloads every photo and video again when it builds the export, so each file is created on your computer that day. Photos sent the normal (compressed) way also carry no camera date inside. Photo apps then fall back to the file date, which is the export day. The real dates are still in the export: in result.json or messages.html, and in the names of the photo files. TeleRedate reads them and writes them back into each file.

Which date does it write: when the photo was taken, or when it was sent?

The date and time the message was sent in Telegram. That is the only date Telegram keeps for a photo sent the normal way. It is often the day the picture was taken, but it can be later, for example when someone forwards an old photo. One exception: a photo or video that was sent "as a file" and still has its own camera date inside is left untouched, and that camera date is used. manifest.csv says, for every file, which date was used and where it came from.

Do I have to export the chat again, or log in to Telegram?

No. TeleRedate works on the export folder you already have on your computer. It does not connect to Telegram, does not ask for your phone number, a login code or an API key, and does not download anything from your account.

Does it need the JSON export, or does the HTML export work too?

Both work. With a JSON export it reads result.json. With an HTML export it reads messages.html, messages2.html and so on. If the export has neither file, it still reads the date Telegram puts in the name of each photo (photo_12@14-05-2023_10-22-31.jpg).

What exactly is written into each file?

JPEG photos get the EXIF fields DateTimeOriginal (shown as Date Taken) and DateTime. MP4 and MOV videos get their creation date inside the file (the mvhd, tkhd and mdhd fields), changed in place without re-encoding the video. Every file, including PNG, WebP, stickers, voice messages and documents, gets the date as its file date in the new ZIP. Those other file types are copied byte for byte.

Are my photos or chats uploaded anywhere?

No. The export is read and the new ZIP is built by JavaScript on this page, on your computer. There is no upload step. The only network requests are for the page itself, cookieless page analytics, and the payment check if you buy the full version, which sends a payment ID and never a file.

How many files can it handle at once?

A whole chat in one run, with thousands of photos. The limit is the new ZIP: it is built in your browser's memory and can hold up to 4 GB and 65,535 files. A chat with a lot of video can reach that. If yours does, run it one chat export at a time.

What about a full account export with many chats?

It works. "Export Telegram data" puts each chat in its own folder (chats/chat_001, chats/chat_002…). Choose the top folder of the export, and TeleRedate sorts the output by chat and then by year. Choose the top folder, not a single chat folder: in a JSON account export the one result.json at the top lists the files of every chat.

What happens to files that are not in any message?

If the file name has Telegram's date in it, that date is used and the manifest says "filename". If there is no date anywhere, the file is copied unchanged into a no-date folder and listed in manifest.csv. Nothing is guessed. Telegram's small preview images (thumbnails) are left out.

Which time zone do the dates use?

Telegram stores the exact moment each message was sent. Photo dates (EXIF) have no time zone, so TeleRedate writes the local time of the computer you run it on, which is how a camera would have written it. Video dates are stored in UTC, as the video format requires. manifest.csv also lists the UTC time of every message.

Does it change my original export?

No. It only reads the folder or ZIP you choose and gives you a new ZIP. Your export stays exactly as Telegram Desktop wrote it.

Does it work on a phone?

Chat export only exists in Telegram Desktop (Windows, Mac, Linux), so the export folder is on a computer, and that is where TeleRedate is meant to run: in any current browser, with nothing to install. Afterwards you can copy the redated files to your phone or to Google Photos, iCloud Photos or any other library.

How does the $9 full version work?

Free processes 25 files per run and shows the full report of everything it found. The full version is a single $9 payment, with no subscription and no account, and processes every file, in any number of exports. It unlocks in the browser you pay from.

Put your Telegram photos back on their real days.

Choose your export folder and get every photo and video back with the date it was sent. The first 25 files are free.