TextExhibits

Exporting and printing

How to turn a Telegram chat into a court-ready PDF

Last reviewed . Sources are listed below.

Telegram's phone apps can't export a chat. Telegram Desktop (Windows, Mac or Linux) can, and its export is what TextExhibits reads.

Page 2 of the Telegram sample exhibit: client stops paying a freelancer's invoice
Telegram: group chat, three people, replies and a forward, reactions, edited time, file listed but not in the export. Open the full PDF (4 pages)

The tool opens with Telegram selected. Nothing is uploaded.

Open the tool

Step 1: Install Telegram Desktop and sign in

Download it from telegram.org and log in with your phone number. Your chats sync from Telegram's servers, so the whole history is there. Secret chats are the exception: they live only on the phone that started them and can't be exported.

Step 2: Export the chat

Open the chat, click the ⋮ menu (top right) and choose Export chat history. Telegram's announcement describes this menu. To export everything at once, use Settings > Advanced > Export Telegram data instead.

  • Tick Photos, and Files or Voice messages if they matter. Unticked or oversized files are written as "File not included" and TextExhibits lists them as not included.
  • For Format, choose Machine-readable JSON if you can. It stores the exact instant of every message, and when a message was last edited.
  • HTML works too. It records the time with the computer's UTC offset, but not edit times or the time of service messages (such as "joined the group").

Telegram Desktop saves a folder named like ChatExport_2024-03-09 with result.json (or messages.html, messages2.html and so on) and folders such as photos and files.

Step 3: Zip the folder and open it

Zip the whole ChatExport_... folder (right-click > Compress, or Send to > Compressed folder) and open the .zip in TextExhibits. That keeps the photos with the messages. Opening result.json alone works, but the photos are then listed by name only.

An account-wide export works as well: each chat becomes a conversation you can pick.

What the PDF shows

  • Every message with its sender, date, time and UTC offset, in the time zone you choose.
  • Replies as "[In reply to ...]", forwarded messages with their origin, edits with the time of the last edit (JSON), reactions with who reacted, polls, locations and contacts.
  • Group events such as "created the group" or "added ...", marked as system messages.
  • Photos and stickers inline, other files listed by name and type, and on the paid certificate the SHA-256 of the source file and of every attachment.

Keep the original export folder and the device. The PDF is a readable copy tied to that file by its SHA-256.

Make the PDF in your browser

Telegram is selected in the tool, and the export steps are on that page. Nothing is uploaded.

Open the tool

Sources

  1. Telegram: Export Telegram data, chat history export in JSON or HTML (Telegram blog)
  2. Telegram Desktop source: JSON export writer (export_output_json.cpp)
  3. Telegram Desktop source: HTML export writer (export_output_html.cpp)

Sources were opened and checked on 2026-10-28. Laws and rules change; always read the current version.

Make my PDF