# Convertir X en Markdown : posts et fils

Convertir X en Markdown permet de copier ou télécharger posts, fils et profils pour ChatGPT, Claude et Obsidian, avec 1 conversion gratuite par jour.

Page: https://twitterviewer.app/fr/x-to-markdown

X to Markdown turns an X post, a whole thread or a profile's recent posts into clean Markdown text. You paste a link, pick what you want, and get a document you can drop into ChatGPT, Claude or Gemini, save in Obsidian or Notion, or keep as a plain `.md` file. TwitterViewer runs the conversion on a public post link, so there is nothing to install and no X login to hand over.

This guide explains what the converter returns, how to convert a tweet to Markdown with the right scope and format, how the Obsidian output differs, how to hand a Twitter thread to Markdown-hungry AI tools, what is and is not included, and what a conversion costs.

## What X to Markdown does

An X to Markdown converter reads a public post from X, collects the posts around it, and writes them out as Markdown: headings for each post, the text with real links, images as image links, quoted posts as block quotes, and a source line that points back to the original. The result is plain text. It opens in any editor, pastes cleanly into a chat box, and survives being copied between apps, which a screenshot or a pasted web page does not.

On this page you paste a post link, a profile link or an `@handle`. Links from x.com, twitter.com and mobile.twitter.com all work, and so does a link to a TwitterViewer page. Paste a post from the middle of a thread and the page finds the author's whole run of posts for you. Press the button and the Markdown appears next to a preview of the original.

If you were searching for "twitter to markdown", "tweet to markdown" or "x to markdown", this is the same job under different names. X is the current name of Twitter, and both names are accepted in links and in the way people search for this.

## Why use an X to Markdown converter

Most AI assistants cannot open an X link. They either refuse, guess from the URL, or fetch a login wall. Pasting the text yourself works for one short post, but it falls apart for a thread of thirty posts with images, quoted posts and links that X has shortened. Markdown solves that in one step, because it keeps structure without adding noise.

Three jobs account for most conversions:

- **Feeding an AI assistant.** You give ChatGPT, Claude or Gemini the full thread and ask for a summary, a critique, a translation, a list of claims to check, or a draft that builds on it. The assistant sees every post in order, with the author and date, instead of a single clipped message.
- **Keeping research in your notes.** A thread you want to cite later is safer as a note than as a bookmark. Posts get deleted, accounts get renamed, and X removes content without notice. A Markdown copy in your vault stays put.
- **Reusing your own writing.** If you posted a long thread, converting it gives you a starting draft for a blog post, a newsletter or documentation, already split into numbered sections.

Any tool that reads text can use the result, which is why plain Markdown beats a custom export format.

## What the Markdown looks like

The X to Markdown converter follows one layout every time, so scripts and prompts can rely on it. The first line is a level-1 heading with the title. This is the shape of a short thread:

```markdown
# How to read a long thread without losing the plot

Thread by Example Author (@example)
Published 2026-10-01 · 3 posts
Source: https://x.com/example/status/1234567890

## About @example

Writes about tools and research
12,400 followers · 310 following · 4,200 posts

## 1/3

The first post, with its text and real links.

![Image: alt text from the author](https://pbs.twimg.com/media/abc.jpg?name=orig)

*Replies 12 · Reposts 40 · Likes 310 · Views 15,200*

[Post link](https://x.com/example/status/1234567890)

## 2/3
…
```

The title comes from the first line of the first post, cut at a word boundary after at most 60 characters. Under it sits a byline with the author, the publication date, the number of posts and the source link. An "About" block carries the author's bio, follower counts, website and join date when X provides them. Then each post gets its own numbered heading, such as `## 2/3`, so you can jump to it or refer to it in a prompt.

Inside a post, links are written as real addresses rather than shortened `t.co` links. Photos keep the author's alt text when there is one and point to the original-size file. Videos and GIFs become a link to the highest-quality MP4, because Markdown cannot play video. A quoted post appears as a block quote with the quoted author's handle and a link back to it. Mentions and hashtags link back to X.

## Choose scope, format and stats

The X to Markdown converter has three controls above the result. They change the output without changing the source, so you can try them in any order.

| Control | Options | What it does |
| --- | --- | --- |
| Scope | Whole thread, This post only, Thread + replies | Decides which posts are written out |
| Format | Markdown, Obsidian, Plain text | Decides how the text is marked up |
| Stats | All posts, First post only, None | Decides where likes, reposts and views appear |

Switching scope or format on a result you already fetched usually does not need a new request. The page works out a single post or the author's thread from data it already holds, and fetches again only when it needs something it does not have, such as the replies. Stats are the easiest to get wrong for AI use: leave them on **First post only** or **None** if you are pasting into a chat, because a number under every post adds tokens and little meaning.

## Twitter thread to Markdown: whole thread, one post or replies

A thread on X is a run of posts by one author, each replying to the last. A Twitter thread to Markdown conversion follows that chain in both directions. Start from the first post, the last, or anything in between, and **Whole thread** returns the author's posts in order. Posts by other people in the conversation are not part of the thread, so they are left out unless you ask for them.

**This post only** returns exactly the post you linked. Use it when you want one tweet with its media and stats, not the thread around it.

**Thread + replies** adds the first page of replies from other people below the author's posts, each under a heading with the replier's name, handle and date. It is useful for sentiment checks and for questions such as "what did people push back on?". Replies come from the same public data as the [Twitter Reply Viewer](https://twitterviewer.app/fr/twitter-reply-viewer), so a reply the data source does not return will not appear. Replies count toward the number of posts returned, which matters for credits, covered below.

If you mostly want to read a thread rather than export it, the [Twitter Thread Reader](https://twitterviewer.app/fr/twitter-thread-reader) lays the same posts out as one clean article. If you want a file to print or share, [Twitter Thread to PDF](https://twitterviewer.app/fr/twitter-thread-to-pdf) does that from the same link.

## X to Obsidian: frontmatter and tags

Pick the **Obsidian** format and the document starts with a YAML properties block that Obsidian reads as note metadata:

```markdown
---
title: "How to read a long thread without losing the plot"
source: https://x.com/example/status/1234567890
author: "@example"
published: 2026-10-01
posts: 3
tags: [x, twitter]
---
```

The rest is the same Markdown as the default format. Save the file into your vault and the note appears with a source link, an author property you can filter on, a publication date, a post count and two tags. That is enough to build a Bases view or a Dataview query over everything you have saved from X, such as "all notes with the tag `x` by this author, newest first".

Notion, Logseq, Bear and most other note apps accept the default Markdown format too. If an app shows the frontmatter as plain text, switch to **Markdown**.

## Tweet to Markdown for ChatGPT, Claude and Gemini

The result panel has two shortcuts for AI work. **Copy for ChatGPT** and **Copy for Claude** put the Markdown on your clipboard with one short sentence in front of it: "Below is the full content of an X thread. Answer based on all of it." Paste into a new chat, add your question under the text, and send.

A few habits make the answers better:

1. Put the question after the pasted thread, not before it, and name the output you want: a five-bullet summary, a table of claims and sources, a rewrite for a different audience.
2. Turn stats off unless the numbers are the subject. Engagement counts rarely help a summary.
3. For long threads, ask the assistant to quote post numbers (`1/31`, `2/31`) when it cites a claim. The numbered headings make that possible, and it makes the answer easy to check.
4. Keep the source line. If the assistant needs to flag that a claim comes from a single post by one author, the byline gives it the context.

Gemini, Perplexity, local models and any other tool that takes text can use the same Markdown through **Copy Markdown**.

## Profiles: a feed's recent posts as one document

Paste a profile link or an `@handle` and the X to Markdown converter returns that account's recent posts instead of a thread. The default is 20 posts and the largest export is 200. Each post gets a numbered heading with its date, and the byline reads "Posts by" rather than "Thread by".

By default the profile export keeps the account's own posts and skips reposts and replies to other people, so the document reads as what the author wrote. The same export is useful for studying how an account writes, collecting an author's posts on one topic before you search them in your notes, or giving an assistant a sample of a voice. Protected accounts cannot be converted, since their posts are not public.

For a view that shows more than text, the [Twitter Profile Viewer](https://twitterviewer.app/fr/twitter-profile-viewer) and the [Twitter Media Viewer](https://twitterviewer.app/fr/twitter-media-viewer) show the same account with posts, replies and a media grid.

## What is included, and what is not

The converter works from the public data that TwitterViewer can read, so its reach matches what a visitor without an account can see.

- **Included:** post text, links expanded to real addresses, photos with alt text, video and GIF links, quoted posts, the author's profile summary, stats, a link back to every post, and, with **Thread + replies**, the first page of replies. Polls, link cards and Community Notes are written out when the data source returns them.
- **Not included:** private or protected accounts, deleted posts, suspended accounts, and anything that needs an X login. The [no-login viewer guide](https://twitterviewer.app/fr/blog/what-a-no-login-viewer-can-see) explains why.
- **X Articles:** the long-form article body is not converted yet. For a link to an article, you get the post that shares it, with its text and link.
- **Video:** Markdown cannot embed video, so each video is a link to the file. To save the file itself, use the [Twitter Video Downloader](https://twitterviewer.app/fr/twitter-video-downloader).

Respect the rights of the people who wrote the posts, keep the source line, and use copies for personal research, notes and analysis.

## What a conversion costs

Every visitor gets one free conversion per day, with or without an account. A free conversion returns up to 25 posts. If a thread is longer and you have no credits, you get the first 25 posts and a notice that says so.

After that, a conversion costs credits:

- **1 credit = 1 post returned.** A thread of 12 posts costs 12 credits. A quoted post counts as one more.
- **The author's profile summary is free,** and so are conversions that fail, such as a deleted post or a protected account.
- **Repeats are free.** The same link with the same options, requested again within ten minutes, is not charged twice.
- **Signing up gives 50 credits,** a one-time amount that does not expire.

Plans include a monthly credit allowance for conversions, the API and MCP, starting at 3,000 credits a month, and you can also buy one-time credit packs that never expire, from $5 for 1,000 credits. [Pricing](https://twitterviewer.app/fr/pricing) lists every plan and pack. Viewing X posts in the browser is a separate allowance and does not use credits.

## Use X to Markdown from code, agents and the command line

The page is the easy way in. If you convert often, the same converter is available three other ways, all sharing one credit balance:

- **REST API.** `POST /api/v1/convert` with a link, a scope and a format returns Markdown, plain text or JSON. It is described on the [Twitter API](https://twitterviewer.app/fr/twitter-api) page, and every parameter is in the [API docs](https://twitterviewer.app/docs/api).
- **MCP server.** Connect Claude Code, Claude, Cursor or Codex to the [Twitter MCP Server](https://twitterviewer.app/fr/twitter-mcp-server) and the assistant can convert a link by itself when you paste one into the chat.
- **Domain swap.** Replace `x.com` with `twitterviewer.app` in a post link. In a browser it opens the viewer. With an API key in an `Authorization` header and no `text/html` in `Accept`, the same address returns Markdown.
- **Command line.** `npx twitterviewer <link>` prints the Markdown to your terminal.

## Where X to Markdown fits among TwitterViewer's tools

Different jobs want different outputs. The viewers on [TwitterViewer's home page](https://twitterviewer.app/fr) read posts on screen. The [Twitter Thread Reader](https://twitterviewer.app/fr/twitter-thread-reader) is for reading a thread top to bottom. [Twitter Thread to PDF](https://twitterviewer.app/fr/twitter-thread-to-pdf) is for a document you print or send. X to Markdown is for text you want to process: paste, search, quote, summarize or store. All of them take the same links and the same allowance.

For a first try, copy a public post's address, paste it in the box at the top of this page, leave **Whole thread** selected and press the button. If the result is not what you expected, switch the scope or format and compare. To convert a tweet to Markdown again with other options, you can reuse the same link. The [no-login viewing guide](https://twitterviewer.app/fr/blog/view-x-posts-without-login) covers what to do when a link does not open at all.

## X to Markdown FAQs

### What is X to Markdown?

X to Markdown is a converter that turns public X (Twitter) content into Markdown text. You paste the address of a post, a thread or a profile, and it returns a structured document with the posts, the author, the date, links, image links and stats. You can copy it, download it as `.md` or `.txt`, or send it to an AI assistant.

### How do I convert a tweet to Markdown?

Copy the address of a public post, paste it into the box on this page, choose the scope and format, and press the button. The Markdown appears next to a preview of the original. Use **Copy Markdown** to put it on the clipboard or **Download .md** to save a file. To convert a tweet to Markdown costs 1 credit, or uses your free conversion for the day.

### Can I convert a whole Twitter thread to Markdown?

Yes. Paste any post from the thread and keep **Whole thread** selected. The converter finds the author's run of posts, from the first post to the last, and returns them in order with numbered headings. Posts from other people are left out unless you choose **Thread + replies**.

### Is there an X to Obsidian format?

Yes. Choose the **Obsidian** format and the note starts with YAML properties: title, source link, author, publication date, post count and the tags `x` and `twitter`. Save the file in your vault and the properties are ready to filter on. The body is the same Markdown as the default format.

### Does it work with ChatGPT and Claude?

Yes. **Copy for ChatGPT** and **Copy for Claude** copy the Markdown with a one-line instruction in front, and you can paste it into any other assistant too. Put your own question under the pasted text. Turning stats off keeps the prompt shorter and the answer more focused.

### Can I convert an X article to Markdown?

Not yet. X Articles, the long-form posts with their own formatting, are not converted into Markdown here. For a link to an article you get the post that shares it, with its text and link. Ordinary posts and threads convert fully.

### Does X to Markdown work for private accounts?

No. Only public content can be converted. Posts from protected accounts, deleted posts and suspended accounts return an error, and failed conversions are not charged. The converter never asks for your X password or cookies.

### How many posts can I convert, and what does it cost?

Each visitor gets one free conversion per day, up to 25 posts. Beyond that, 1 credit buys 1 returned post, and signing up adds 50 credits. Profile exports return 20 posts by default and up to 200. See [pricing](https://twitterviewer.app/fr/pricing) for monthly allowances and credit packs.

### What is the difference between Markdown, Obsidian and plain text?

Markdown keeps headings, links, image links and block quotes. Obsidian is the same Markdown with a YAML properties block on top. Plain text strips all markup, so it suits an email or a document where Markdown symbols would show up as clutter.

### Can I use X to Markdown in code?

Yes. The REST API, the MCP server and the `npx twitterviewer` command all return the same Markdown and charge the same credits. Start with the [Twitter API](https://twitterviewer.app/fr/twitter-api) page, then see the [API docs](https://twitterviewer.app/docs/api) for parameters, errors and rate limits.

