HTML to Markdown Converter
Convert HTML content to clean Markdown
Parameters
| name | in | type | required | description |
|---|---|---|---|---|
html |
body | string | required | HTML Content |
strip_tags |
body | string | optional | Comma-separated HTML tags to remove entirely |
gfm |
body | boolean | optional | Enable tables and strikethrough |
Request
Send your key in the X-API-Key header. More languages and patterns live on the
code examples page.
curl -s -X POST "https://apixies.io/api/v1/html-to-markdown" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"html":"<h1>Hello World</h1><p>This is a <strong>bold</strong> paragraph with a <a href=\"https://example.com\">link</a>.</p>"}'
Response
The result sits under data in the standard envelope. See the
response format guide for errors and status codes.
returns
- data.markdown
- The converted Markdown.
- data.character_count
- Length of the Markdown in characters.
- data.line_count
- Number of lines in the Markdown.
{
"status": "success",
"http_code": 200,
"code": "SUCCESS",
"message": "HTML converted to Markdown successfully",
"data": {
"markdown": "# Hello World\n\nThis is a **bold** paragraph with a [link](https://example.com).\n",
"character_count": 80,
"line_count": 4
}
}
Authentication and limits
This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.
Standard rate limits apply to this endpoint.
related endpoints
More documentation
Get a free API key
A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.