Markdown naar HTML Converter
Converteer GitHub-flavored Markdown naar schone HTML die je overal kunt plakken. Live voorvertoning.
Snel antwoord: Markdown naar HTML Converter: zet GitHub-compatibele Markdown om naar nette HTML die u overal kunt plakken. Livevoorbeeld. Werkt volledig in uw browser, gratis en zonder registratie.
Laatst bijgewerkt
Goed om te weten
This converter targets GitHub Flavored Markdown, so the extensions people actually rely on — tables, fenced code blocks with language hints, task lists, strikethrough, and autolinks — all render correctly, not just the bare CommonMark basics. It emits a body fragment rather than a full HTML document, which is precisely what you want when pasting into a CMS, a blog editor, or an email template.
A security note that matters if any of your Markdown originates from other people: raw HTML passes through untouched by design, which is convenient for embedding the odd <div> but means the output is only as trustworthy as the input. Before mounting user-supplied Markdown in a live app, run the resulting HTML through a sanitizer such as DOMPurify to strip script and event-handler attributes.
The conversion is a one-way transform; it will not wrap the fragment in <html> or add a stylesheet, leaving those choices to your own template. When you receive HTML and want to go back to clean Markdown — for example to store documentation in a repository — the companion HTML to Markdown converter uses the same GFM conventions in reverse.
Veelgestelde vragen
- Welke Markdown-flavor ondersteun je?
- GitHub Geflavourde Markdown (GFM) — tabellen, afgebakende codeblokken, takenlijsten (<code>- [ ]</code>), doorhalen, autolinks en de gebruikelijke koppen, lijsten, blockquotes en nadruk.
- Wordt inline HTML in mijn Markdown bewaard?
- Ja — standaard gaat ruwe HTML in Markdown onveranderd door, waardoor je Markdown kunt combineren met af en toe een <code><div></code> of <code><img></code>.
- Is de HTML veilig om in te voegen zonder te saniteren?
- Behandel de uitvoer zoals je elke HTML zou inbedden: als je bron gebruikersgehoste content kan bevatten, gebruik dan een sanitiser zoals DOMPurify voordat je het in je app monteert.
- Genereert het het omringende <code><html></code> document?
- Nee — het produceert alleen de body-fragment, wat je meestal wilt bij het plakken in een CMS of blog-editor. Wikkel het in je eigen sjabloon als je een volledig document nodig hebt.
- Wordt mijn Markdown geüpload?
- Nee — marked draait volledig in je browser, dus niets verlaat je apparaat.