# Markdown to plain text

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

- Endpoint: `POST https://setget.net/v1/tools/strip-markdown` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `strip-markdown`
- Page: https://setget.net/tools/strip-markdown

## Inputs

- `text` (required, string): The Markdown to convert.

## Example 1

```json
{"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:

```json
{"text":"Title\n\nSome bold and italic text with a link and code.\n\nitem one\nitem two\n\nlogo"}
```

## Example 2: Quotes, code fences and numbered lists

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

Result:

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

**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.
