Markdown to HTML Converter: Styled Pages with TOC & Code Colors avatar

Markdown to HTML Converter: Styled Pages with TOC & Code Colors

Pricing

from $2.00 / 1,000 file converteds

Go to Apify Store
Markdown to HTML Converter: Styled Pages with TOC & Code Colors

Markdown to HTML Converter: Styled Pages with TOC & Code Colors

Convert Markdown from a URL or pasted text into a clean, styled HTML page: headings, tables, footnotes and syntax-highlighted code, plus a table of contents. Scripts and unsafe links are removed. Get a download URL for each page. No API key. Pay per document converted.

Pricing

from $2.00 / 1,000 file converteds

Rating

0.0

(0)

Developer

KOTARO project

KOTARO project

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

🧾 Markdown to HTML Converter — clean, styled pages with a table of contents

Give it links to Markdown files (for example a raw README on GitHub) or paste Markdown. Get back a ready-to-open HTML page for each one, with a clickable table of contents, tables, footnotes and colored code blocks, plus a download link. Scripts and unsafe links are removed, so the page is safe to share.

What it does

  • 🧭 Table of contents at the top of the page, and the same outline as a toc list in the results
  • 📊 Tables, footnotes, definition lists and fenced code (Markdown Extra)
  • 🎨 Syntax-highlighted code for languages you name in the code fence, like ```python
  • 🧹 Safe output: <script>, <iframe>, event handlers like onerror and javascript: links are removed
  • 📱 Readable on phones and desktops, one self-contained file (styles included)
  • 🔗 A download URL for every page (htmlUrl)
  • 🌏 Any language, including Japanese

Input

FieldWhat it is
urlsLinks to Markdown files (http or https)
markdownOr paste Markdown text
titleOptional page title (default: the first top-level heading)
includeTocPut the table of contents on the page (default on)
{ "urls": ["https://raw.githubusercontent.com/mxstbr/markdown-test-file/master/TEST.md"] }

Output

One row per document:

{
"source": "https://raw.githubusercontent.com/mxstbr/markdown-test-file/master/TEST.md",
"ok": true,
"title": "Markdown: Syntax",
"headingCount": 14,
"toc": [{ "level": 1, "id": "markdown-syntax", "title": "Markdown: Syntax" }, { "level": 2, "id": "overview", "title": "Overview" }],
"markdownChars": 9647,
"htmlBytes": 19579,
"hasCodeBlocks": true,
"hasTables": false,
"htmlKey": "page-001-1a2b3c4d.html",
"htmlUrl": "https://api.apify.com/v2/key-value-stores/…/records/page-001-1a2b3c4d.html"
}

Pricing

Pay per event: one file-converted event per document converted. Failed links and empty runs are free.

Limits

  • Up to 5 MB per linked file, 2 million characters per document and 100 links per run
  • Raw HTML in the Markdown is kept only for safe formatting tags; anything else is removed
  • Images are linked, not copied into the page