HTML to Markdown Converter
Turn HTML into clean Markdown for notes, documentation, wikis and blog platforms. Headings, links, images, bold and italic text, lists, quotes and code blocks are all converted into the familiar Markdown symbols.
How to Convert HTML to Markdown
Quick answer: paste your HTML or open an .html file; the Markdown appears below. Download it as .md or copy it.
-
1
Add your HTML
Paste code or open an .html file.
-
2
Pick the style
Heading and bullet style.
-
3
Check the Markdown
Links and code included.
-
4
Download .md
Or copy it.
What You Get
Why Convert HTML to Markdown?
Markdown is a simple way to write formatted text with plain characters: # for headings, ** for bold, - for list items. It is used by note apps, documentation sites, code hosting platforms, wikis, chat apps and many blog systems. Converting existing HTML, such as old blog posts, help pages or emails, into Markdown lets you move content into those tools and keep editing it comfortably.
What Is Converted
Headings become # lines, paragraphs are separated by blank lines, links become [text](address), images become , strong and bold text gets **double stars**, emphasis gets *single stars*, quotes start with >, and ordered and unordered lists keep their numbers and bullets. Preformatted code becomes a fenced block between lines of three backticks (```). Tables are kept as HTML, which Markdown allows, so no table data is lost.
Style Options
# Hash headings are the most widely used and support all six levels. Underline headings use === and --- lines under the text, a classic style for level 1 and 2 headings. Choose - Dash or * Star for bullets to match your project's style guide.
Example
The sample becomes "## Getting Started", then "Read the [full guide](https://example.com/docs) for **all** options.", a "### Steps" heading, a numbered list with *Settings* in italics, a quoted tip and a fenced code block. To turn Markdown back into HTML, use Markdown to HTML.
Who Converts HTML to Markdown?
Writers moving blog posts to Markdown-based platforms, technical writers migrating help centres into documentation sites, developers turning web content into readme files, students saving articles into note apps, and teams moving wiki pages between systems.
Step by Step
Paste the HTML, or open an .html file you saved from a page. Pick the heading and bullet style. Check the Markdown, especially links and code blocks, then download the .md file or copy it into your note app or editor. If you only need plain text without symbols, HTML to Text is the better choice.
Good to Know
Scripts and styles are dropped, and layout-only elements such as divs and spans are reduced to their text. Inline styles and colours cannot be expressed in Markdown and are not kept. The conversion runs in your browser using a helper file stored on this site, so nothing is sent anywhere.
Practical Tips
For the cleanest result, copy only the main content of a page, such as the article body, rather than the whole page with menus and footers. After converting, check images: their addresses may be relative, like /images/photo.jpg, and need the full website address in your new tool. Headings deeper than level three are rare in Markdown documents, so you may want to simplify very deep structures. Code blocks keep their exact spacing, which makes this tool handy for moving technical articles.
Private, Free and Instant
The converter is free and handles long pages up to 5 MB. There is no sign-up, no limit beyond the 5 MB file size and nothing to install. Everything runs in your browser, so documents, exports and private data are never uploaded or stored. Open a file from your device or paste text from another program, then copy the result or download it with the right file extension. It works on Windows, Mac, Linux, Chromebooks, iPhone and Android.
HTML to Markdown: Cleaning Web Content for Notes and Docs
Markdown is lighter than HTML and works well in notes, documentation and static site generators. Converting HTML lets you reuse a page's text without its markup.
What translates well
Headings, paragraphs, emphasis, links, images, lists, blockquotes and code blocks have direct Markdown forms. Simple tables convert to pipe tables.
What gets lost
Layout elements, classes, inline styles, scripts and complex nested structures do not exist in Markdown and are removed or flattened. Review the result and fix heading levels and list nesting.
Tip
Paste only the content area of a page to avoid navigation menus and footers. For the opposite conversion, use Markdown to HTML.
Frequently Asked Questions
Questions about HTML to Markdown