WEIR

Free tool

Twitter archive viewer and CSV converter

Open the archive X emails you, or the tweets.js file inside it. Search every post, then save them as a CSV for Excel or Google Sheets. The file never leaves your browser.

How to open your Twitter archive

  1. Request it on X under Settings and privacy, then Account, then Your X data. Verify with the code X sends, then request your data. X’s help page has the current steps.
  2. X sends an email or a notification when it’s ready. Download the ZIP.
  3. Drop the ZIP on the box above. You don’t need to unzip it.

Why tweets.js won’t open in Excel

The archive keeps your posts in data/tweets.js. It’s JSON data behind one line of JavaScript, window.YTD.tweets.part0 =, so a spreadsheet or text editor shows a wall of code. This viewer drops that line, reads every post, and writes one row per post. Big accounts get extra files, tweets-part1.js and up, and it reads them all from the ZIP.

What’s in the CSV

X gives you an archive of your own account only. For another account’s public posts, see how to download all tweets from a user. To read the exact time from any post id, use the tweet ID to date converter.

Questions

Is my archive uploaded anywhere?

No. The page reads the file in your browser, and nothing is sent to Weir or anyone else. Once the page has loaded, it works with your internet turned off.

How do I open a Twitter archive JavaScript file?

Drop data/tweets.js on the box above. The file is JSON behind one line of JavaScript, which is why it opens as a wall of code. The viewer reads it, lists your posts, and saves them as a CSV.

Which archive files does it read?

Only the posts files (tweets.js, or tweet.js in older archives, plus tweets-part1.js and up for big accounts) and account.js for your username. It skips media, messages and everything else.

Why do some cells start with an apostrophe?

Spreadsheet apps run a cell that starts with =, +, - or @ as a formula. Replies start with @, so the CSV adds an apostrophe to keep them as plain text.

Why does Excel show the id as 1.85E+18?

Excel rounds numbers longer than 15 digits. Use the url column, which keeps the full id, or import the id column as text.