App Logo
Social media Reduck MCP

Export X (Twitter) DMs to CSV, JSON or HTML (2026): 5 DM export tools compared

Reduck lets your AI agent read your X (Twitter) DMs and save them as CSV or JSON, with no archive to wait for.

Prompt template

List my X DM inbox, then read the full conversation with @handle and save every message as a CSV with the date, time, sender and text.

Short answer

Yes. X's official archive includes your DMs but can take a few days to prepare. Twitter Archive Parser (free, Python) and TweetArchive ($19) turn that archive into readable files. DM Export for X is a free Chrome extension that exports chats straight from x.com, media included. Reduck lets your AI agent read your X DMs in your own Chrome and save them as CSV or JSON, and search or summarize them too.

Who exports their X DMs

Founders, creators, recruiters and sales people keep deals, intros, leads and contacts in their X direct messages. They want them in a file: to keep a record, to search an old conversation, to load contacts into a CRM, or to leave X without losing them. The work is getting the messages out in a format you can use.

Why it's hard

  • The archive is slow and raw. X says the archive may take a few days to prepare, and the DMs come as one data file to parse.
  • The tools that read the archive need the archive first. Twitter Archive Parser needs Python; TweetArchive is $19 after a preview of 50 messages per conversation.
  • The browser holds only what X synced. DM Export for X says an export contains what X has synced to the browser, so for a full history you scroll up to the start of each chat first.
  • Encrypted chats need a passcode. X's newer chats ask for a 4-digit passcode on each new browser.

5 ways to export X DMs compared

As each tool's own page describes it, read on December 1, 2026. "Not stated" means we did not find it on their page.

Needs the X archive Encrypted chats Group DMs Photos and videos Formats Price
Reduck No, it reads x.com in your Chrome Yes, with your 4-digit passcode Yes No, text only CSV, JSON or any format your agent writes; it can also search and summarize There is a free tier
X archive It is the archive; it may take a few days Not stated Not stated Yes HTML and JSON Free
DM Export for X No, Chrome extension on x.com Yes Yes Those your browser has loaded HTML, JSON, text Free, open source
Twitter Archive Parser Yes, plus Python Not stated Yes Yes, embedded Markdown, HTML Free, open source
TweetArchive Yes, opened in your browser Not stated Yes Yes, in a ZIP CSV, JSON, offline HTML Free preview; $19 once

Where Reduck is weaker: it exports text only, with no photos or videos; it reads one conversation per call, so a full inbox takes many calls; and it runs only while your Chrome is open and signed in to X.

Which one to pick

  • You want everything X has, media included, and can wait: the X archive, then Twitter Archive Parser or TweetArchive to read it.
  • You want every chat now, with media, in one click: DM Export for X.
  • You want a spreadsheet of your DMs from the archive, with no code: TweetArchive.
  • You already work with Claude, ChatGPT or Cursor and want your agent to pull a conversation into a CSV, find a lost message or list every lead in your DMs: Reduck.

How Reduck does it

Reduck runs X in your own Chrome through the Reduck extension, where you are already signed in. It never receives your password.

  1. get_inbox lists your conversations in the order X shows them: name, handle, last message, time, unread, and the conversation_id.
  2. get_messages reads every message of one conversation, by handle or conversation_id: text, sender, sent or received, date and time.
  3. Your agent saves the messages as CSV or JSON, or does more with them: finds a message, lists the people who asked for a demo, or summarizes a long thread.
  4. For encrypted chats, give your agent your 4-digit passcode once, and it passes it as pin.

Reading changes nothing on X: no message is sent, deleted or marked as read by these scripts.

How to start

  1. Create a free account at reduck.ai.
  2. Install the Reduck extension in Chrome and pair it.
  3. Connect Reduck to your agent: docs.reduck.ai.
  4. Ask: "List my X DM inbox, then read the full conversation with {@handle} and save every message as a CSV with the date, time, sender and text."

Stay signed in to X in Chrome while it runs.

FAQ

Yes. X's own archive includes your Direct Messages; Twitter Archive Parser and TweetArchive turn that archive into readable files; DM Export for X is a free Chrome extension that exports chats from x.com; and with Reduck your AI agent reads your DMs and saves them as CSV or JSON. The table above compares them.
Yes. X says its archive may take a few days to prepare. DM Export for X and Reduck read your chats on x.com in your browser, so there is nothing to wait for.
Yes. If X asks for your 4-digit chat passcode, give it to your agent: get_inbox and get_messages take it as pin. DM Export for X also exports encrypted chats.
Yes. get_inbox returns each group's conversation_id, and get_messages reads the group with it. In a group, the sender's handle can be missing on some messages.
No. Reduck returns the text of each message with its date, time, sender and direction. For media, use DM Export for X or the X archive.
No. get_inbox and get_messages only read. No message is sent, deleted or marked as read by them.
We cannot promise it never will. Reduck reads your DMs in your own Chrome, where you are already signed in, at the pace your agent asks, and never sends a message. X's terms restrict automated access, so read a few conversations at a time.

Similar use cases

Discord

Export your Discord DMs

Let Claude, ChatGPT or any AI agent read your Discord direct messages, one-to-one and group, and save the whole conversation, your messages and the other person's, with the author, time and text of each, to a file you keep. It runs in your own signed-in Chrome, with no user token to paste.

Messaging
Discord

Search Discord with AI

Ask ChatGPT or Claude what was said in your Discord servers and DMs. Every way to do it, compared, and one that reads both as you, with no bot and no token.

Messaging
X (Twitter)

X API alternative

The X API bills every post read and every post created. Let your agent read accounts, search and post from your own signed-in X instead, with no developer app and no credits.

Social media

Start building not clicking