Tools API Blog
Sign in Create account

Markdown to HTML

Markdown to HTML is an API that converts Markdown text (GitHub's, Notion's, Obsidian's...) into plain HTML, tables and strikethrough included (GFM). Useful for showing Markdown-written content inside a website, an email, or anywhere that only understands HTML.

How it works

You send the Markdown text (raw or inside a JSON body) and get back the equivalent HTML. It doesn't clean the result: if your Markdown has hand-written HTML mixed in, it comes out as-is, same as any Markdown converter.

If you're going to show that HTML to people you don't control (user comments, say), sanitizing it is on you: this tool doesn't do it for you.

All you need

  • Your API key. Create it in your dashboard with "+ Create key". It's shown only once, so copy and save it.
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream… all have one).

How to use it in n8n (step by step)

In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/markdown-to-html
  • Send Headers: on → add two: x-api-key = your key, and Content-Type = application/json
  • Send Body: on → Body Content Type: JSON → { "markdown": "# Hello\n\nThis is **Markdown**." }

In Make (HTTP → Make a request module): same method and URL, Body type: Raw, Content type: JSON, with the same body.

Options (inside the JSON)

OptionDefaultWhat it does
markdown-Required. The Markdown text to convert.
outputjsonhtml to get the raw HTML back instead of JSON.

What you get back

html, the converted result. With output=html, the raw HTML as the response body (Content-Type: text/html), no JSON wrapper.