Search
Social Media

How to Download Your X (Twitter) Archive and What You'll Find Inside

Published 2 min readBy Programming4us Editorial Team

Whether you’re closing your account, wishing to back up your data, or are simply interested in seeing what X holds about you, you can officially download a data archive. Requesting it usually only takes a couple of minutes, and it arrives as a ZIP file.

Instructions – website

  1. In the left-hand menu, select More, then Settings and privacy.
  2. Click on Your account.
  3. Click Download an archive of your data.
  4. Enter your password and the verification code that X sends to your phone or email.
  5. Click Request archive.

Instructions – app

  1. Tap your profile picture, then Settings and privacy.
  2. Select Your account and Download an archive of your data.
  3. Enter your password and press Request archive.

Depending on which app version you are using, the option may appear under ‘Your account’ as ‘Your X data’. This will also allow you to request an archive.

Awaiting your archive

Requesting does not download anything straight away: X creates the archive in the background. You’ll then receive an email and an in-app alert informing you that it has been completed. This is usually within around 24 hours. Once you have received this, visit the same settings page and click Download archive. However, the link only remains active for a few days, so please don’t delay in doing this.

Prior to requesting an archive please ensure that the email address associated with your account is up-to-date as this is where the alert will be sent.

Archive contents

Within the archive are HTML and JSON files. You can view the HTML file (called Your archive.html) in a browser on a computer. Generally the archive will include:

  • All of your posts and replies, starting with the first one.
  • Media that you have included (for example, images, video and GIFs).
  • Private messages and the media they contain.
  • Followers and following, lists and blocks.
  • Personal information including email, phone number, sign-in history and linked applications.
  • Information relating to your interests that X uses to serve relevant advertising.

If you wish to search past posts or transfer them to a different application, then it is the JSON files which are of most benefit.

Prior to account closure

Always request and download an archive first. Unfortunately, X is unable to send an archive to a deactivated account. Following deactivation, you have 30 days during which you can elect to re-activate your account. If you do not do so within this time, both your account and data will be permanently deleted.

Secure storage

As well as containing private communications, your archive also includes personal information. Therefore, it should be saved securely – either on an encrypted hard drive or in a password protected area. Furthermore, avoid uploading it to untrusted ‘Twitter analyzer’ sites.

Frequently asked questions

How long does it take to get my X archive?

X prepares the archive in the background and sends an email and in-app notification when it's ready. For most accounts this takes up to about a day; very large accounts can take longer.

Can I download the archive after deactivating my account?

No. X can't deliver the archive to a deactivated account, so request it and download the file before you deactivate or delete.

What format is the X archive in?

A ZIP file with HTML and JSON files. Open the file called "Your archive" in a desktop browser to browse it, or use the JSON files for analysis.