HTML / Markdown Converter
Convert between HTML and Markdown in both directions.
The HTML / Markdown converter translates between HTML and Markdown in either direction. It turns HTML documents and snippets into clean Markdown, or renders GitHub-flavored Markdown with a live preview and sanitized HTML output.
Mode
Please enter some input.
How to use
- Choose the conversion direction.
- Paste or type the source markup.
- Review the output or live preview and copy the result.
Frequently asked questions
Are scripts kept in the output?
No. Script and style elements are removed from Markdown, and raw scripts or event attributes are stripped from generated HTML.
Does Markdown rendering support tables?
Yes, GitHub-flavored tables and task lists are rendered.
Related tools
JSON Formatter
Format, validate and minify JSON in one place.
XML Formatter
Pretty-print and indent XML documents.
YAML Formatter
Format YAML and convert between YAML and JSON in both directions.
CSV to JSON
Convert CSV tables into JSON data.
JWT
Encode, decode and verify JSON Web Tokens locally.
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes.