Sign in, choose your sources, then start observation.
1 Connect account
2 Choose sources
3 Start observation
YOUR WORKSPACE
What would you like to do?
Save a copy of your Telegram account, or keep a record of conversations as they change.
Export a chat by link
Paste a public username or a t.me link. TgWitness reads the chat's facts, picks idle accounts and estimates the time before anything starts.
Checking briefly uses one permitted account. Starting an export requires a separate click.
Export my account
Download the chats and history your account can read now. Choose dates, messages and files before starting.
Connect your account
Choose what to include
Download a signed archive
No continuous observation needed. Earlier deletions and edits cannot be recovered.
Follow an investigation
Keep new messages, observed edits and deletion notices from the chats you choose.
Choose sources
Start observation explicitly
Review and export saved records
Previously saved records stay available when observation is paused.
BEFORE YOU START
What will you use TgWitness for?
Pick a goal and we suggest the settings. It takes a minute, and everything can be changed later under Extras.
TgWitness signs the saved files. Telegram does not certify them. Export details explain what was collected and what is missing.
Journal
Captured messages. Preserved changes. One record.
Overview
Messages observed0Live messages + history snapshots
Edits recorded0Observed versions, preserved
Deletion notices0Scoped Telegram notifications
Selected sources0Ready for observation
Event timeline
Event / observation
Source
Observed
Open
No observations here yet
Connect an account, choose your sources, then start observation.
Sources
Choose the conversations to record and what to keep.
Read the chats and folders available to this account. This refreshes the list; it does not download messages.
Not refreshed in this session.
Chats in scope
Source
Type
Status
Priority
Actions
Available chats
Full history
Bring past messages into this workspace
Pause observation before loading history. New live changes are not recorded while history is loading; later reads cannot recover every deletion or intermediate edit.
Details
Load the available history of every enabled source into Chats and the signed journal. Progress survives a restart. Attachments follow your media settings. Past deletions and edits are only available when Telegram returns them in Recent Actions.
For a separate archive of the account's current history, use Exports → Telegram account. This run only loads the enabled sources listed at its start.
Use Export evidence to hand over the journal and saved attachments. Finishing history reads does not mean every attachment was downloaded.
Pseudo-secret
Telegram end-to-end chats of this account, kept in the journal
Telegram keeps these chats on one device only. TgWitness takes part with this account's own authorization and records every message, timer, file and deletion notice in the signed journal, also after the other side deletes them. It never sends read receipts, typing or screenshot notices.
An accepted chat moves to TgWitness: this account's other devices, such as the phone, do not get it. Without this option a request waits here for your decision. While pseudo-secret is on, the account stays connected so messages arrive.
The other side sees the request and must accept it on their device. Starting a chat and sending are actions of this account and are recorded.
Export records
Choose a fresh Telegram snapshot or the observations already saved here.
Compare collection methods
Saved observations
Export saved records without reading Telegram. Observation can keep running.
Full history
Read past messages into this workspace. Pause observation first; new live changes are not recorded during history loading.
Telegram account
Download selected chats into a separate archive. Pause observation on this account first.
Live observation
Keep new messages and changes delivered while observation is running. Start it from Sources.
Trusted Live
Use an official Desktop or Web session with video or native JSON. Setup and hybrid comparison require manual steps. Preview.
Collection uses the connection configured for the selected account or recorder.
TELEGRAM ACCOUNT SNAPSHOT
Export this account
Save the chats this account can read, including Saved Messages and archived chats, with optional media and account data. TgWitness signs this archive; Telegram does not. This reads Telegram now and cannot reconstruct deleted messages or past edits.
Account export jobsJobs remain available after a restart. A finished archive can be downloaded again until you delete it.
Review before handoff
Open the outer ZIP with your password first. Send the password through a separate channel.
For the signed ZIP, the readable report, the handover extract and chat exports below. Case details and contents: Report settings.
Readable report
Choose chats, authors and dates. Review activity, saved changes and missing message IDs before downloading.
The sealed report on its own: HTML to read, PDF to print and file, JSON for case systems and scripts. Each file carries its own signature.
Downloads use your saved report choices. Save changes in Build report before downloading.
Signed archive
Journal, report, attachments and verification tools.
Includes all sources through a fixed journal boundary, regardless of filters. Streaming export · ZIP limit: 4 GiB uncompressed unless changed in Parameters.
Other formats & capture tools
GitHub Actions capture (preview)
A fresh Telegram login, selected chats or account data, an encrypted archive and GitHub provenance.
Data minimisation
Handover extract for a court, lawyer or abuse desk
Only the chats, period and people the recipient needs. Everyone else can be shown, pseudonymised or left out; text, files and profile photos have their own switches. The purpose and the rules are signed into the extract and recorded in the journal.
Encryption wraps the unchanged signed file. The password is not stored; without it the file cannot be opened.
Capture or export one chat
Prepared exports
Prepared files stay on this machine for repeat downloads: up to 20 files within 2 GiB, plus the latest file. SHA-256 identifies the exact file. Preparation does not prove delivery.
Retain this fingerprint and signed checkpoints outside the collector. A self-contained archive can verify its internal consistency; independently retained records help detect replacement or truncation.
Acquisition process receipt
The signed journal records program hashes, dependency versions, starting scope, account, settings, run identifier, and periodic heartbeats. Local checkpoints are saved at startup, every five minutes while observing (changeable in Parameters), and on orderly stop.
This is a collector-signed process record. It is not independent attestation or a trusted timestamp. Copy checkpoints to a separately controlled location for a stronger chain of custody.
External time anchoring
Prepare an RFC 3161 request for a signed checkpoint. Submit it to a timestamp authority you trust, then verify its response against independently obtained CA certificates.
No external service is contacted by this button. A prepared request is not a timestamp proof. The package includes instructions for checking a TSA response with OpenSSL.
Clear boundaries make stronger evidence
Message edits
Versions are preserved when received. Intermediate changes during downtime may be missing. The sender is not necessarily the editor.
Deletions
Earlier captured content remains. Telegram usually does not supply the deleter or exact deletion time. Unscoped notices remain account-level observations.
Reactions & membership
Counts, recent reactors, service messages, and participant updates are recorded when delivered. These are not guaranteed complete lists.
Coverage & time
Collector starts, stops, detected disconnects, and heartbeats are recorded. Brief outages can escape detection. Times depend on the collector's clock.
Integrity & authenticity
Signatures bind saved bytes to this collector's key. They do not establish Telegram origin, truthfulness, trusted time, or protection from an operator controlling the signing key.
EVIDENCE MODE
Evidence that holds up.
Timestamps show the journal existed at a given time; an off-site copy keeps it if this machine is lost or seized.
NOTIFICATIONS
Know when something happens.
Choose a service, fill in one or two fields and send a test.
24/7 SERVER
Keep collecting when your computer is off.
Choose where the workspace runs. You own the cloud account and pay the provider directly. The panel opens through an HTTPS tunnel.
CONFIDENTIAL COMPUTING · PHALA CLOUD
Check the environment that collected the record
Intel TDX isolates the virtual machine's memory from the host. Hardware attestation lets the verifier compare its measured environment with the expected configuration and code.
Hardware attestationMeasured configurationEncrypted storageNo SSH in production
This adds a check on the collector's environment. It does not certify the truth of a message. Deployment, verification and the sealed attestation certificate have run on Phala Cloud itself.
This panel is reached over a network, so it does not take cloud tokens. Create servers from TgWitness on your own computer, or run the commands below.
3
Creating the server
Keep TgWitness running on this computer until the end. Closing this tab does not stop the task.
Technical log
Your serversCommand line · any provider
Run these in a terminal on your own computer, with TgWitness installed. Provider and Cloudflare tokens are read from files there.
Optional · your account and sources are enough to start collecting.
OPT-IN RECORDERS
Independent capture
Record a separate browser session or preserve AyuGram database snapshots with their own signing keys.
Separate recorders · manual login · video optional
YOUR STORAGE
Storage & disk space
Back up the workspace, move older files to your cloud, or retain an immutable evidence copy.
No goal chosen
Goal & protection level
Four short questions: we suggest settings for your goal and show how far the record can be trusted.
Off
Notifications
Problems, deleted and edited messages and a daily summary in Telegram, Discord, email or another service.
A bot, a webhook or a mailbox
Off
Evidence & backups
Anchor checkpoints and keep an encrypted off-site copy of the journal and files.
Timestamps work at once · the copy needs S3 storage
Off
Server 24/7
Collect around the clock on a cloud server without SSH, with a provider log anyone can check.
Hetzner, DigitalOcean, Linode, Vultr, AWS or your own server + Cloudflare
Not checked
Independent witness
Publish signed checks to your Telegram channel or Discord. A separate witness checks continuity without reading conversations.
Your bot + a channel + a witness host
Not checked
Code check
Compare the running program with a public Git commit and retain the result.
A public GitHub repository · no token
Only the option you choose opens its settings. Nothing is connected automatically.
SEPARATE SESSIONS · SEPARATE KEYS
Independent capture
Connect recorders you control. Sign in to each client manually, then start capture. Pause before entering passwords or login codes.
Both connections start disabled. Closing this panel does not stop a recorder. Each recorder starts paused after a restart.
Set up recorders and understand the evidence
Deploy the optional containers first, then copy each recorder's control token and key fingerprint into its connection settings. These control requests use the address you supply directly; the recorder's collection proxy is configured separately.
Browser capture saves screenshots, MHTML and extracted text on detected changes and at intervals. It can miss changes between observations. AyuGram capture preserves a local SQLite database; it does not yet interpret message edits or deletions. Video is optional and starts only with capture enabled.
The panel verifies signed checkpoints and original ZIP exports against the pinned recorder key. This detects changed exported bytes; it does not authenticate a website's claims or provide an independent timestamp. Keep checkpoints or witness receipts on a separate host.
Choose a purpose first, then your own destination. Nothing uploads until you save the settings or start a copy.
Enable Object Lock in the bucket first. Compliance mode cannot be shortened by the bucket owner; Governance can be bypassed by an authorized administrator. Choose 30 days or your required period below. Storage billing rules are separate from this protection.
GOAL & PROTECTION
Settings for what you need.
Answer four short questions. We suggest settings, say what each one adds and show it on two scales. Nothing changes until you apply.
TELEGRAM BOT
Your bot, in three steps.
A separate witness checks the journal and your bot publishes the result.
1
Give the witness read-only access
Create an access token for this account. It cannot read conversations or control collection.
Save this token; it is shown only once.
Existing connections
2
Choose where to publish
Create your bot with @BotFather and allow it to post in your channel.
3Start it on the witness host
The saved configuration is a setup file. Run it on the witness host to begin checks and publication.
On the witness host, save the read-only token in witness-token.txt. For Telegram, save the BotFather token in bot-token.txt; for Discord, the webhook URL in discord-webhook.txt. Keep these files next to witness.json. Publishing credentials stay on the witness host.
Keep the witness key fingerprint separately. Confirm the first signed post in your channel; a downloaded file does not mean the bot is running.
What does the bot actually prove?
Collector signs a checkpoint→Witness verifies and signs→Bot publishes to your channel
Run the witness on another host, ideally with another operator. Its bot token and signing key stay there. The bot is the publisher; the separate witness process performs verification.
Deployment and verification commands
You need a Telegram bot (create one with @BotFather) that is an administrator of a channel, and this panel's address reachable from the witness — over HTTPS outside a private network. Any Telegram account can watch the channel; its posts carry Telegram's own times.
Docker, next to this collector
On another server
Check it later
A running witness records missing or invalid collector answers. Verification compares retained checkpoints with the full export and detects missing or invalid signed posts in a channel export. Witness downtime and posting failures leave intervals without external anchors; signatures do not prove complete Telegram delivery.
Witness options
How often it checks, how long it waits, which checks it posts (all, only a new head or a problem, only problems) and the words of its posts are options of the witness itself: on its command line, in its environment or in a JSON file given with --config. Wording never affects verification: verify.py checks the signed token at the end of every post.
CODE CHECK
Does this installation match the published code?
Compare your installed program files with a version on GitHub. This helps you notice local changes and lets a recipient identify the version used for collection.
1. Choose a version
The official repository is filled in. Use the release you installed, or a specific commit from your own fork.
2. Compare the files
TgWitness downloads that source version and compares file hashes. Your chats and credentials are not uploaded.
3. Keep the result
The signed journal records matches and differences. Recheck after updates. A match identifies code; it is not hardware attestation.
Parameters
Limits and pace of collection, rechecks, downloads, people profiles, notifications and exports for this workspace. Each change applies from the next use of the value and is recorded in the signed journal.
More options
No parameters match these filters.
Connection route
Connection route
How this account reaches Telegram
Choose a route, check it, then apply. Your saved connection keeps working while you prepare.
1. Choose a route
Current connection
Not checked yet
Workspace
Add account
Demo
Sample workspace
Try TgWitness with your account
Stop the demo with Ctrl+C, then run from your project folder:
python start.py
On Windows, you can double-click Start.cmd instead. Open the panel address printed in the terminal.
On by default for imported sessions. Turning it on cancels queued actions. Their pace is set in Parameters.
Sign-in and removal
This session was imported. Signing out would end it in Telegram for good, so it is disabled. Forget on this computer removes it here and leaves it active in Telegram.
What Telegram sees
Connection settings
Connection route
Direct connection
Choose a route before signing in.
Change connection route
Pause observation to change the route. Until then, observation keeps using the current one.
Public MTProxy lists
Choose a proxy, save it and test the Telegram connection before signing in. Your own proxy can be entered below.
Where the list comes from
Only compatible public addresses are included. Fake TLS ee entries are skipped. A listed server has not necessarily been tested from your network.
Proxy servers
Automatic MTProxy
Every server the automatic route can use: whether it answers, how fast, its country and list. A workspace keeps its server while it works and moves to the next one when it fails.
Country
Server
Ping
Status
List
Used by
Action
Lists and sources
Bundled lists
Public lists maintained on GitHub. Switch off the ones you do not trust.
Your lists
Add a list address, upload files or paste links. Lists are read for tg://proxy and t.me/proxy links anywhere in the text.
Paste links
GitHub
With a token, downloads from GitHub are authenticated and TgWitness can search GitHub for newly published MTProxy lists whenever the lists update. The token is kept encrypted and is sent only to GitHub.
Countries
Servers in preferred countries are tried first. Servers identified as being in avoided countries are excluded. Servers whose country is unknown remain eligible unless "Use only servers in preferred countries" is selected. A workspace keeps a working server; the choice applies when it picks the next one.
Country lookups ask a public GeoIP service about the server addresses only, through the same route as list downloads.
Without this, other countries serve when no preferred server answers. A server whose country is not known yet counts as another country.
Storage protection
Use an encrypted disk or volume for message content, attachments, temporary exports and backups. Signatures detect changes; they do not hide content. A proxy routes Telegram traffic and does not protect the web panel.
Workspaces · add or switch accounts
Add as many workspaces as you need. Use a distinct Telegram account per workspace: the same session in two places makes Telegram revoke it (AUTH_KEY_DUPLICATED).
Accounts
Isolated workspaces — add as many as you need. Each has its own session, sources, journal and signing key, and runs its own collector. Several accounts can export one chat together.
Bulk import
Import many accounts at once
Each account gets its own workspace, signing key and proxy. Files with the same name form one account, for example name.session with name.json. A session that does not sign in is not kept.
Check sessions only reads each account's profile and settings: it signs nothing out, resets nothing and joins nothing. Only live sessions are imported. Spam blocks are not checked, because that needs a message to @SpamBot.
WorkspaceStatusRoute and exit addressSourcesEventsQueueActions
No matching workspaces.
Groups and shared settings
Ask the archive
Search saved observations, review the sources, then choose whether to use AI.
These limits apply to your own sign-ins with the panel token.
Administrator key
Replace a lost or exposed panel token. All current browser sessions end; issued access tokens remain valid.
Save it in your password manager. This browser has a new session; every previous session has ended.
System log
Activity since this process started: connections, proxy changes, sign-ins, refusals and settings changes across workspaces. Messages remain in the journal.
IP addresses are hidden in this view. Local service logs and signed journal records are unchanged.