⚡
usefultools.dev
MD→

Markdown to HTML Converter

NOUVEAU

Markdown to HTML converter with a live preview. Get clean pretty or minified HTML source to copy or download as .html, free and in your browser.

Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.

Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.

Options
718 bytes
⚡

Exemples rapides

Des entrées typiques et les résultats produits par cet outil.

Heading
# Hello
<h1>Hello</h1>
Emphasis
**bold**
<p><strong>bold</strong></p>
Link
[Docs](/docs)
<p><a href="/docs">Docs</a></p>
Escaping
`a < b`
<p><code>a &lt; b</code></p>
Safe
[x](javascript:alert(1))
<p>x</p>
📖

Présentation

This Markdown to HTML converter turns Markdown text into HTML source you can paste into a page, a CMS or an email template. It handles headings, bold and italic, lists with nesting, task lists, links, images, code blocks, quotes, rules and tables with alignment.

Choose pretty output with indentation or a minified single line, add ids to headings, open links in a new tab, or wrap the result in a complete HTML page. A preview tab shows how the HTML renders, and you can copy the source or download it as an .html file.

Everything runs in your browser. All text is escaped, raw HTML typed into the Markdown is shown as text, and unsafe links such as javascript: are dropped, so converting untrusted Markdown is safe.

Pourquoi utiliser cet outil ?

  • Clean HTML ready to paste or download
  • Pretty or minified output
  • Sanitised preview of the rendered result
  • Unsafe links and raw HTML are neutralised
  • No upload, works offline once loaded
⭐

Fonctionnalités

📝

Common Markdown syntax

Headings, emphasis, nested lists, task lists, tables, code fences, quotes, images and links.

👀

Live preview

Switch to the Preview tab to see how the generated HTML will look.

🛡️

Safe by design

Text is HTML-escaped and the preview strips scripts, event handlers and javascript: URLs.

🧹

Pretty or minified

Indented HTML for reading, or one compact line for production.

📄

Full page option

Wrap the output in a doctype, head and body with the title taken from your first heading.

⬇️

Copy or download

Copy the HTML in one click or save it as converted.html.

🛠️

Mode d'emploi

1

Paste Markdown

Type or paste your text into the "Markdown" box, or press Load sample.

2

Pick options

Choose Pretty or Minified, and tick full page, heading ids or new-tab links if you need them.

3

Check the result

Read the generated code under "HTML source" or switch to "Preview".

4

Copy or download

Press "Copy HTML" or "Download .html".

🤔

Questions fréquentes