How to export a Telegram chat with Telegram Desktop
Telegram exports chats from Telegram Desktop, on a computer. Choose machine-readable JSON: it records every message as an exact moment. The phone apps have no export.
By Martin Ferret · Published · Last updated
Export one chat
- 1Install Telegram Desktop on your computer and sign in.
- 2Open the chat, then its ⋮ menu, and choose Export chat history.
- 3Choose the media to include and the size limit for files.
- 4Choose the format: machine-readable JSON.
- 5Choose the folder and, if you wish, a date range, then Export.
Telegram writes a folder, usually ChatExport_ and the date, holding result.json and the media folders. Zip that folder, or drop result.json on its own.
Export all your data
- 1In Telegram Desktop, open Settings, then Advanced, then Export Telegram data.
- 2Choose the chats and the format, then export. ChatExhibits lists every chat and you choose one.
Good to know
- Telegram’s own tracker says chat export is available in Telegram Desktop only.
- Files larger than the size limit you set are left out and named as not included.
- Exports made before June 2022 record local times only; ChatExhibits asks for the time zone.
Sources
Common questions
Can I export from my phone?
No. Export is in Telegram Desktop, on a Windows, Mac or Linux computer.
HTML or JSON?
Machine-readable JSON. It records each message as an exact moment. HTML is read too.
Do I need to zip the folder?
Zipping it keeps the photos and voice messages with the messages. result.json alone gives the messages, with each file named.
Keep reading
- Export a WhatsApp Chat on iPhone or AndroidStep-by-step export instructions for iPhone and Android, what “Attach Media” changes, what WhatsApp Desktop can export, and what ends up inside the ZIP.
- WhatsApp Export Format: the TXT and ZIPWhat is inside a WhatsApp export: the two timestamp formats, the invisible direction marks, attachment lines on iOS and Android, and how media is named.
- What Is Bates Numbering? Format, ContinuityWhere the name comes from, what a Bates number looks like, why it runs continuously across a production, and what stamping one does not accomplish.
- SHA-256 File Integrity: Is a File Unchanged?What a hash is, why changing one byte changes the whole digest, how to compute one on macOS, Windows and Linux, and what a digest cannot tell you.
- WhatsApp Chat to PDF for CourtTurn a WhatsApp export into a dated, page-numbered PDF with a SHA-256 certificate, read in your browser. Made for people who need to show what was said.
- Android SMS to PDF as EvidencePrint Android text messages from an SMS Backup & Restore file as a dated, numbered PDF with photos and a certificate. Nothing is uploaded.
- Messenger Messages as Evidence, in a PDFTurn the Messenger conversation in your Facebook data download into a dated, numbered PDF with photos, reactions and a SHA-256 certificate.
- Instagram Messages as Evidence, in a PDFPrint an Instagram direct message conversation from your data download as a dated, numbered PDF with its photos and a certificate, in your browser.
- Telegram Chat to PDF for CourtTurn a Telegram Desktop export, JSON or HTML, into a dated, page-numbered PDF with photos, voice messages and a SHA-256 certificate.
- Export iMessage to PDF for CourtTurn iMessage and iPhone SMS from a Mac or an unencrypted iPhone backup into a dated, numbered PDF with a certificate, read in your browser.
- How to Export Android Text MessagesExport Android SMS and MMS to a file with SMS Backup & Restore or SMS Import / Export, step by step, then copy it to your computer.
- How to Download Your Messenger MessagesDownload your Messenger conversations with Export your information, in JSON, plus the backup of end-to-end encrypted chats, step by step.
- How to Download Your Instagram MessagesDownload your Instagram direct messages with Export your information, in JSON, step by step, with how long it takes and what is left out.
- How to Export iMessages and iPhone SMSGet your iMessages and iPhone texts as a file: chat.db on a Mac, an unencrypted iPhone backup, or an iMazing CSV, step by step.
- Messages as Evidence: What to KnowWhat the rules in France, the United States and Spain say about messages as evidence, with sources, and what ChatExhibits does not replace.