search
format_align_left
JSON Formatter CSS Formatter HTML Formatter JavaScript Formatter XML Formatter SQL Formatter Exception Formatter Markdown Preview & HTML to Markdown
data_object
JSON to Excel/CSV JSON to TypeScript, C#, Go, Java, Kotlin, Python & Dart JSON ⇄ YAML / TOML Converter JSON Diff – Compare Two JSON JSON Viewer & JSONPath Tester
table_chart
Excel/CSV to JSON Excel/CSV to SQL Excel/CSV to HTML
description
Compare text Text to Hex Text to Base64 Case Converter Regex Tester Vietnamese Accent Remover & Slug Generator Word Counter Line Tools: Remove Duplicates, Sort Lines Lorem Ipsum Generator
image
Convert Image Image to Base64 Converter Image Compressor Resize & Crop Image Favicon Generator Color Palette from Image EXIF Viewer & Remover
qr_code_2
QR Code Generator QR Code Scanner VietQR Bank Transfer QR Generator Wi-Fi QR Code Generator vCard QR Code Generator (Business Card) Barcode Generator (EAN-13, Code 128, Code 39)
lock
Convert Token Convert Hash Generate Password HMAC Generator (SHA-256, SHA-512) AES Encrypt / Decrypt Online Bcrypt Hash Generator & Checker
schedule
Convert datetime Timezone Info Vietnamese Lunar Calendar Converter Date Calculator Cron Expression Parser Countdown Timer
link
Encode and Decode URLs Shorten URL URL Parser & UTM Builder HTTP Header Checker
storage
Statistics Parser Statistics Compare SQL INSERT to JSON Converter SQL Table to C# / TypeScript / Java Class
travel_explore
Create Sitemap robots.txt Generator Meta Tag Generator Open Graph Preview
terminal
Number Base Converter UUID / ULID / NanoID Generator Chmod Calculator HTTP Status Codes
palette
Color Picker
help_outline
About UsPrivacy PolicyTerms of Service
THUTOOL
search

Markdown Preview & HTML to Markdown

🔒 Processed 100% in your browser – your data never leaves your device
0 words · 0 characters · 0 lines
Result

How to preview Markdown and convert HTML to Markdown

Markdown → HTML

  1. Type or paste Markdown on the left. The preview on the right updates as you type; click Load sample to see the supported syntax.
  2. Switch the right panel to HTML to see the generated code, then Copy HTML or download a complete .html page.
  3. Turn on Line break = <br> if you want single line breaks kept, as in GitHub comments.

HTML → Markdown

  1. Open the HTML → Markdown tab and paste HTML, for example copied from a web page source or a CMS.
  2. Choose the heading style (# or underlined), bullet character and code block style.
  3. Copy the Markdown or download it as .md.

Example

## Plan followed by - [x] Done renders as a level-2 heading and a ticked checkbox. The HTML <p>Hello <strong>world</strong></p> becomes Hello **world**.

FAQ

Which Markdown syntax is supported? CommonMark plus GitHub Flavored Markdown: tables, task lists, strikethrough and automatic links.

Is it safe to preview Markdown from someone else? Yes, the HTML is cleaned with DOMPurify before it is shown, so scripts and event handlers are removed.

Are HTML tables converted to Markdown tables? No, tables are kept as text rows; headings, lists, links, images, emphasis and code are converted.

Is my text uploaded? No, everything runs in your browser and is only remembered in its local storage.

Related tools

  • JSON FormatterFormat, validate, minify and view JSON as a tree, or convert JSON to XML. Free online JSON formatter that shows the exact error line.
  • CSS FormatterBeautify or minify CSS and SCSS online. Clean up indentation, remove comments and shrink stylesheets for production.
  • HTML FormatterBeautify or minify HTML online with clean, consistent indentation. Free HTML formatter for developers.
  • JavaScript FormatterBeautify or minify JavaScript code online using Prettier and Terser. Free JavaScript formatter and minifier.
  • XML FormatterFormat, validate and minify XML, view it as a tree or convert XML to JSON. Free online XML formatter that shows the exact error line.
  • SQL FormatterFormat SQL queries for SQL Server, MySQL, PostgreSQL and more, remove comments or minify. Free online SQL formatter.
@Made by THUTOOL