To download your X (formerly Twitter) archive, go to Settings and privacy, then Account, then Your X data, verify it's you with a code sent to your email or phone, and tap Request data. X says it may take a few days to prepare; when it's ready you get an email or push notification and download a .zip file of your posts, media, Direct Messages and account information.
Why you might want your archive
I get asked about this a lot. People want a backup before they delete their account, or they want to check old tweets without scrolling for hours. Some just want proof of what they posted and when, or want to see what X has inferred about their interests.
The request is built into the platform, so you do not need any third party tools or browser extensions to get it.
Where to find the download option
You need to be logged in on a desktop browser or the mobile app. The option sits inside your account settings, not somewhere obvious like your profile page.
On desktop, click More in the left menu, then Settings and privacy. On mobile, tap your profile icon in the top menu, then Settings and privacy. From there you are looking for Account, and then Your X data, which sits under Data and permissions. Older guides still send you to "Your account" and "Download an archive of your data"; those labels have changed.
Step by step: requesting your archive
Once you are in Settings and privacy, follow these steps in order. It only takes a couple of minutes to set the request going.
- Go to Settings and privacy
- Tap Account
- Under Data and permissions, tap Your X data
- Tap Send code to your email address and/or phone number on file
- Enter the code X sends you
- Under Download your data, next to X, tap Request data
Those are the steps on X's own help page for downloading your archive. If you don't have an email address or phone number on file, X sends you to the Account information page instead of sending a code, so add one there first.
After that last step, you wait. X (formerly Twitter) will send an email to your connected email account, or a push notification if you have the app installed, when your file is ready.
How long it takes
This is not instant. In my experience it usually takes anywhere from a few hours to a couple of days, depending on how much data is attached to your account.
Accounts with years of tweets, lots of media, and a long follower history tend to take longer. If you have only had your account a short while, it should be quicker.
X's own guidance is more cautious: it says it may take a few days to prepare the download. So if a day passes with nothing, that's normal, and requesting again won't make it faster.
Two things decide whether the link works when it arrives. X says your email address must be confirmed before you request the archive, and you must be logged in to X in the same browser you use to download it. Get either wrong and the download fails, so confirm your email in Account information before you start, and open the email link in the browser where you're signed in.
Downloading the file once it is ready
When you get the email or notification, you have two routes. The quickest is to click the Download button in the email while you're logged in to your X account. The other is to go back to Settings and privacy, then Account, then Your X data, and tap Download archive under the Download your data section.
Either way you get a .zip file. Save it somewhere you will remember, because you may want to refer back to it later, and unzip it before you try to open anything inside.
What is inside the archive
The zip file contains a mix of data. There is an HTML file that lets you browse your own tweets in a format that looks a bit like the platform itself, which is handy if you just want to read through your history.
You will also find your account information, such as your username, display name, bio, and account creation date. For how X treats details like these, I've written up what it does with your personal ID data. There is data on your followers and who you follow, plus any direct messages if you have any saved.
Media you have posted, including photos and videos, is included as separate files. There are also JSON files behind the scenes that store the raw data, which developers or more technical users might want to dig into.
X's help page lists what it includes:
- your profile information
- your posts
- your Direct Messages
- your Moments
- your media: images, videos and GIFs attached to posts, Direct Messages or Moments
- a list of your followers and the accounts you follow
- your address book
- Lists you've created, are a member of or follow
- interest and demographic information X has inferred about you
- information about ads you've seen or engaged with on X
The last two are the ones worth opening. They show how X has profiled you for advertising, which you won't see anywhere in the app itself.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
I cannot tell you the exact folder structure will never change, because platforms update these things over time. But broadly, expect tweets, media, account details, and connection data as the core parts.
Read my guide to adding a link to your X bio before you post again. I've explained how to check who bookmarked your tweet and what X really shows you.
What you will not find in there
The archive does not include tweets from other people, even ones you have interacted with. It is your data, not a record of the whole platform.
X's help page doesn't say whether posts you deleted are included. It describes the archive as a snapshot of your X information, so if you deleted a tweet last year, don't count on finding it here, and never delete anything on the assumption the archive will bring it back.
I cannot confirm it captures every single interaction, like every like or every reply thread in full context, so do not treat it as a complete social history. Treat it as a solid personal backup instead.
If the archive won't come through
- No code arrives when you verify: X has no email or phone on file for you. Add one on the Account information page, then start again.
- No email after a few days: check your spam folder and check the email address on your account is confirmed. X names a confirmed email as a requirement, so fix that first.
- The Download button does nothing or asks you to log in: you're not signed in to X in that browser. Log in there, then click the link again.
- You can't find the file: look in your browser's downloads folder for a .zip and unzip it before opening.
I walk through how to fix X videos with no sound in another post.
What to do with it once you have it
Some people archive it and forget about it, which is fine if you just wanted peace of mind. If you're curious what else X keeps on you, whether Twitter has a watch history is a separate question. Others use the HTML file to browse old tweets before deciding what to delete.
If you are moving away from the platform or just want a personal record, this file is the closest thing to an official export you will get. Keep a copy somewhere safe, such as an external drive or a cloud folder you trust.
I would not rely on it as your only backup if the content really matters to you. Keep more than one copy, just as you would with any other important file.
If you build tools that read exports like these JSON files, the developers page explains how to write for the site.
Frequently asked questions
Why is my X archive not downloading?
X says your email address must be confirmed and you must be logged in to X in the same browser you download with. Preparation can also take a few days, so a missing email on day one isn't a fault.
Does the X archive include my DMs and ad data?
Yes. X lists your Direct Messages, Moments, Lists, followers, following, address book, the interests and demographics it has inferred about you, and the ads you've seen or engaged with.
Does the archive include deleted tweets?
X's help page doesn't say. It calls the archive a snapshot of your information, so don't rely on it to recover posts you deleted before you requested it.
What format is the X archive in?
A .zip file. Inside are HTML files you can browse in a web browser and JSON files, which X describes as machine-readable, for anyone who wants to process the data.
More X and Twitter fixes: the X help guide.
Run a business, a brand or a blog? I feature tools, products and expert guest posts for an audience of 15,000. See how it works


