guide

Telegram Session, JSON and TData Explained

When you buy old Telegram accounts, you do not receive a password typed into an app, you receive files. The three names you will see are Session, JSON and TData, usually bundled together. Knowing what each one is turns a confusing folder into something you can actually use.

The short version

  • TData is Telegram Desktop's own login folder. Drop it in place and the desktop app opens already logged in.
  • Session (a .session file) is what automation libraries such as Telethon use to connect without logging in again.
  • JSON is a small text file with the account's metadata, app id, device model, and other details that keep a login looking consistent.

Delivered together as Session + JSON + TData, one package covers both manual desktop use and scripted use.

TData, for Telegram Desktop

TData is a folder the official Telegram Desktop client keeps inside its own directory. It holds the authorised session for that machine. If you place a supplied tdata folder where Telegram Desktop expects it and launch the app, you are logged straight in, no code, no SMS.

This is the simplest way to use a bought account by hand. It is also why you should treat the folder as a live credential: anyone with the tdata is logged in as that account.

Session files, for automation

A .session file is an SQLite database holding an authorised connection for a library like Telethon or Pyrogram. Point your script at the session file and it connects as that account without a fresh login. This is the format you want for multi-account workflows, bots and any scripted task.

# Telethon, using a supplied .session file
from telethon import TelegramClient
client = TelegramClient("account1", api_id, api_hash)
client.start()

JSON, the metadata

The JSON file carries the details that make a session look like the device it was created on: the API id and hash, device model, app version, system language and so on. Automation tools read it so your connection matches the account's original fingerprint instead of announcing a brand-new device. Keep it paired with its session.

Using them safely

The format is powerful, which means a few habits matter:

  1. One account, one identity. Keep each account on its own clean, consistent proxy. Mixing many sessions through one raw IP is the fastest way to get them all flagged.
  2. Change the password on first use. On a bought account, set your own 2FA/cloud password so only you hold it going forward.
  3. Do not share the files. Whoever holds the TData or session is logged in. Store them like passwords.
  4. Warm up before load. Age gives headroom, not immunity, ramp activity rather than blasting on day one.

Which format should I use?

You want to... Use
Log in by hand on desktop TData
Run scripts / bots Session (+ JSON)
Keep options open All three together

Because every tier here ships as Session + JSON + TData, you are never locked into one path.

Frequently Asked Questions

What is the difference between a session file and TData?

A session file is for automation libraries like Telethon; TData is the login folder for Telegram Desktop. They authorise the same account for different tools, which is why they are delivered together.

Can I convert TData to a session file?

Yes, there are open tools that convert between TData and .session. Because every account here already ships with both, plus the JSON, you usually do not need to.

Is it safe to log into a bought account with TData?

Yes, with care. Treat the folder as a credential, use a clean proxy, and change the account password on first login so you control it afterwards.

Do I need the JSON file?

For manual desktop use, not really. For automation it helps your connection match the account's original device fingerprint, so keep it paired with the session.

Need old Telegram accounts?

Six age tiers from 1 month+ to 8 years+, all phone verified and delivered as Session + JSON + TData. Message the order desk with the tier and quantity and we confirm stock and price before you pay.

Order on Telegram