Click on "Your account" and then select "Download an archive of your data" .

Once extracted, your folder will contain several files. The most important for creating a report are the Your archive.html file and the data folder. How to Download and Use Your Twitter Archive

Go to twitter.com or x.com on a desktop web browser.

Re-enter your password and complete the two-factor authentication (if prompted). Click "Request archive" .

Once notified, go back to the "Download an archive of your data" page and click "Download archive" .