Skip to content

Glossary

Format convert

Transform existing Session ↔ tdata without Telegram login.

StringSession

Telethon session string, usually one line. Upload as text or paste on the page.

tdata

The directory Telegram Desktop uses for local login state — sensitive, equivalent to Session.

Valid tdata folder

Must contain key_datas and/or files starting with D877F783D5 (Desktop account mapping).

Empty folders or configs without these markers cannot convert to Session.

ZIP upload detection

Before full extraction, the server reads the ZIP central directory for:

  • Path segments tdata/ (e.g. tdata/key_datas, 8613988881111/tdata/…), or
  • Any file named key_datas

Then it extracts and locates the tdata folder (root, nested, or inside export account folders).

Session → tdata output

tdata/
├── key_datas
└── D877F783D5…

Output ZIP contains tdata/ only — no session.txt or account.json (those are from Session Export, not convert).

Telegram Desktop

  • tdata → Session: Desktop backup → StringSession
  • Session → tdata: StringSession → Desktop-compatible folder

This tool does not run or modify Telegram Desktop; import is done on your machine.

Common tdata issues

MessageMeaning
No tdata in ZIPMissing tdata/ paths and key_datas — repack per How to Use
No valid tdata directoryNo folder with valid markers after extract
Invalid tdataCorrupt/incomplete backup or version mismatch
Session invalid for tdataSession revoked — need new login/export
Desktop won’t login after importVersion/path issue — backup and check Desktop docs

From Session Export

Upload the full export ZIP (has …/tdata/) or paste session.txt — both work for tdata → Session.

Auto detection (direction=auto)

ContentDirection
UTF-8 text (non-ZIP)Session → tdata
ZIP (PK)tdata → Session

File names are ignored.

Output files

DirectionFileType
Session → tdataconverted_tdata.zipZIP
tdata → Sessionconverted_session.txttext

Quota

Shared with Session Export. Success deducts 1 use. Auth code & quota