Markdown to plain text

Remove Markdown formatting and keep the readable text: headings, emphasis, links, images, lists and code.

Input

The Markdown to convert.

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/strip-markdown \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"# Title\n\nSome **bold** and _italic_ text with a [link](https://example.com) and `code`.\n\n- item one\n- item two\n\n![logo](logo.png)"}}'
import json, urllib.request

body = {'input': {'text': '# Title\n\nSome **bold** and _italic_ text with a [link](https://example.com) and `code`.\n\n- item one\n- item two\n\n![logo](logo.png)'}}
request = urllib.request.Request("https://setget.net/v1/tools/strip-markdown", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/strip-markdown", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"text":"# Title\n\nSome **bold** and _italic_ text with a [link](https://example.com) and `code`.\n\n- item one\n- item two\n\n![logo](logo.png)"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "strip-markdown",
  "input": {
    "text": "# Title\n\nSome **bold** and _italic_ text with a [link](https://example.com) and `code`.\n\n- item one\n- item two\n\n![logo](logo.png)"
  }
}
{
  "input": {
    "text": "# Title\n\nSome **bold** and _italic_ text with a [link](https://example.com) and `code`.\n\n- item one\n- item two\n\n![logo](logo.png)"
  }
}

Endpoint: POST /v1/tools/strip-markdown. Over MCP: run_tool with slug: "strip-markdown". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
text string yes The Markdown to convert.

Examples

Input
{
  "text": "# Title\n\nSome **bold** and _italic_ text with a [link](https://example.com) and `code`.\n\n- item one\n- item two\n\n![logo](logo.png)"
}
Result
{
  "text": "Title\n\nSome bold and italic text with a link and code.\n\nitem one\nitem two\n\nlogo"
}

Quotes, code fences and numbered lists

Input
{
  "text": "> Quoted **text**\n\n```python\nprint(\"**not bold**\")\n```\n\n1. First\n2. Second"
}
Result
{
  "text": "Quoted text\n\nprint(\"**not bold**\")\n\n1. First\n2. Second"
}

Questions

What happens to links and images?
A link keeps its text and loses its address. An image is replaced by its alt text.
Is code changed?
No. Text inside code fences and backticks is kept exactly; only the fence lines and backticks are removed.
What happens to lists and tables?
Bullet markers are removed and numbered items keep their numbers. Table rows stay as they are, without the row of dashes under the header.