Markdown to HTML Converter — GitHub-Flavored, Safe HTML API avatar

Markdown to HTML Converter — GitHub-Flavored, Safe HTML API

Pricing

$10.00 / 1,000 file converteds

Go to Apify Store
Markdown to HTML Converter — GitHub-Flavored, Safe HTML API

Markdown to HTML Converter — GitHub-Flavored, Safe HTML API

Convert Markdown to HTML via API. Input: a markdown URL or pasted markdown text. Output: clean, sanitized GitHub-flavored HTML with auto-linked headings — ready for emails, CMS imports, and rendering. Cheap flat pay-per-file pricing per conversion.

Pricing

$10.00 / 1,000 file converteds

Rating

0.0

(0)

Developer

Anthony Snider

Anthony Snider

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Markdown to HTML Converter

Turn markdown (a URL or pasted text) into clean, safe, GitHub-flavored HTML — with auto-linked headings and a ready-made table of contents.

Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.

What you get

  • GitHub-flavored HTML — tables, strikethrough, autolinks, line breaks.
  • Auto-linked headings — every <h1><h6> gets a stable id and a clickable anchor.
  • Table of contents — a structured list of headings (level, text, id) you can render anywhere.
  • Safe output — strips <script>/<iframe>, inline on* handlers, and javascript: URLs.
  • Word count — quick content metric for the source document.
  • Convert a single doc or a batch (urls / markdowns arrays, capped at 50).

Input

{
"url": "https://raw.githubusercontent.com/apify/apify-sdk-js/master/README.md",
"gfm": true
}

Or paste markdown directly:

{
"markdown": "# Title\n\nSome **bold** text.\n\n## Section\n\n- item one\n- item two",
"gfm": true
}

Output

{
"input": "(inline markdown)",
"sourceUrl": null,
"html": "<h1 id=\"title\"><a class=\"anchor\" href=\"#title\">#</a>Title</h1>\n<p>Some <strong>bold</strong> text.</p>\n<h2 id=\"section\"><a class=\"anchor\" href=\"#section\">#</a>Section</h2>\n<ul>\n<li>item one</li>\n<li>item two</li>\n</ul>",
"toc": [
{ "level": 1, "text": "Title", "id": "title" },
{ "level": 2, "text": "Section", "id": "section" }
],
"wordCount": 8,
"gfm": true
}

Use it for rendering docs, building emails, or importing content into a CMS.