Telegram Media Downloader
Python script that downloads every photo, video, voice note and document from chats or channels you belong to, picking up where it stopped.
Python CLI · optional local web UI · Open source · Data capturing · github.com
- Takes
- Username · URL
- Pricing
- Free, open source
- Footprint
- Passive · no contact with target
- Account
- Needed for full results
- API
- No public API
- Last verified
- Dec 3, 2026
Python script that downloads every photo, video, voice note and document from chats or channels you belong to, picking up where it stopped. It takes username and URL. Read the cons before you build a workflow on it.
What it does
Telegram Media Downloader logs in with your Telegram account through the API (Telethon since version 3) and saves the media from one or more chats or channels you are part of, filtered by media type, file format and start date. It records the last message read for each chat in its config file, so later runs fetch only new files, and keeps a list of failed downloads to retry.
Investigators use it to collect the audio, documents, photos and videos posted in a channel into folders sorted by chat and media type. Newer versions add parallel downloads across chats, pacing and random delays to avoid Telegram limits, and an optional local web interface for setting it up.
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.
- +Simple YAML configuration
- +Resumes without downloading the same file twice
- +Tested and actively released
- −Needs a Telegram api_id and api_hash and a logged-in account (use a research account)
- −Only chats the account is a member of
- −Saves media only, not message text
When to use it
- 01Use it when you need to preserve all media from a channel or group before it is deleted.
- 02Use it when you want to collect files from several chats on a schedule without re-downloading old ones.
Next steps from this result
Suggested from the inputs Telegram Media Downloader takes- Found a resultConfirm it with a second, independent source before you record itPassive
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
git clone https://github.com/Dineshkarthik/telegram_media_downloader.git cd telegram_media_downloader pip3 install -r requirements.txt cp config.yaml.example config.yaml python3 media_downloader.py
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
- Python CLI · optional local web UI
- Repository
- Dineshkarthik/telegram_media_downloader 2,769 stars
- Language
- Python
- Licence
- MIT
- Last commit
- Feb 2026
- Listed
- Dec 3
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used Telegram Media Downloader? Sign in to say what you used it for and how it went.
Sign in to reviewDiscussion
Tips, questions and updates about Telegram Media Downloader from the community.
No posts about Telegram Media Downloader yet. Ask a question or share how you use it.
Alternatives to Telegram Media Downloader
Listed tools that take the same inputs, closest match first.
- tdlOpen source · Passive · accountWhat it does
Go command-line toolkit that downloads files from Telegram chats, including protected ones, and exports messages and members to JSON.
URLUsernameNo ratings yetVerified yesterday - tg-archiveOpen source · Passive · accountWhat it does
Syncs a Telegram group's messages and media into SQLite and builds a static, browsable website archive of the chat.
UsernameURLNo ratings yetVerified yesterday - Telegram ArchiveOpen source · Passive · accountWhat it does
Self-hosted, scheduled backup of your Telegram account that keeps edits and deleted messages, with a searchable local web viewer.
UsernameURLNo ratings yetVerified yesterday