Skip to content
POST /api/v1/markdown-to-html

Markdown to HTML

Convert Markdown text to HTML

Parameters

name in type required description
markdown body string required Markdown
allow_html body boolean optional Off: HTML in the input is escaped. Links with javascript: and similar schemes are always dropped. default false

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/markdown-to-html" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"markdown":"# Hello World\n\nThis is **bold** and *italic* text."}'

Response

The result sits under data in the standard envelope. See the response format guide for errors and status codes.

returns

data.html
The rendered HTML.
data.markdown
The Markdown you sent, echoed back.
example response 200
{
    "status": "success",
    "http_code": 200,
    "code": "SUCCESS",
    "message": "Markdown converted to HTML",
    "data": {
        "markdown": "# Hello World\n\nThis is **bold** and *italic* text.",
        "html": "<h1>Hello World</h1>\n<p>This is <strong>bold</strong> and <em>italic</em> text.</p>",
        "allow_html": false,
        "converted_at": "2026-09-18T12:00:00+00:00"
    }
}

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.

Common use cases

CMS content rendering

Convert Markdown content stored in your CMS or database to HTML for display. Support authors who prefer writing in Markdown.

Documentation generation

Build documentation sites by converting Markdown files to styled HTML. Combine with HTML to PDF for downloadable docs.

Email template building

Write email content in Markdown for simplicity, then convert to HTML for rich email rendering across email clients.

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.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy