How to Export Telegram Chat History

Telegram Export Chat History

Unlike WhatsApp, Telegram doesn’t allow users to backup chats to a cloud service. That’s because Telegram is a cloud platform in itself that saves all your data (chats, photos, videos, etc.) in its own cloud servers automatically. Therefore, your chats will not be deleted if you change phones without making a backup. But, if you still want to save the backup offline or send your chat history to someone, you can export Telegram chats. Let’s check both methods to do so quickly and efficiently.

Note: You can export Telegram chat history only from the Telegram desktop app and not from its mobile apps.

Also read: 6 Things You Didn’t Know Telegram for PC Could Do

1. Export Individual Telegram Chats

You can use this method to export chat history from individual Telegram chats, groups, or channels as shown below:

  1. Install the Telegram desktop app on your computer. If you face any issues while installing Telegram on Linux, check our guide to install Telegram.
  2. Open the Telegram app after installation and log in to your Telegram account using the one-time code sent to the Telegram app on your mobile.
  3. In the Telegram desktop app, open the chat that you want to export.
  4. Click on the three-dot icon at the top and select “Export chat history” from the menu.
Telegram Export Individual Chat
  1. The chat export settings pop-up window will show up. Select the items that should be exported in addition to text messages. You can select from photos, videos, voice messages, video messages, stickers, GIFs, and files.
Telegram Export Individual Chat Settings
  1. From the same screen you can customize various other settings related to chat history. By default, files up to 8MB will be saved only. Use the size limit slider to extend the file size limit to save bigger files.

Also read: How to Export and Back Up Your WhatsApp Chat History

  1. Click on the address label next to the “Path” to change the location of exported files on your computer. By default, it will be saved in the newly created “Telegram Desktop” folder present in your PC’s “Downloads” folder.
Telegram Export Individual Chat From
  1. The app will export all the messages present in the chat history starting from the oldest to the present date by default. However, you can customize the time period and choose different start and end dates by tapping on the “From” and “To” labels.
Telegram Export Individual Chat Path
  1. Once all this is done, click on the “Export” button to start exporting the chat history.
Telegram Export Individual Chat Settings Select
  1. The export process may take some time depending on the size of the chat. When finished, you will get the completed status pop-up.

Also read: How to Set Up Passcode Lock in Telegram

Viewing Your Data

  1. Click on “Show my data” to view the chat history on your computer.
Telegram Export Individual Show Data
  1. Open the “ChatExport” folder by going to “This PC-> Downloads-> Telegram Desktop” to view the items exported from the chat, such as voice messages, video files, photos, messages, etc.
Telegram Export Individual Chat Computer
  1. You might find multiple “messages.html” files depending on the size of the chat. These are your text messages in the human-readable format.
Telegram Export Individual Chat Computer Messages
  1. Double-click on these HTML files to open them in your default browser where you can read them easily. Or, attach the file to an e-mail to send it to someone else.
Telegram Exported Chat

Similarly, you can export a group chat or a channel history.

Tip: Also learn how to create or manage Telegram channels.

Also read: Telegram vs. WhatsApp: Is Telegram as Good as WhatsApp?

2. Export All Telegram Chats

Telegram allows you to export your entire Telegram data. That includes messaging history from all chat threads (personal chats, groups, channels), photos, videos, account information, stickers, animated files, active sessions, and more. You can use this method to create an offline backup of your Telegram account data.

  1. Open the Telegram desktop app on your computer.
  2. Click on the three-bar icon at the top.
Telegram Pc Three Bar
  1. Select “Settings” from the menu.
Telegram Pc Settings
  1. Go to “Advanced”.
Telegram Pc Settings Advanced
  1. Swipe all the way down and click on “Export Telegram data”.
Telegram Pc Export Chat
  1. Now, select the items that you want to export, such as account information, personal chats, channels, video messages, photos, files, active sessions, etc. Just click on the checkboxes before the desired items to select them and uncheck the rest.
Telegram Pc Export Chat Data

Also read: How to Set and Create Animated Backgrounds in Telegram

Note: You can either export all chats or a single chat (using the first method). You can’t select some chats.

  1. Scroll down to set the maximum size limit of individual files that should be exported using the “Size limit” slider.
Telegram Pc Export File Size
  1. Scroll down further to change the download path and format for the exported files. Finally, click on “Export”.
Telegram Pc Export All

The exported files will be saved in the “Downloads” folder of your PC.

Also read: How to Hide a Telegram Chat Without Permanently Deleting It

Bonus: How to Export Telegram Chat to PDF

Telegram doesn’t offer a native way to export chats to PDF. You can, however, use the following two workarounds to convert Telegram chats to PDF.

1. Using Print Tool

  1. First, export the Telegram chat history as shown above. Then, open the “Telegram Desktop” folder on your computer to see the exported files. Double-click on the “message.html” file to open it in the default browser.
  2. Use Ctrl + P command to open the ‘Print” function.
  3. Click on the drop-down box next to “Destination” and select “Save as PDF”.
  4. Hit the “Save” button to download the PDF file of the Telegram chat.
Telegram Export Chat Pdf
  1. Similarly, convert other HTML files into PDF.

2. Using Online Tools

You can also use online tools to convert HTML files into PDF. Some of the tools that you can try are:

Simply upload the “message.html” file in one of these websites and they will automatically do the rest of the work of converting it into PDF.

Also read: 9 Signal Features You Should Start Using If You Just Switched from WhatsApp

Frequently Asked Questions

Can you merge or import exported chats back into Telegram?

Unfortunately, you cannot import or merge exported chats back into Telegram. But you can import WhatsApp chats into Telegram.

Can you export secret chats?

Unfortunately, the answer to this question is no. Secret chats can’t be exported as these are available on mobile devices only.

How to backup Telegram chats to Google drive?

This is not done automatically like in the case of WhatsApp. You must first export Telegram chats to your computer and then upload the files manually to Google Drive.

All screenshots by Mehvish Mushtaq

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Mehvish Mushtaq

Mehvish is a tech lover from Kashmir. With a degree in computer engineering, she's always been happy to help anyone who finds technology challenging. She's been writing about technology for over six years, and her favorite topics include how-to guides, explainers, tips and tricks for Android, iOS/iPadOS, Windows, social media, and web apps.