Guide

How to export a Telegram chat, group or channel

Export a Telegram chat, group or channel to your computer in HTML or JSON with Telegram Desktop, or all your data at once. Plus moving WhatsApp chats in.

AdminHub

Write once, land in three feeds

Connect a channel in the bot

TL;DR. One chat, group or channel: open it in Telegram Desktop → the … menu → Export chat history. Everything at once: Settings → Export Telegram data. Formats: HTML to read, JSON to process. On a phone: Telegram describes the export only in Telegram Desktop. From WhatsApp: Export Chat → choose Telegram.

With AdminHub: if you run a channel and want its posts to appear outside Telegram too, AdminHub can mirror new posts to Bluesky and Mastodon — details at the end.

Telegram keeps your cloud chats on its servers, so a new phone or computer shows the whole history as soon as you log in. An export is something else: a copy of a chat on your own computer that opens without Telegram — for an archive, a record of a deal, a project’s history, or data to analyse. This guide follows Telegram’s own announcements, developer documentation and the Telegram Desktop changelog, checked in November 2026.

Where the export is

Telegram introduced its export tool in August 2018 in Telegram Desktop, the app for computers, and that is where Telegram’s instructions place it. If you use Telegram only on your phone, install Telegram Desktop, log in with your account, and your cloud chats are there to export.

Secret chats are a separate case: Telegram’s FAQ calls them device-specific and not part of the Telegram cloud, so they exist only on the devices where they were started.

Export one chat, group or channel

  1. Open the chat in Telegram Desktop.
  2. Open the … menu at the top of the chat and choose Export chat history.
  3. Choose what to include — for example photos, videos and files, and how large a file may be.
  4. Choose the format — HTML or JSON — and start the export.

This works for private chats, groups and channels. Telegram Desktop exports the full history of a group, and since version 6.3.4 (November 2025) the topics of a group with topics can be exported separately.

Export all your Telegram data

To export everything at once, open Settings in Telegram Desktop and choose Export Telegram data. Telegram’s documentation for its export API — it points to Telegram Desktop’s export as the example implementation — lists what such an export can cover:

  • your contacts;
  • private chats, groups and channels — you choose which kinds;
  • media files, up to a file size you set;
  • only messages from a date range, if you choose one;
  • your profile photos, stories, active sessions and personal information.

Only what you choose is downloaded, so leaving out large media keeps the export small.

HTML or JSON

Telegram offers two formats:

  • HTML — opens in any browser and looks like a chat, with messages, photos and files. Choose it to read or keep an archive.
  • JSON — machine-readable. Choose it to process the history: count messages, search, build statistics or move the data to another tool. Telegram Desktop has exported a single chat in JSON since June 2020.

Channels, groups and protected content

A group or channel is exported the same way as any chat, from its … menu. In 2021 Telegram gave group and channel owners a setting, Restrict Saving Content, which limits forwarding, saving media and screenshots in that chat. Telegram’s announcement of it does not say how it affects the export tool.

Moving chats from WhatsApp into Telegram

The other direction — bringing a chat into Telegram — starts in the other app. Telegram supports imports from WhatsApp, LINE and KakaoTalk; for WhatsApp:

  • iPhone: open the contact’s or group’s info in WhatsApp, tap Export Chat, then choose Telegram in the share menu. You can also swipe left on a chat and choose … → Export Chat.
  • Android: in the chat, tap ⋮ → More → Export Chat, then choose Telegram.

Then pick the Telegram chat to import into. The messages are imported into the current day but keep their original timestamps, and every member of that Telegram chat sees them.

For developers

The export is also available through Telegram’s API as takeout: an app opens a takeout session with exactly the data the user chose — contacts, kinds of chats, files up to a size limit, a date interval — downloads it and finishes the session. Telegram’s documentation points to Telegram Desktop’s own export code as the example implementation. The takeout documentation describes the flags and calls.

Your channel’s posts outside Telegram — and AdminHub

An export is a snapshot: it shows the channel as it was on the day you made it. If you want your channel’s posts to appear somewhere besides Telegram as you publish them, AdminHub’s cross-posting mirrors each new post of your channel to Bluesky and Mastodon, with up to four photos and a link back to the original. It is not a backup — a long post becomes a teaser with a link, and video is not mirrored — but it puts your posts in front of readers who are not on Telegram. To make a copy of the full history, use the export above.


Sources, checked November 2026: Telegram blog — Chat Export Tool (August 2018: Telegram Desktop, Settings → Export Telegram data, Export chat history from a chat’s … menu, HTML and JSON), Moving Chat History from Other Apps (January 2021: WhatsApp steps, original timestamps, visible to all members; LINE and KakaoTalk), protected content (December 2021: Restrict Saving Content); Telegram FAQ — cloud chats, secret chats being device-specific; Telegram Desktop changelog — single-chat JSON export and full group history (June 2020), topics exported separately (6.3.4, November 2025); Telegram API: takeout — what an export can include.

What people usually ask

How do I export a chat in Telegram?
Open the chat in Telegram Desktop, open the … menu at the top and choose Export chat history. Pick what to include and the format — HTML or JSON — and start the export. The copy is saved on your computer.
Can I export a Telegram chat on my phone?
Telegram describes the export tool only in Telegram Desktop, the app for computers. Install it, log in with your account and export from there: your cloud chats are already on it.
HTML or JSON — which format should I choose?
HTML if you want to read the chat: it opens in a browser and looks like a chat. JSON if you want to process it: it is machine-readable, so a script or a spreadsheet can count messages, search them or move them elsewhere. Telegram Desktop exports a single chat in either format.
Can I export a Telegram channel or group?
Yes. Open the group or channel in Telegram Desktop and choose Export chat history from its … menu. Telegram Desktop exports the full message history of a group, and since 2025 it can export the topics of a group with topics separately.
How do I export all my Telegram data?
In Telegram Desktop, open Settings and choose Export Telegram data. You choose what goes in — for example which kinds of chats, media files up to a size you set, contacts and active sessions — and Telegram Desktop saves it all to your computer.
How do I move a WhatsApp chat to Telegram?
In WhatsApp, open the chat or group info, tap Export Chat and choose Telegram in the share menu, then pick the Telegram chat to import into. The messages arrive with their original timestamps, and everyone in that Telegram chat can see them.