Convertisseur HTML en Markdown
Convertissez un balisage HTML ou une page web copiée en Markdown propre compatible avec GFM.
Réponse rapide: Convertisseur HTML en Markdown : convertissez du code HTML ou une page web copiée en Markdown propre, compatible GFM. Fonctionne entièrement dans votre navigateur, gratuitement et sans inscription.
Dernière mise à jour
Bon à savoir
Converting HTML to Markdown is the right move when you want portable, diff-friendly source that renders identically across GitHub, a static-site generator, Notion, or Obsidian. The tool keeps the structural bones — headings, lists, links, images, code blocks, blockquotes, and GFM tables — while discarding the presentational chrome (classes, inline styles, <span> wrappers, font colors) that Markdown has no way to express.
That stripping is a feature, not a bug: pasting rich text copied from a web page or a Word document usually drags along a mess of nested spans and style attributes, and this collapses it to clean prose. It is the standard way to migrate legacy CMS content into a Markdown-based publishing pipeline without hand-editing every article.
A couple of things won't survive. Tables with merged cells (rowspan/colspan) flatten, because Markdown tables are strictly rectangular, and any layout that relied on divs and CSS grid becomes a flat sequence of blocks. Image tags are converted to Markdown links that still point at the original src, so remember to bring your own asset hosting — the images themselves are not downloaded or rewritten.
For the reverse trip, or to preview how your Markdown will render, use the Markdown to HTML converter. The extra blank lines you may notice in the output are the spec-required separators between block elements and do not affect rendering.
Questions fréquentes
- Le style comme la couleur de police sera-t-il conservé ?
- Non — Markdown n'a pas de concept de couleur ou de police. Les éléments structurels (titres, listes, code, tableaux, citations) et l'emphase (gras, italique) passent proprement.
- Comment les tableaux sont-ils gérés ?
- Nous émettons des tableaux en Markdown à la mode de GitHub, qui se rendent correctement dans GitHub, GitLab, Notion, Bear, Obsidian et la plupart des générateurs de sites statiques.
- Qu'en est-il des images ?
- Les balises d'image deviennent des liens d'image Markdown pointant vers la source d'origine. Nous ne réécrivons ni ne téléchargeons d'images — amenez votre propre hébergement d'assets.
- Mon HTML est-il téléchargé ?
- Non — Turndown fonctionne entièrement dans votre navigateur.
- Pourquoi y a-t-il des lignes vides supplémentaires dans ma sortie ?
- La spécification Markdown exige des lignes vides entre les éléments de bloc. La sortie est canonisée — n'hésitez pas à supprimer les extras lorsque vous collez dans votre éditeur ; cela ne change pas le rendu.