Go to twitter.com or x.com on a desktop web browser.
Click on "Your account" and then select "Download an archive of your data" .
This report outlines the steps to download your official Twitter (X) archive data and how to process the resulting .7z (or similar, such as .zip ) file to create a report of your account activity.
Once notified, go back to the "Download an archive of your data" page and click "Download archive" .
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