Tomorrowish

Telegram chat to PDF for court

Telegram Desktop can export any chat you can open, with its photos, voice notes and files. Court Copy turns that export into a page-numbered PDF with a cover sheet, the SHA-256 fingerprint of every export file, optional page stamps and real redaction, inside your browser. Nothing is uploaded.

1. Export the chat with Telegram Desktop

The phone apps cannot export a chat; you need Telegram Desktop on a computer (Windows, Mac or Linux, from desktop.telegram.org), signed in to the same account.

  1. Open the chat, click the three dots (⋮) at the top right and choose Export chat history.
  2. Tick what to include: photos, videos, voice messages, video messages, stickers, GIFs and files. Raise the size limit if you need large files. Anything left out shows up in the PDF as “not in this export”, with Telegram's own note.
  3. Set Format to Machine-readable JSON (best: it holds each message's UTC time, chat ID and user IDs). HTML works too.
  4. Pick the date range if you only need part of the chat, choose where to save it, and click Export.

2. Make the PDF

Open Court Copy, choose Telegram, Discord, Messenger or Instagram → Choose export folder and pick the ChatExport_… folder. You can also drop the folder (or a .zip of it) on the page, or choose result.json alone if you don't need the pictures. Set the dates, time zone, paper size, page stamps and redactions, then press Make PDF. The browser may say it will “upload” the folder: that is its word for letting the page read it. Nothing leaves your computer.

3. What the PDF contains

What an export does not hold, so the PDF cannot show it: messages deleted before the export, the earlier text of edited messages, and read times.

Why the fingerprints matter

A JSON or HTML file can be edited by anyone. The SHA-256 fingerprint on the cover is computed from the exact bytes of each export file, and of each attachment. Anyone with the original files can compute it again (certutil -hashfile result.json SHA256 on Windows, shasum -a 256 result.json on a Mac) and check that it matches. If one character had changed, the fingerprint would be completely different. Keep the original export folder untouched next to the PDF.

Redaction that removes the text

Under Redact you can hide a person's name and user ID (on their messages, on the cover, in reactions, and inside service lines such as “Ana added Ben”) and black out individual messages. A name typed inside a message stays unless you black out that message too. Redacted text is left out of the PDF file entirely, so it cannot be copied or searched out of it.

Other ways to print a Telegram chat

Not affiliated with Telegram. Whether a printout is accepted, and in what form, is for the court, the lawyers and the other side to say.

Open Court Copy Full exports free right now, nothing uploaded.