Format Conversion
Convert Markdown formatted text to plain text by removing all Markdown syntax and formatting
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/markdown-to-plain-text' \
-H 'Content-Type: application/json' \
-d '{"markdownInput":"Enter your Markdown formatted text here...","preserveLineBreaks":true,"preserveLinks":false,"preserveImages":false,"removeEmphasis":true,"removeHeaders":true,"removeCodeBlocks":true,"removeLists":true,"removeBlockquotes":true,"removeTables":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/markdown-to-plain-text| Name | Type | Required | Description |
|---|---|---|---|
| markdownInput | textarea | Yes | — |
| preserveLineBreaks | checkbox | No | Keep original line breaks and paragraph structure |
| preserveLinks | checkbox | No | Keep link URLs in the format: text (url) |
| preserveImages | checkbox | No | Keep image descriptions in the format: alt text (url) |
| removeEmphasis | checkbox | No |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-markdown-to-plain-text": {
"name": "markdown-to-plain-text",
"description": "Convert Markdown formatted text to plain text by removing all Markdown syntax and formatting",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=markdown-to-plain-text",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "markdown-to-plain-text",
"arguments": {
"markdownInput": "Enter your Markdown formatted text here...",
"preserveLineBreaks": true,
"preserveLinks": false,
"preserveImages": false,
"removeEmphasis": true,
"removeHeaders": true,
"removeCodeBlocks": true,
"removeLists": true,
"removeBlockquotes": true,
"removeTables": true
}
}
}Questions or issues? Contact [email protected]
| Remove bold, italic, and other emphasis formatting |
| removeHeaders | checkbox | No | Remove header formatting (# ## ###) |
| removeCodeBlocks | checkbox | No | Remove code blocks and inline code formatting |
| removeLists | checkbox | No | Remove list formatting (- * * 1. 2.) |
| removeBlockquotes | checkbox | No | Remove blockquote formatting (>) |
| removeTables | checkbox | No | Remove table formatting completely |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}