HTML to Markdown converter — clean Markdown from a paste.
Paste HTML and get clean Markdown back: headings, lists, links, images, code blocks and tables. Useful for migrating content into a docs site, a CMS or a repository.
About this free HTML to Markdown converter.
This free HTML to Markdown converter turns a page’s HTML into clean, readable Markdown. Paste the markup and get GitHub-flavoured Markdown with ATX or Setext headings, ordered and unordered lists, links, images, fenced code blocks, blockquotes and pipe tables. Scripts, styles, navigation, footers, forms and inline SVG are removed, so what comes out is the content, not the chrome.
It is the fastest way to migrate a blog post, a help article or documentation into a Markdown-based site, a wiki, a repository or a note-taking app. Conversion happens in your browser and nothing is uploaded.
Free · No signup · Runs in your browser · Last updated
- Content onlyScripts, styles, nav, footers, forms and SVG are stripped.
- GitHub-flavoured outputFenced code, pipe tables, task lists where applicable.
- Heading styleChoose # ATX headings or underlined Setext headings.
- Bullet styleHyphen or asterisk bullets.
- Links and imagesPreserved with their URLs and alt text.
- Copy or downloadTo the clipboard or as a .md file.
How to convert HTML to Markdown in four steps.
Get the HTML
Copy the page source, or select the content on the page, right-click and inspect to copy the element’s HTML.
Paste it
Put the HTML in the left pane. Whole pages are fine; boilerplate is removed.
Choose the style
ATX or Setext headings, hyphen or asterisk bullets, to match your repository’s conventions.
Convert and export
Click Convert, then Copy or Download .md.
HTML to Markdown questions, answered.
What gets removed?
Scripts, styles, navigation, footers, forms and inline SVG — the parts that don’t belong in content.
Which Markdown style is produced?
GitHub-flavoured: fenced code blocks, pipe tables, ATX headings by default.
Can I convert a whole site?
One page at a time here. For a whole docs site, export from your generator or mirror the site with a crawler, then convert the files one by one.
What HTML elements have no Markdown equivalent?
Markdown has no syntax for divs, spans, forms, iframes, video or custom attributes. Structural wrappers are dropped and their text kept; embedded media and interactive elements are removed. Tables with merged cells are flattened, because GFM tables do not support colspan.
Can I convert a web page by URL?
Not directly. Browsers block one page from fetching another’s HTML, so copy the page source and paste it. For a whole site, mirror it with a crawler such as wget first, then convert the saved files here.
Will inline styles and classes be kept?
No. Markdown is intentionally style-free, so classes, IDs and style attributes are discarded. Bold, italic, code and links survive because Markdown has syntax for them.
Also free.
Markdown previewer
A live, GitHub-flavoured Markdown preview with tables, task lists, fenced code and footnotes.
clean outputMarkdown → HTML
Convert Markdown to HTML with GitHub-flavoured extensions, optional heading IDs for anchor links, and either a fragment or a complete document.
desktop · mobile · darkEmail HTML previewer
Paste your email HTML and see it rendered at desktop and mobile widths, in light and dark mode, with a quick audit for the things email clients choke on: external stylesheets, missing alt text, oversized images and unsupported CSS.
liveWord / character counter
Paste text and get word, character, sentence and paragraph counts, reading and speaking time, the most frequent words, and how the length compares to common limits — tweets, meta descriptions, LinkedIn posts.
format · validate · minifyJSON formatter & validator
Paste JSON to format it with two or four spaces, sort keys, minify for transport, and get a clear error with line and column when it doesn’t parse.
header · payload · expiryJWT decoder
Paste a JSON Web Token to see its header and payload decoded, the algorithm, and whether it’s expired or not yet valid — all in your browser.
Migrating a site? Watch every key page for unexpected changes after the move.
Page change monitoring watches any URL, yours or theirs, and sends a highlighted diff, an alert and a report on your schedule. $2 a page a month, your whole team included.