telegram-bot-dumper

telegram-bot-dumper dumps everything reachable through a Telegram bot token: the bot’s own profile, the full text history of every chat it has seen, all message media, and the profiles and photos of the users who talked to it.

Input: a bot token, nothing else. Output: bot.json, per-chat text history, downloaded media, and per-user profiles (or a single users.csv).

There are two ways to use it:

  • the command-line dumper — one script, one token; and

  • the web viewer — a Telegram-Web-like browser UI over a dump, with live streaming and global search.

A faster Golang port by ScBoln exists if you prefer a single binary.

Warning

This tool is intended for authorized security testing and lawful purposes only. A bot token belongs to whoever operates the bot; dumping a bot you do not own or have explicit permission to assess may be illegal. Regulations on collecting and processing personal data vary by jurisdiction (GDPR, CCPA, and others). Ensuring your use is lawful is your responsibility alone, and the authors bear no responsibility for misuse.

You may be interested in: