HTML ↔ Markdown Converter

HTML ↔ Markdown Converter converts HTML code to clean Markdown and Markdown text to HTML: headings, bold/italic, links, images, lists, code blocks, quotes and tables are supported. Your text never leaves your device.

Result
—

How it works

  1. 1Pick the direction: HTML → Markdown or Markdown → HTML.
  2. 2Paste the text to convert into the left box.
  3. 3Copy the result with "Copy".

Frequently asked questions

Which elements are supported?+

Headings, paragraphs, bold, italic, strikethrough, links, images, ordered/unordered (nested) lists, code blocks, inline code, quotes, horizontal rules and tables.

What happens to script and style tags?+

Going HTML → Markdown their content is dropped; going Markdown → HTML raw HTML is escaped and javascript: links are neutralised.

Can I convert a DOCX or RTF file?+

This tool only converts HTML and Markdown text.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/text/html-markdown-converter/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="HTML ↔ Markdown Converter · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Text Editing Guide →

Command Palette

Search for a command to run…