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.
- Open the chat, click the three dots (⋮) at the top right and choose Export chat history.
- 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.
- Set Format to Machine-readable JSON (best: it holds each message's UTC time, chat ID and user IDs). HTML works too.
- Pick the date range if you only need part of the chat, choose where to save it, and click Export.
- The export is a folder named like
ChatExport_2024-01-15holdingresult.json(ormessages.html,messages2.html, …) and folders such asphotos,filesandvoice_messages. - For every chat at once, use Settings → Advanced → Export Telegram data. Court Copy lists every chat in that export's
result.jsonand you pick one. Telegram may ask you to confirm the export on another device first. - Secret chats live only on the phones that took part, so they cannot be exported.
- Keep the export folder exactly as Telegram wrote it. Opening
result.jsonand saving it again changes its bytes, and with them its fingerprint.
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.
- Time zone. Telegram stores every message time as a UTC timestamp, so the times are exact; choose the zone they should be shown in and the cover says which one was used. Exports from Telegram versions before 2022 only have the computer's local clock time; those are read in the zone you choose, and the cover says so.
- HTML exports carry each message's time with its UTC offset, but not the time of service lines (calls, pins, people joining). Those are shown at the time of the message next to them, with a note saying so.
3. What the PDF contains
- A cover sheet: what was chosen, each export file by path and size with its SHA-256 fingerprint (and the .zip's, if you used one), the chat type and chat ID, the exporting account for a whole-account export, the participants with their Telegram user IDs, the time zone used, the dates covered, counts, and when and with what the PDF was made.
- One numbered entry per message: sender, date and time, the text as written (formatting dropped, link addresses kept), and in reply to, forwarded from, edited (with the edit time), reactions, polls, locations and shared contacts as the export records them.
- Photos printed in place; voice notes, videos, stickers and files listed by name, size and their own SHA-256.
- Telegram's service lines in brackets: group created, people added, removed or joining by link, pinned messages (with the text pinned), calls and voice chats with their length, title changes.
- “Page 1 of N” on every page, optional page stamps (like TG000001), and a CSV and plain-text copy with the exact text.
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
- Open the HTML export in a browser and print it. Free and fine for reading, but there is no cover sheet, no fingerprint, no page stamps and no redaction, and times show only as hours and minutes.
- Screenshots. Quick for a few messages; they carry no IDs or exact times, and long chats take many pages.
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.