How to Export Telegram Chat History
Telegram lets you export your complete chat history including messages, media, and files. Whether you need a backup, want to switch platforms, or need records for legal/business purposes, here is how to do it.
Method 1: Telegram Desktop Export (Recommended)
The most comprehensive export method uses Telegram Desktop:
- Download and install Telegram Desktop
- Log in and wait for chats to sync
- Go to Settings → Advanced → Export Telegram data
- Select what to export:
- Personal chats, groups, channels (select specific ones)
- Photos, videos, voice messages, stickers
- Files and documents
- Contact list
- Choose format: HTML (human-readable) or JSON (machine-readable)
- Set a download path and file size limit
- Click "Export" and wait for completion
Method 2: Export a Single Chat
- Open the chat you want to export in Telegram Desktop
- Click the three-dot menu (top right)
- Select "Export chat history"
- Choose what to include (messages, photos, files, etc.)
- Set date range if you only need a specific period
- Click Export
Method 3: GDPR Data Request
For a complete account data dump:
- Go to my.telegram.org
- Log in with your phone number
- Navigate to Privacy & Security settings
- Request a data export
This can take up to 24 hours and includes all account data.
Export Format Details
HTML Format
- Opens in any web browser
- Nicely formatted with sender names and timestamps
- Media files linked and organized in folders
- Best for reading and archiving
JSON Format
- Machine-readable structured data
- Easy to process with scripts
- Includes metadata (message IDs, timestamps, forward info)
- Best for data analysis or migration
What Gets Exported
- All text messages with timestamps
- Sender information (name, ID)
- Reply chains and forwarded messages
- Photos, videos, documents (if selected)
- Stickers and GIF references
- Polls, contacts, and locations
Limitations
- Secret Chat messages cannot be exported (they are device-only)
- Export is only available on Telegram Desktop (not mobile or web)
- Large exports with media can take hours and significant disk space
- Channel posts you did not create may have copyright considerations
Know your Telegram User ID for identifying messages in exports — get it from @userid_checkbot.
Frequently Asked Questions
Can I export Telegram chats on my phone?
No, the full export feature is only available on Telegram Desktop. On mobile, you can forward individual messages or use third-party apps, but the official export requires the desktop application.
Will the other person know I exported our chat?
No. Exporting chat history is completely private. The other participants in the conversation receive no notification when you export messages.
Can I import exported chats into another app?
The JSON format can be parsed and converted for import into other platforms. Some migration tools exist for moving to Signal or WhatsApp, though formatting and media may not transfer perfectly.