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

HTML to Markdown Converter

Paste HTML content to convert it into clean Markdown. Script and style tags are stripped automatically for security. You can also remove additional tags like nav, footer, or aside when converting full web pages.

string required
advanced options
string

Comma-separated HTML tags to remove entirely

boolean

Enable tables and strikethrough

X-Sandbox-Remaining: - get an api key

returns

data.markdown
The converted Markdown.
data.character_count
Length of the Markdown in characters.
data.line_count
Number of lines in the Markdown.
response awaiting request sending
Fill in the fields and send a request. The response lands here.

Run it from your code

A temporary key takes one request and lasts seven days at 20 calls a day. Register and it becomes 75 a day, still free.

$ curl -sX POST "https://apixies.io/api/v1/html-to-markdown" \
    -H "X-API-Key: $APIXIES_KEY" \
    -H "Content-Type: application/json" \
    -d '{"html":"..."}' | jq '.data.markdown'

"# Hello World\n\nThis is a **bold** paragraph with a [link](https://example.com).\n"

questions

Are script tags removed automatically?

Yes. Script, style, and iframe tags are always stripped for security, regardless of the strip_tags parameter. You don't need to specify them manually.

What is GitHub Flavored Markdown?

GFM extends standard Markdown with tables, strikethrough (~~text~~), task lists, and autolinked URLs. It's the format used on GitHub for README files and comments.

cookies

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