Skip to content
Platform Guide8 min read

How to Export Telegram
Chat History (2026 Guide)

Telegram's built-in export tool lets you save your entire chat history as a structured JSON or HTML file in just a few clicks. This guide covers the desktop method, the mobile workaround, and how to use your exported data for AI-powered relationship analysis.

Desktop Method
Mobile Workaround
JSON & HTML Formats
AI Analysis Ready

Telegram is one of the fastest-growing messaging platforms in the world, used by hundreds of millions of people for everything from close friendships to long-distance relationships. Unlike some platforms that make it difficult to access your own data, Telegram built a comprehensive export tool directly into its desktop application. You can download your complete chat history in minutes, with no message limits and no waiting period.

Once you have the exported file, you can use AI-powered chat analysis to uncover sentiment trends, communication patterns, compatibility scores, and personality insights hidden inside your conversations. This guide will walk you through every step of the export process on both desktop and mobile.

Before You Start: Key Things to Know

  • Desktop is required for full exports. Telegram's complete export feature lives in Telegram Desktop (Windows, macOS, Linux). The mobile app only supports forwarding individual messages.
  • No message limits. Unlike WhatsApp (capped at 40,000 messages per export), Telegram exports your entire cloud chat history with no restrictions.
  • Secret Chats cannot be exported. End-to-end encrypted Secret Chats are stored only on your devices and are excluded from the export tool. Only regular cloud chats are exportable.
  • Two formats available. Telegram exports as JSON (best for AI analysis) or HTML (best for reading in a browser). Choose JSON when uploading to MosaicChats.

Method 1: Export Telegram Chat via Telegram Desktop

The Telegram Desktop app for Windows, macOS, and Linux includes a dedicated export tool. This is the most powerful method, giving you full control over which chats to export, what media to include, and which format to use. If you do not already have Telegram Desktop installed, download it for free from desktop.telegram.org.

1Open Telegram Desktop and go to Settings

Launch Telegram Desktop on your computer. Click the hamburger menu icon (three horizontal lines) in the top-left corner of the sidebar. From the menu that appears, click Settings.

2Navigate to Advanced

Inside the Settings panel, look for Advanced in the left-side navigation list and click it. This section contains power-user features including the data export tool.

3Click "Export Telegram data"

Scroll down within the Advanced tab until you see the Export Telegram data button. Clicking it will open Telegram's export dialog, where you can configure exactly what you want to download.

4Choose your conversations and format

The export dialog lets you select:

  • Which chats to include: You can export all chats, or deselect specific ones you do not need.
  • Media content: Uncheck photos, videos, voice notes, and other files to produce a much smaller, text-only export that works perfectly for chat analysis.
  • Format: Choose Machine-readable JSON for AI analysis tools, or Human-readable HTML if you want to browse the conversation yourself.
  • Date range: Optionally restrict the export to a specific date range if you only need recent messages.

Recommendation: select JSON format and uncheck all media for the smallest, most analysis-friendly file.

5Click "Export" and locate your files

Choose a destination folder on your computer and click Export. Telegram Desktop will create a folder containing your exported chat data. For JSON exports, each chat is saved as a result.json file inside its own sub-folder. The export is instant for text-only chats and takes longer if you included media.

Understanding the Telegram Export Folder Structure

After the export completes, you will find a folder on your computer organized like this:

Telegram Desktop/

DataExport_2026-03-14/

result.json  (all chats in one file)

chats/

chat_001/ → messages.html  (if HTML format)

When uploading to MosaicChats, use the top-level result.json file. It contains all selected conversations in a structured format that MosaicChats can parse directly.

Method 2: Exporting Telegram Chats on Mobile

The Telegram mobile app (iOS and Android) does not include the full export tool that the desktop app offers. However, there are two partial workarounds for mobile users.

Mobile Option A: Forward Messages to Saved Messages

Telegram has a built-in "Saved Messages" folder that acts like a personal bookmarks inbox. You can forward specific messages there for reference, but this does not produce an exportable file.

  1. Long-press on a message to select it, then tap the forward icon.
  2. Choose Saved Messages as the destination.
  3. Repeat for individual messages you want to preserve.

Limitation: this only captures selected messages, not entire chat histories.

Mobile Option B: Use Telegram Desktop on the Same Account

Because Telegram is a cloud-based platform, your chat history is automatically available on every device you sign in to. Simply install Telegram Desktop on any computer, log in with your phone number, and follow the desktop export steps above. All your conversations will be there, including ones you started exclusively on mobile.

This is the recommended approach for a complete, full-history export.

JSON vs. HTML: Which Telegram Export Format Should You Choose?

Telegram offers two output formats when you export your data. The right choice depends on what you plan to do with the file.

JSON (Recommended for Analysis)

  • Structured data that AI tools can parse directly
  • Includes precise timestamps, sender IDs, and message types
  • Fully compatible with MosaicChats for instant analysis
  • Smaller file size when media is excluded

Choose this for AI chat analysis

HTML (Human-Readable)

  • Opens directly in any web browser
  • Visually formatted for comfortable reading
  • Good for searching or archiving conversations manually

Choose this for personal reading or archiving

What Data Is Included in a Telegram Export?

A Telegram JSON export is notably rich compared to other platforms. Here is what you get in a text-only export (media deselected):

Included (Text-Only Export)

  • - Full text of every message
  • - Exact timestamps (date and time)
  • - Sender name and Telegram user ID
  • - Message type (text, sticker, poll, etc.)
  • - Forwarded message metadata
  • - Reply-to context
  • - Reactions (emoji responses)
  • - Media file names (even if files not included)
  • - Complete chat history with no message limit

Not Included

  • - Secret Chat messages (end-to-end encrypted)
  • - Messages deleted by either participant
  • - Self-destructing messages (already gone)
  • - Media files (if deselected)
  • - Voice message audio (if deselected)

What to Do After Exporting Your Telegram Chat

Your exported JSON file is ready for AI-powered analysis. Uploading it to MosaicChats transforms raw conversation data into actionable relationship insights. Here is what the analysis reveals:

Sentiment Analysis

Track how the emotional tone of your Telegram conversations shifts over weeks and months. Identify periods of closeness, tension, or emotional distance that you may not have consciously noticed at the time. Learn more about how AI chat analysis improves relationships.

Compatibility Score

MosaicChats' AI evaluates communication balance, emotional reciprocity, and engagement symmetry to generate a compatibility score between you and your chat partner. Understand not just how often you talk, but how well you communicate.

MBTI & Personality Insights

AI detects personality dimensions from the way you and your partner write: introversion vs. extraversion, intuitive vs. sensing, thinking vs. feeling, and judging vs. perceiving. Discover what your texting style says about your personality. Read more about personality analysis from text messages.

Response Time & Engagement Patterns

See who initiates conversations more often, how quickly each person responds, and whether those patterns have changed over time. Response times can signal a lot about emotional investment. Explore the psychology of response times in relationships.

For a complete overview of what AI analysis can uncover in any chat export, see our ultimate guide to chat analysis or browse the best chat analysis tools in 2025.

Privacy Considerations When Exporting Telegram Chats

What You Need to Know About Data Privacy

Your export is private. Telegram does not notify other participants when you export a conversation. The export contains only your own copy of the chat, which you have every right to access under Telegram's privacy policy.

Store your export file securely. The exported JSON file contains full conversation history. Treat it like any sensitive personal data: store it in a secure location, avoid sharing it unintentionally, and delete it when you no longer need it.

MosaicChats is privacy-first. When you upload your chat export to MosaicChats, your data is processed securely. We never expose your raw messages or share your data with third parties. Read more about privacy in digital relationships.

Secret Chats stay secret. Telegram's end-to-end encrypted Secret Chats are intentionally excluded from the export tool. They are stored only on the devices involved, meaning no server copy exists to export.

Analyze Your Telegram Chat with AI

Now that you have your exported Telegram JSON file, upload it to MosaicChats for instant AI analysis. Get sentiment trends, compatibility scores, personality insights, and communication pattern breakdowns in minutes.

  • Upload your result.json file directly from Telegram Desktop
  • AI analyzes sentiment, engagement, and compatibility
  • Discover MBTI personality types and texting style
  • Privacy-first: your data is processed securely and never shared

Frequently Asked Questions

Can I export Telegram chats on mobile?

The Telegram mobile app does not include a full bulk export feature. You can forward individual messages to Saved Messages, but for a complete chat history export you need Telegram Desktop. Since Telegram is cloud-based, you can simply install Telegram Desktop on any computer, log in with the same account, and all your chat history will be there ready to export.

What format does Telegram export in?

Telegram Desktop exports conversations in two formats: JSON (structured data, best for AI analysis tools like MosaicChats) and HTML (a formatted, human-readable version you can open in any web browser). For chat analysis, always choose JSON.

Will the other person know I exported the chat?

No. Telegram does not send any notification to other participants when you export a conversation. The process is completely private and only visible to you.

Does Telegram export include Secret Chats?

No. Telegram's Secret Chats are end-to-end encrypted and stored only on the devices involved. They are intentionally excluded from the export tool. Only regular cloud chats can be exported through Telegram Desktop.

How far back does the Telegram export go?

Telegram exports your full cloud chat history with no message limit and no time restriction, as long as neither participant has deleted the messages. You can export years of conversation history in a single file. This makes Telegram one of the most complete platforms for historical chat analysis.

How is exporting Telegram different from exporting WhatsApp?

The main differences are: Telegram exports as JSON (structured) while WhatsApp exports as .txt; Telegram has no message limit while WhatsApp caps text exports at 40,000 messages; and Telegram export is done through the Desktop app while WhatsApp export is done through the mobile app. Both formats are supported by MosaicChats.

References & Sources

  1. "Export and More." Telegram Blog, August 27, 2018.Source
  2. "Telegram Desktop." Telegram.Source
  3. "Telegram Privacy Policy." Telegram.Source