Skip to content

Import Twitter/X Archive

  1. Request your archive from Twitter and unzip it.
  2. Locate data/tweets.js and remove the JavaScript assignment to get pure JSON.
Terminal window
otso import twitter --archive ~/Downloads/twitter
  • Tweets → note
  • Retweets → repost
  • Favorites → like
  • Media URLs are resolved and downloaded.

If using the API, supply TWITTER_BEARER_TOKEN. Otso respects rate limit headers and retries with backoff.