Data transfer and export concept
How-To February 23, 2026 · 6 min read

How to Export Telegram Chat History (And What You Can't Do Natively)

Telegram gives you more control over your data than almost any other messaging app — but the native export has real limitations. Here's a complete guide to exporting your chat history, what you get, and what you won't find there.

What Telegram Lets You Export

Telegram's desktop app includes a built-in chat export feature that lets you save your messages locally. This is a legitimate, official tool — not a hack — and it's far more capable than what most messaging apps offer.

You can export:

Export is available for personal chats, group chats, supergroups, and channels. The output format is either HTML (human-readable, opens in a browser) or JSON (structured data, useful for programmatic processing).

Step-by-Step: How to Export on Desktop

Export is only available in Telegram Desktop (the official desktop app). It's not available in the mobile apps or web version.

1
Download and open Telegram Desktop if you haven't already (available at desktop.telegram.org for Windows, Mac, and Linux).
2
Open the chat or group you want to export.
3
Click the three-dot menu (⋮) in the top right corner of the chat.
4
Select "Export chat history" from the dropdown.
5
In the dialog, choose: Format (HTML or JSON), Time period (all time or a date range), and Media types to include (photos, videos, voice, files — each can be toggled). Set a file size limit for individual media files if disk space is a concern.
6
Choose the export folder on your computer and click Export. For large chats, this may take several minutes.

The result is a folder containing either an HTML file (with embedded or linked media) or a JSON file with all message data, plus a subfolder with all downloaded media files.

Understanding the Export Formats

HTML Format

The HTML export produces a readable web page — open it in any browser and you'll see your chat history displayed like a conversation, with message bubbles, timestamps, and embedded images. This is the best format if you want to read or share the history without any technical knowledge.

For large chats, Telegram splits the export into multiple HTML files (messages.html, messages2.html, etc.) to keep file sizes manageable.

JSON Format

The JSON export gives you structured data: every message is a JSON object with fields for ID, date, sender, text content, media references, and more. This is the format to use if you want to process the data programmatically — import it into a database, build a search interface, run analysis, or migrate to another tool.

A typical message in the JSON output looks like:

{
  "id": 12345,
  "type": "message",
  "date": "2026-01-15T14:32:10",
  "from": "John Smith",
  "from_id": "user123456",
  "text": "Let's meet at 3pm tomorrow.",
  "photo": "photos/photo_2026-01.jpg"
}

What the Native Export Cannot Do

Here's where it gets important. Despite being comprehensive, the native export has significant limitations that many users don't realize until it's too late.

🚫 Limitation 1: Deleted messages are not included. The export only contains messages that exist at the time of export. Any message that was deleted — by the sender, by an admin, or by auto-delete timer — before your export is simply not there. There's no record, no placeholder, nothing.

🚫 Limitation 2: Edit history is not preserved. If a message was edited, the export shows only the current (edited) version. The original text is gone. You can't tell that a message was ever changed, let alone what it originally said.

🚫 Limitation 3: It's a snapshot, not a live archive. The export captures history up to the moment of export. Any messages sent or deleted after that point require another export. This is a manual, periodic process — not real-time protection.

🚫 Limitation 4: Channels and groups where you're not admin may limit media export. In some large public channels or groups, media download permissions may be restricted, resulting in a text-only export.

🚫 Limitation 5: Not available on mobile. Export requires Telegram Desktop. If you only use Telegram on your phone, you cannot use the native export.

Filling the Gaps: What TgChatMemory Does That Export Can't

The native export is great for periodic backups of what exists. But for the most critical use case — recovering messages that were deleted — it doesn't help at all. That's the problem TgChatMemory solves.

Feature Native Export TgChatMemory
Export existing messages
Recover deleted messages
Capture original text before edits
Real-time (not a snapshot)
Works while you're offline
Available on mobile
Works without any manual action

The ideal approach combines both: use TgChatMemory for ongoing, real-time protection of deleted messages, and do periodic native exports for a complete offline backup of your full history.

Get the complete picture — not just a snapshot

TgChatMemory captures what the native export misses: deleted messages, edit history, and real-time monitoring — all delivered to your Saved Messages automatically.

Start free trial

Tips for Managing Your Exported Data

Complement your backups with real-time deleted message capture.

Try TgChatMemory free

Related articles