Chat Exporter

Your first export

  1. Install the app. Open this site in Safari, tap Share, then Add to Home Screen. From then on, always open the installed app: a Safari tab and the installed app have separate storage, and iOS can delete tab storage after 7 days.
  2. Get credentials. Follow the api_id guide.
  3. Set a vault passphrase in the exporter, then sign in with api_id, api_hash, phone number, the code from your Telegram app, and your two factor password if asked.
  4. Start small. Pick one small chat for the first run. Leave the defaults: full history, all media types, result.json on.
  5. Use Estimate to see the rough message count, size and time before creating the job. Estimates are labelled as estimates; they are not exact.
  6. Run plugged in, screen on. Exports only run in the foreground. If the page is closed or the screen locks, the run pauses and resumes from its checkpoint: tap Run again on the job.
  7. Save every ZIP part. When a chat finishes, tap each Save button and choose Save to Files or iCloud Drive.
  8. Read it in the viewer. Open the ZIP in the archive viewer to search it.
  9. Later, update instead of re-exporting. Create a new job for the same chat with mode set to "Only new since last export". Only newer messages are fetched and merged into the archive, with a run note saying what changed.
  10. When finished for good: log out and wipe in the app, then terminate the session in Telegram under Settings, Devices.