X Archive Viewer
Open the ZIP X sends you and read every post you liked, bookmarked or wrote. Filter by words and export to CSV or Markdown. Free, no sign-up, and your archive never leaves your browser.
Runs in your browser. Your archive is never uploaded.
What is in your X archive?
The archive is a ZIP of JavaScript files, one per kind of data, plus your photos and videos. Each data file is a JSON array wrapped in a line like window.YTD.like.part0 =, which is why a spreadsheet or JSON tool will not open it directly. The viewer reads three of them:
| File | What it holds | In the viewer |
|---|---|---|
| like.js | Every post you ever liked: its ID and full text. No author, no date you liked it. | Likes tab, with the publish date decoded from each post ID |
| bookmark.js | Your bookmarks. Recent archives usually store only the post ID, not the text. | Bookmarks tab, with a link to open each one on X |
| tweets.js (tweet.js in older archives) | Your own posts, replies and reposts, with dates and like and repost counts. | My posts tab |
Large archives split likes into numbered files (like-part0.js, like-part1.js and so on). The viewer merges them in order. For the rest of the archive, see every X archive file explained or how to use your X archive JSON files.
Questions
Is my archive uploaded anywhere?
No. The viewer reads the ZIP inside your browser tab and never sends its contents to a server. Close the tab and nothing is kept.
How do I get my X archive?
On X, open Settings and privacy, then Your account, then Download an archive of your data. X emails a download link, usually within about 24 hours and sometimes up to 72. The link stays valid for about a week.
Does the X archive include my liked posts?
Yes. Every archive has a like.js file in its data folder listing every post you liked, with its ID, text and link. Very long histories are split into like-part1.js, like-part2.js and so on.
How do I open a .js file from my X archive?
The files in the data folder are JSON with one line of JavaScript in front (window.YTD.like.part0 = ), so a text editor shows them as a wall of text and spreadsheet apps cannot read them. Drop the ZIP or the .js file on this page to read it as a list and export it to CSV or Markdown.
Can I convert like.js to CSV?
Yes. Open your archive here, pick the Likes tab and press CSV. The file has one row per liked post with its ID, link, publish date and text, and opens in Excel, Google Sheets or Numbers.
Why don't my likes show who wrote them?
The archive does not record the author of a liked post or the date you liked it, only the post ID and text. The date shown is when the post was published, which X has encoded in every post ID since late 2010. Older posts show no date.
Why do my bookmarks have no text?
Recent archives usually store bookmarks as post IDs without text. The viewer still lists them with a link that opens each post on X, as long as it has not been deleted.
My archive is several GB. Will this work?
Photos and videos are never read, but your browser still has to open the whole ZIP, so a very large one can fail. If yours does, unzip it and pick like.js, bookmark.js and tweets.js from its data folder instead. Those files are small.
Still waiting for your archive? The export guide walks through the request step by step, and this post covers what the archive does and does not keep for bookmarks.