In the top menu, tap your profile icon, then tap Settings and privacy.
Under Data and permissions, tap Your X data.
Verify your identity by tapping Send code to your email address and/or phone number on file. If you do not have an email address or phone number on file, you will be redirected to the Account information page.
Enter the code sent to your email address and/or phone number.
After verifying your identity, under Download your data and next to X, tap Request data.
When your download is ready, we'll send an email to your connected email account or a push notification if you have the app installed. From your settings, you can tap Download archive under the Download your data section.
We’ll also send you an email with a download link to the confirmed email address associated with your X account.
Once you receive the email, click the Download button while logged in to your X account and download a .zip file of your X archive.