Skip to content

What is tweets.js in your X archive?

tweets.js (tweet.js in older archives) holds every post, reply and repost you made that has not been deleted. Each entry is a full post object with its text, creation date, like and repost counts, and reply and link details.

Open your tweets.js without writing code

The free X Archive Viewer reads it straight from the ZIP in your browser and exports CSV or Markdown. Nothing is uploaded.

Open the viewer

Fields in tweets.js

FieldWhat it means
id_strID of your post.
full_textText of the post.
created_atWhen you posted it, in the form "Wed Oct 10 20:19:24 +0000 2018".
favorite_countLikes the post had at export time.
retweet_countReposts the post had at export time.
edit_infoFor edited posts: the initial post ID and the IDs of each edit.

The README points to X's API documentation for the full post object; these are the fields most people need. Each entry is wrapped as { "tweet": { ... } }.

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.