How to Export Telegram Chat History: Complete Guide
12 August 20265 min readExport
The short answer
To export Telegram chats, open Telegram Desktop, go to Settings > Advanced > Export Telegram Data. Select the chats, media types, and file formats (HTML or JSON) you want to include, then click Export.
Telegram Export Requirements
Unlike mobile apps, Telegram only provides its comprehensive data export utility inside the official Telegram Desktop application (available for Windows, macOS, and Linux). You cannot perform a full data export from the iOS, Android, or web interfaces.
Telegram offers two export formats:
- Human-Readable HTML: Generates formatted web pages you can open in any browser, organized with styled message bubbles and clickable media links.
- Machine-Readable JSON: Generates structured raw data files designed for developers, database imports, and automated processing pipelines.
| Export Format | Best Used For | Included Files | Data Structure |
|---|---|---|---|
| HTML | Personal browsing, legal review | messages.html, images, audio | Visual web page structure |
| JSON | Custom parsing, analytical databases | result.json, raw media assets | Machine-readable keys |
How to Export Your Complete Telegram Account History
- Download, install, and log into Telegram Desktop on your computer.
- Click the three horizontal lines in the top-left corner to open the navigation drawer.
- Click Settings, then select Advanced.
- Scroll to the bottom of the menu and click Export Telegram data.
- In the configuration window, check the categories you wish to download:
- Account information and personal profile data.
- Private chats, bot chats, private groups, and public channels.
- Media filters (photos, voice messages, video messages, stickers, GIFs, files).
- Set your maximum file size download threshold (up to 4,000 MB per file).
- Choose your desired output format (Human-readable HTML or Machine-readable JSON).
- Set your destination folder and click Export.
How to Export a Single Telegram Chat or Channel
If you do not need your entire account history, you can export an individual conversation, group, or channel:
- Open the specific conversation or group chat in Telegram Desktop.
- Click the three vertical dots in the top-right corner of the chat pane.
- Select Export chat history from the dropdown menu.
- Select the specific media types you want to include (photos, videos, voice notes).
- Adjust the file size limit slider.
- Specify the date range if you only need messages from a specific time window.
- Choose HTML or JSON and click Export.
Security Delays on New Logins
If you recently logged into Telegram Desktop on a new computer, Telegram may place a 24-hour security lock on data exports to protect against unauthorized account takeovers.
When this happens, Telegram displays a notice stating that the export request was received and will become available in 24 hours. Once that period elapses, return to the Export Telegram data menu on the same computer to run the export.
Infrastructure-Level Chat Retention
While manual exports are useful for point-in-time backups, they do not provide real-time custody. For teams running trading desks or support operations over Telegram, CommunicationOS connects directly via the native MTProto protocol to maintain an uninterrupted, searchable audit trail across all accounts automatically.
Frequently asked
Can I export secret chats in Telegram?
No. Telegram secret chats use device-specific client-to-client encryption and are stored exclusively on mobile devices. They do not synchronize with Telegram Desktop and cannot be exported through the desktop tool.
Why does my Telegram export take several hours to complete?
Export duration depends on the volume of media files selected and your download connection speed. Large supergroups with gigabytes of shared videos, voice memos, and PDFs will take substantial time to download.
Does exporting a Telegram group notify other group members?
No. The export process runs locally through your Telegram Desktop client and does not generate notifications or administrative alerts in the group.
Keep reading
How to Download Instagram and Facebook Messages: Complete Guide
Learn how to download your Instagram direct messages and Facebook Messenger history using Meta Accounts Center, fix JSON encoding errors, and save media.
ExportHow to Export WhatsApp Chats: Complete Step-by-Step Guide
Learn how to export WhatsApp individual and group chats on iPhone and Android, understand message limits, and save conversations with media.
ExportHow to Export Discord Messages: Official and Data Requests
Learn how to export your Discord chat logs, direct messages, and server history using Discord's official Data Package request utility.