Skip to content

Introduction

Session / TData Format Convert converts between StringSession text and tdata ZIPno Telegram login.

Fully offline on the server

Conversion runs locally on the server (reading/writing auth keys in Session/tdata files). It does not connect to Telegram servers. Because there is no Telegram interaction—format conversion only—the tool does not detect dead/revoked sessions. Conversion may succeed even if the account is logged out or banned; success does not mean the credential still works. Verify in your own client.

Visit: session.xiaomutou.topFormat Convert tab

What it does

InputOutput
Session text (file or paste)tdata ZIP (contains tdata/ folder)
ZIP with tdataSession text file

Detection is content-based, not by file name.

About TData

TData is the folder Telegram Desktop uses to store local login state — a set of key and mapping files, not a single “.tdata file”. This tool converts a Desktop-compatible tdata directory, not arbitrary Telegram install data.

What’s inside a valid tdata folder

A valid tdata directory has at least one of:

MarkerDescription
key_datasCommon key file inside the tdata folder
Files starting with D877F783D5…Desktop account mapping files (fixed prefix, suffix varies)

After Session → tdata, the downloaded ZIP looks like:

converted_tdata.zip
└── tdata/
    ├── key_datas
    ├── D877F783D5D3EF8C…   (example)
    └── …

Extract tdata/ for Telegram Desktop import (backup your existing data first).

How to pack tdata for upload

Upload a ZIP to run tdata → Session. Name does not matter. Supported layouts:

Pack styleExample paths inside ZIPSupported
Zip the tdata folder onlytdata/key_datasYes
Zip Session Export account folder8613988881111/tdata/key_datasYes (server finds tdata recursively)
Nested tdata anywherebackup/xxx/tdata/…Yes
Folder with key_datas but not named tdatasome_folder/key_datasYes (marker-based lookup)

Do not upload: password-protected ZIP, ZIP without tdata/key_datas, corrupt/empty ZIP, or files over the size limit (default 20MB).

vs Session Export ZIP

Session Export ZIPConvert Session → tdata
Contentssession.txt + account.json + tdata/tdata/ only
SourceOnline Telegram loginExisting StringSession

You can upload a full export ZIP for tdata → Session, or paste session.txt instead.

Format conversion vs account validity

  • No dead-session check — revoked, banned, or logged-out credentials may still convert if the file structure is valid
  • Success ≠ still loggable — verify in Telegram Desktop / Telethon yourself
  • Failures are format/structure issues only (corrupt tdata, missing ZIP paths, invalid StringSession syntax)—not live/dead detection

The tool does not log into Telegram or repair revoked sessions.

Key features

  • Bidirectional Session ↔ tdata
  • No phone / QR login
  • Server stays offline — no connections to Telegram during conversion
  • No dead-session check — format-only; success does not guarantee a working login
  • Shared auth code with Session Export

Workflow

  1. Site sign-in
  2. Upload or paste → Start conversion → download

See How to Use.