Skip to content

What is tweet-headers.js in your X archive?

tweet-headers.js is a slim index of your posts: one entry per post with its ID, your user ID and when it was created. It has no text. The full posts are in tweets.js.

How to open it

It is a text file in the archive’s data folder. Open it in any text editor; delete the first line’s window.YTD... = prefix and the rest is plain JSON any JSON tool can read. Our free viewer does not read this file yet; it covers likes, bookmarks and your own posts.

Fields in tweet-headers.js

FieldWhat it means
tweetIdID of the post.
userIdYour account ID.
createdAtWhen the post was created.

What it is useful for

What to watch out for

Related files

Field names come from the README.txt X includes in every archive. X changes the archive from time to time, so check the README in your own download if something differs. See every file in the archive.