On this page
The essentials
- Export exists only in Telegram Desktop for Windows, macOS and Linux. Not on phones or in the web version.
- For a single conversation, export the chat itself: only there can you choose dates.
- HTML is for reading, JSON for processing by a program. The format does not make the archive more complete.
- Attachments are chosen separately, and the size limit applies to each file. A large video may be left out.
- Secret chats and already deleted messages are not saved by an export.
The project is over, and the client suggests deleting the shared chat "to keep things tidy". It holds six months of messages, the final brief as a PDF and a voice note saying "yes, approved". You take a couple of screenshots and forward the PDF to your Saved Messages. That seems enough.
A year later a question comes up about who promised what. The screenshots were lost when you changed phones. The PDF is in Saved Messages, but the voice note and the context are not. The chat was deleted for both of you.
Screenshots are fragments, and Saved Messages is the same Telegram cloud. Exporting is the only way to get your messages into files of your own that open without Telegram or the internet.
- 1 app
- Can export: Telegram Desktop. Neither the phone nor the browser does it.
- 24 hours
- Telegram may ask you to wait after a new sign-in — or to confirm the export from another device.
- 0 buttons
- To restore an export back into Telegram. It is a copy for reading, not a chat backup.
In short
What an export gives you
Telegram Desktop saves the history to files on your computer: pages for reading, attachments and, if you want, data for programs. You can open them without Telegram.
Know the limits:
- it is a snapshot at the moment of export. New messages will not be added by themselves;
- it is a copy for reading. There is no button to put the folder back into Telegram as the original chat;
- the archive contains only what you chose — chats, period, attachment types.
Decide first what you need: which conversation, which period, which attachments. For one project, export its chat, without collecting unrelated conversations along the way.
First things first
While you prepare the export
Warning
Check the export before you delete anything
- Do not delete the original until you have checked the archive. An opened folder is not yet a verified copy.
- Do not upload your messages to unknown online converters. HTML already reads on your computer.
- Do not save the archive to a shared folder or one synced with other people.
- Do not run a second export in parallel — a new one may cancel the previous one.
- Do not confirm an export request you did not make. It is a sign someone else has access to your account.
Where
Step 1. Open Telegram Desktop
Export exists only in Telegram Desktop for Windows, macOS and Linux. The mobile apps and the web version do not have it.
- Download the app from desktop.telegram.org if you do not have it. In the Mac App Store this client is called Telegram Lite.
- On a Mac there is also a separate Telegram for macOS — its menus differ. The steps below are for Telegram Desktop.
Sign in to the right account and make sure you can see the conversation.
What to export
Step 2. One chat or the whole account
Setting | Chat export | Account export |
|---|---|---|
Where | Chat → ⋮ menu → Export chat history | Settings → Advanced → Export Telegram data |
Choosing dates | Yes: start and end of the period (From and To) | No |
What is included | This conversation | Chosen categories: private chats, bots, groups, channels, profile data |
When to use it | You need a specific conversation or period | You need a general copy of the account |
In an account export, read the nested options. "Only my messages" can leave out the other people's replies. For public groups and channels, a general export may keep only your messages. If a specific public conversation matters, export that chat itself.
In a chat export, check the date limits. By default they may run from the oldest message to now. If you need only part of the history, set the dates — and after exporting, check the first and last messages you need, especially around midnight.
HTML or JSON
Step 3. Format
Format | What it is for |
|---|---|
HTML | Reading the messages in a browser and opening attachments on your computer |
JSON | Processing with a program that supports Telegram's export format |
Both | If your app version offers it. If not — run two exports |
JSON does not make the archive more complete: what it contains depends on the chosen chats, dates, attachment types and size limit.
Files
Step 4. Attachments, the limit and the folder
Attachment types are chosen separately: photos, videos, voice messages, video messages, stickers, GIFs, files. A voice approval needs voice messages; a PDF sent as a document needs files. Photos alone will save neither.
The size limit applies to each file, not to the whole archive. A large video may be left out of the folder, even though the message about it stays. Set the limit above your largest needed file — within what your version allows.
Choose a separate personal folder and check free space. Next to it, save a short note: account, chat, period, attachment types and the export date — a year from now it will save you an hour.
Example
Worked example: saving a project's agreements
You need to keep a project's messages, the final brief as a PDF, photos and a voice approval. You open the chat → Export chat history, set the project period including the approval date. Choose HTML, turn on photos, voice messages and files. Set the limit above the PDF's size and choose a new folder. After exporting, you find the final agreement in the HTML, open the PDF and photos, and listen to the voice note. If the PDF was left out for size, you raise the limit; if the approval fell outside the dates, you widen the period and export again. Keep the first folder until the new one passes the check.
24 hours
If Telegram asks you to wait
After a new sign-in to Telegram Desktop, an export may require waiting 24 hours or confirming it from another of your devices. It is a safeguard: it stops someone who has just signed in to your account from downloading all your messages at once.
- If confirmation is offered, check the request in Telegram on a trusted device where you have been signed in for a while.
- If a date and time are shown, come back after them and repeat the request from the same computer.
- Do not sign out, do not turn off two-step verification, and do not install "unlockers" to skip the delay.
If an export notification arrives but you started nothing — do not confirm it. Check your active devices and follow "Telegram account hacked".
The process
Step 5. Wait for it to finish
Start the export and do not close Telegram Desktop. You can minimise the progress window, but do not quit the app. Keep the computer on and online.
If progress stalls, check the connection and free space rather than starting a second export. If you stop the export, it starts from scratch. Skipped a slow file? Note it down: a successful finish does not prove every attachment was saved.
The result
Step 6. Check the archive
Click Show my data. For HTML, open the start page: for a chat export it is usually messages.html, for an account export export_results.html. Keep all the pages and attachment folders together.
Marker in the archive | What it means |
|---|---|
Not included | This attachment type was not chosen |
Exceeds maximum size | The file is bigger than the limit you set |
Unavailable | The file is unavailable. Check the original and try again later |
Check JSON in a local text editor. Valid JSON does not prove the files it refers to are there.

The limits
What an export will not save
- Secret chats. They live only on the devices where they started and are not stored in the cloud. More in "Secret chats or cloud chats".
- Messages already deleted. An export does not restore what is no longer in the history.
- Unavailable files. If the original is gone, raising the limit will not bring it back.
- Protected content. Group and channel owners can forbid saving. An export is not a way around that.
Safety
How to store the copy
The archive is readable files outside Telegram. Your app passcode and cloud password do not protect them: anyone with access to the computer can open the folder.
- Keep the archive on a secured personal device or an encrypted drive.
- Make a second copy if losing it would hurt, and check it opens.
- If someone needs one invoice or a couple of messages, prepare a selection rather than sending the whole archive. Leave the original export unchanged.
If you need the archive for an official procedure, ask the recipient about format requirements in advance. This guide does not define what evidential weight an export has.
Questions
Can I export a chat from my phone?
No. Export exists only in Telegram Desktop for Windows, macOS and Linux.
Why does Telegram ask me to wait 24 hours?
It is a safeguard after a new sign-in: it stops an intruder from downloading your messages straight away. Confirm the export from another of your devices, or wait.
Are secret chats exported?
No. They are stored only on the devices where they started.
Can I restore a chat in Telegram from an export?
No. An export is a copy for reading. There is no button to put it back into Telegram.
Which should I choose: HTML or JSON?
HTML to read. JSON to process with a program. If your version offers both at once, you can pick both.
Why are there no videos in the archive?
Videos were not selected among the attachments, or were over the limit. Check the marker and export again with different settings.
Messages in Telegram are handy as long as Telegram is to hand. An export makes them yours: files that open a year from now, on another computer, without the internet.
Choose the chat and period, turn on the attachment types that matter, and then — the key step — open the archive and check it. Delete the original only after that check.


