LocalExcelTool
Get started

Markdown Toolkit

Render Markdown to HTML or extract a table of contents from headings.

What is Markdown Toolkit

This Markdown toolkit converts Markdown into standard HTML, and can also extract headings into a table of contents. Headings inside code blocks are never mistaken for real headings. Built on the marked library; all processing runs locally in your browser.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

CommonMark first, extensions second

The baseline is CommonMark: headings, emphasis, links, lists, block quotes, fenced code, indented code. Everything beyond that — tables, strikethrough, task lists, autolinks — is a GitHub-flavoured extension and is only rendered if the implementation enables it.

This is why the same source renders differently on two sites. A table that shows correctly on GitHub can appear as a paragraph of pipes in a strict CommonMark renderer. When publishing somewhere unfamiliar, check the table and footnote syntax first; those are the two extensions most often missing.

Whitespace is syntax, so formatting can break meaning

Two trailing spaces mean a hard line break; four leading spaces mean a code block; a blank line inside a list item changes whether the following paragraph belongs to the item. A formatter that trims trailing whitespace silently removes every hard break in the document.

Nested list indentation is the other fragile area: two spaces, four spaces or a tab each produce different structures in different parsers. Normalising to a single convention is only safe if the target renderer agrees with it — otherwise the outline depth changes.

Embedded HTML and escaping

Most renderers pass raw HTML through, so a stray < in prose — 'x < y' — can start a tag and swallow the rest of the line. Escaping it as &lt; is the fix, and it is the most common cause of a paragraph disappearing from rendered output.

Escaping also affects characters that are syntax only in context: an asterisk in the middle of a word, an underscore inside an identifier, a leading # in a shell snippet. Fenced code blocks avoid all of it, which is the reason to fence anything that looks like code rather than indenting it.

How to use

  1. 1.Paste your Markdown
  2. 2.Pick a mode (render / TOC)
  3. 3.Run and copy the result

How this compares

There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveInvalid input returns the parser error position instead of a repaired fileThe same — the conversion is the same maths

Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.

Frequently asked questions

Which Markdown syntax is supported?

CommonMark standard — headings, lists, tables, code blocks, links and more.

Why use the TOC mode?

It shows the heading structure at a glance and never picks up '#' lines inside code fences.

What this kind of conversion cannot keep

Formatters parse the input into a tree and print it back with consistent indentation. If the input is invalid, you get the parser's error position instead of a silently mangled file — malformed JSON stays malformed rather than being «repaired» into something that is no longer yours.

More in Format