Skip to content
OSINTtools.io

tdl

Verified yesterday

Go command-line toolkit that downloads files from Telegram chats, including protected ones, and exports messages and members to JSON.

CLI (Windows, macOS, Linux) · Open source · Data capturing · github.com

Takes
URL · Username
Pricing
Free, open source
Footprint
Passive · no contact with target
Account
Needed for full results
API
No public API
Last verified
Dec 3, 2026
Summary

Go command-line toolkit that downloads files from Telegram chats, including protected ones, and exports messages and members to JSON. It takes URL and username. Read the cons before you build a workflow on it.

What it does

tdl is a single-binary Telegram toolkit written in Go. It logs in by importing the session of an installed Telegram Desktop client, by QR code or by phone and code, then downloads files from message links or from a chat export, exports a chat's media messages to JSON, exports members, admins and subscribers to JSON, and can also forward and upload files.

For investigations it is a fast way to pull every video, photo and document out of a channel or group, including chats where saving content is restricted, and to get a machine-readable list of a chat's messages and users to work with elsewhere. Some member types, such as banned or kicked users, need admin rights in the chat.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is no public API.

Pros
  • +One binary for Windows, macOS and Linux
  • +Very fast parallel downloads
  • +Detailed documentation and regular releases
Cons
  • −Works through your own Telegram account; use a research account
  • −Message export covers messages with media, not a full text archive
  • −Forward and upload features are not investigative and touch other chats

When to use it

  1. 01Use it when you need to save all media posted in a channel or group as evidence.
  2. 02Use it when you need a JSON list of a chat's members or media posts to analyse in another tool.
Key featuresDownload from message links or JSON exportsDownloads from protected chatsExport media messages to JSONExport members, admins and subscribersResumable, multi-threaded transfersLogin from Telegram Desktop, QR code or phone

Next steps from this result

Suggested from the inputs tdl takes
Install (macOS / Linux), log in and download
curl -sSL https://docs.iyear.me/tdl/install.sh | sudo bash
tdl login -T qr
tdl chat export -c CHAT
tdl dl -f tdl-export.json

Technical details

Listing verified by an editor on Dec 3, 2026
API
No public API
Account
Needed for full results
Footprint
Passive · no contact with target
Pricing
Free, open source
Platforms
CLI (Windows, macOS, Linux)
Repository
iyear/tdl 8,347 stars
Language
Go
Licence
AGPL-3.0
Last commit
Nov 2026
Listed
Dec 3

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used tdl? Sign in to say what you used it for and how it went.

Sign in to review

Discussion

Tips, questions and updates about tdl from the community.

No posts about tdl yet. Ask a question or share how you use it.

Alternatives to tdl

Listed tools that take the same inputs, closest match first.

tdlOpen source · verified yesterday
Visit github.com (opens in new tab)