UtilDojo

Popular

Menu

HTML to Markdown Converter Online

  • This tool runs entirely in your browser. Nothing you enter or upload is sent to a server.

HTML

Markdown

Result appears here.

About this tool

Paste HTML — a blog post, documentation page or email template — and get readable Markdown back, ready for a README, a static site or a notes app. The Markdown appears as you type, and you can copy it or download it as a .md file.

Headings, links, images, lists, tables, code blocks, strikethrough and task lists are all converted. Pick # or underlined headings, the bullet character (-, * or +), and fenced or indented code blocks to match your project’s style. Bold and italic text become bold and *italic*.

A common use is moving old content into a new system: copy the HTML of a page from a CMS, convert it, and drop the result into a Jekyll, Hugo or Astro site. Another is turning a copied web table into a Markdown table for GitHub. Checkbox inputs inside list items become [ ] and [x] task lists.

Scripts, styles and other non-content markup are dropped, so the output is just the text and its structure. Expect to tidy a little afterwards. Markdown cannot express everything HTML can: colours, classes, inline styles and layout wrappers have no equivalent and are lost, while tags with no Markdown form, such as a div, keep only their text. Table cells have line breaks flattened onto one line and pipe characters escaped. The conversion runs in your browser, so your HTML is never uploaded.

Frequently asked questions

How do I convert a web page to Markdown?

Open the page, select the content and copy it, or view the page source and copy the article’s HTML, then paste it here.

Are tables supported?

Yes. HTML tables become GitHub-flavoured Markdown tables. Tables with merged cells are simplified, because Markdown has no equivalent.

Is my HTML uploaded?

No. Conversion happens in your browser.

What happens to CSS classes, inline styles and scripts?

They are not carried over. Scripts and styles are removed entirely, and classes and inline styles are ignored because Markdown has no way to represent them.

Can I keep the original heading style?

You can choose between “# Heading” and underlined headings. Underlined style only exists for the first two heading levels, so lower levels still use # marks.

What about a table with no header row?

GitHub-style tables need a header, so a table without one gets an empty header row added. That way it still renders as a table.

Why does my Markdown look different from the web page?

Markdown stores structure, not appearance. Layout, colours and fonts come from the site you publish to, so the same Markdown will look different once your own theme styles it.

Related tools