scrollback Make yours

How to export a Telegram chat

Updated

To export a Telegram chat, open it in Telegram Desktop on a computer, click the three dots at the top right, choose Export chat history, switch the format to Machine-readable JSON and click Export. The Telegram phone apps can’t export chats, so the computer app is the only way, and it takes a few minutes.

Where
Telegram Desktop, on a Mac or Windows computer
Time
A few minutes for one chat
Format
Machine-readable JSON (it starts on HTML)
You get
A result.json file in Downloads, Telegram Desktop
Cost
Free

How to export a chat

  1. Install Telegram Desktop. It’s free at desktop.telegram.org. The “Telegram” app in the Mac App Store is a different app, so use this one.
  2. Log in with your phone. Telegram Desktop shows a QR code. On your phone, open Telegram, then Settings, Devices, Link Desktop Device, and scan it.
  3. Open the chat and click the three dots at the top right. Then click Export chat history. No Export? Update Telegram Desktop.
  4. Untick photos and videos. You only need them if you want the media, and leaving them out makes the export much quicker.
  5. Change Format to Machine-readable JSON. It’s near the bottom of the export box and starts on Human-readable HTML.
  6. Click Export. When it says your data was exported, click Show my data. The file is result.json, in Downloads, Telegram Desktop, inside a ChatExport folder with the date.

If you only have a phone

The Telegram apps for iPhone and Android have no chat export. If you don’t have a computer, screenshots are the fallback: Scrollback can read screenshots of a conversation on your phone, which works well for a shorter stretch of a chat. If a computer is nearby but not in front of you, the app can email you a link to finish there.

What to watch out for

  • Pick result.json, not messages.html. The HTML version is for reading in a browser. If you exported HTML by mistake, export again with JSON.
  • Check the date range. The export box has From and To dates. Leave them open to get the whole chat.
  • A whole-account export can be delayed. Exporting all your Telegram data from Settings, Advanced, on a newly logged-in computer can make you wait hours for security. Exporting one chat from the chat itself usually starts right away.

What you can do with the file

Keep it as a backup, or drop result.json into Scrollback on the same computer. It reads the chat right there, never sending it to us, and turns it into a free recap and a printed book of the best of it. If you also talk on WhatsApp, Instagram or by text, add those chats and they’re sorted into one story by date.

Questions

Can I export a Telegram chat on my iPhone or Android?

No. Chat export is only in Telegram Desktop, the free computer app from desktop.telegram.org.

Where does Telegram save the export?

In your Downloads folder, under Telegram Desktop, in a folder called ChatExport with the date. The messages are in result.json for JSON exports, or messages.html for HTML.

Should I choose HTML or JSON?

HTML is for reading in a browser. Machine-readable JSON is for other apps, including Scrollback, so choose JSON.

Does the other person know I exported the chat?

Telegram doesn’t notify the other people in a chat when you export it. If you plan to print or share it, ask them first, and Scrollback asks you to confirm that everyone in the chat is okay with it before anything is shared or printed.