HTML Input

825 chars · 29 lines

Markdown Output

HTML to Markdown — Convert HTML to Clean Markdown

HTML to Markdown is a powerful online converter that transforms HTML code into clean, readable Markdown. Supports tables, strikethrough, task lists, and other GFM extensions with customizable formatting options.

Key Features

  • Table Support: Perfectly converts HTML tables to GitHub Flavored Markdown (GFM) table format
  • GFM Extensions: Supports strikethrough (~~text~~), task lists (- [ ] / - [x]), and more
  • Customizable Options: Configure heading style (# ATX / Setext), list markers (-/*/+), code block style
  • Live Preview: Instantly see rendered Markdown output
  • Character Stats: Real-time display of input/output character and line counts

Supported HTML Elements

  • Headings (h1-h6)
  • Paragraphs, bold, italic, strikethrough
  • Ordered lists, unordered lists, task lists
  • Tables (including thead, tbody)
  • Code blocks, inline code
  • Blockquotes, links, images

Formatting Options

Heading Style

  • ATX: Uses # symbols (e.g., # Heading 1, ## Heading 2)
  • Setext: Uses underlines (=== for h1, --- for h2)

List Markers

Choose -, *, or + as the bullet point marker for unordered lists

Code Block Style

  • Fenced: Uses ``` to wrap code blocks
  • Indented: Uses 4-space indentation for code blocks

FAQ

Tables not converting correctly?

Make sure GFM Extensions is enabled (on by default). Complex nested tables or merged cells may require manual adjustment.

Are inline styles supported?

Markdown does not support inline CSS styles. Text content is preserved, but style information is ignored.

Is my data secure?

All conversions happen locally in your browser. HTML content is never uploaded to any server.