OxyPages

HTML To Markdown Converter

Paste HTML, get Markdown you can drop straight into a README or a blog post.

Free. No account. Live in seconds.
HTML
2.7 KB

Your HTML is parsed, never run: nothing on this page renders it, and nothing is uploaded.

Markdown
Converting…HTML in 2.7 KB (2,764 characters) · Markdown out 0 B (0 characters)
Puts the Markdown on a live link. Free, no account.

How It Works

How To Use The HTML To Markdown

  1. 1

    Paste Your HTML

    Paste markup into the left pane, drop an .html file onto it, or use Open file. A sample post is loaded so you can see the conversion straight away.

  2. 2

    Keep The Parts You Want

    Leave the two switches on to strip scripts, styles and comments and to convert only the article, not the nav and footer. Options sets heading, bullet, code, emphasis and link style.

  3. 3

    Copy, Download Or Publish

    Copy the Markdown, download it as converted.md, or publish it to a live link you can send to somebody. No account needed.

About This Tool

HTML To Markdown, Without The Navigation And The Tracking Scripts

Most converters hand back the whole page, scripts and menus included. This one finds the article first, then converts it.

Markdown is the format everything reads now: README files, wikis, issue trackers, notes apps and the box you type into when you talk to an AI assistant. Web pages are not written in it. This html to markdown converter takes the markup you already have - a blog post, a documentation section, a chunk copied out of your browser's inspector - and gives you Markdown you can paste somewhere useful.

Who it is for

  • You are moving web copy into a CMS, a static site or a README and do not want to retype it.
  • You are archiving a page as plain text that will still be readable in ten years.
  • You need to convert html to markdown for a documentation import, where tables and code blocks have to survive.
  • You want to feed a page to a language model and would rather send clean text than a wall of markup.

How it works

Everything runs in your browser. The HTML is parsed into a document that is never attached to this page, so nothing in it runs: no scripts execute, no images or stylesheets load, and no tracking pixel fires. Nothing is sent anywhere unless you press publish.

The conversion follows GitHub-flavoured Markdown, so tables, strikethrough and task lists come through properly rather than being flattened into paragraphs - that is where thinner converters fall over. Two switches decide what gets converted at all. Strip scripts, styles and comments removes the code that would otherwise land in your text as a block of minified JavaScript. Main content only looks for a <main> or <article> element, and if the page has neither, scores every block by how much prose it holds against how much link text it carries, then converts the winner. That is how a whole web page to markdown conversion comes back as the post instead of the post plus the menu, the sidebar and the cookie banner.

Limits

Anything Markdown cannot express is either kept as inline HTML or dropped: layout divs, classes, iframes, forms and video embeds. Images keep their src exactly as written, so relative paths such as /img/hero.png will not resolve once the Markdown lives somewhere else - fix those by hand. The main-content guess is a heuristic, not magic; if it takes the wrong block, turn the switch off and convert everything. Going the other way is the Markdown to HTML converter, and the HTML formatter will indent messy input so you can see what you are pasting.

From Markdown to a live page

Publish puts the converted Markdown on a page of its own, on a live HTTPS link, so you can send it to whoever asked for it. It needs no account, the link lasts 30 minutes on its own, and claiming it to keep it is free. Instant publishes are capped at 5 MB, and custom domains are available on the paid plans. See how it works for the rest.

Questions

Frequently Asked Questions

Yes. The HTML is read with DOMParser, which builds a document in memory that is never added to this page, so scripts do not run and no images, stylesheets or trackers are fetched. The conversion happens entirely in your browser and nothing is uploaded.

Try It Now

Still Here? Drop It In.

The whole pitch fits in one sentence: your HTML, on a link, in seconds.

Drag and drop your HTML file(s), folders, or ZIP file

or ·

No account needed. Your unclaimed website stays live for 30 minutes on a free subdomain. Claim it to your account to keep it permanently.

  • No Account Needed
  • Free SSL
  • 30-Minute Unclaimed Link, Claim To Keep It