Blog
Image Tools
Crop Image
Resize Image
Rotate & Flip
Compress Image
Photo Filters
Meme Generator
GIF Maker
Collage Maker
Watermark Image
Blur Image
Convert
JPG to PNG
PNG to JPG
HEIC to JPG
DNG to JPG
Image Converter
PDF to JPG
JPG to PDF
Merge PDF
Compress PDF
MP4 to MP3
Video to GIF
MOV to MP4
MP3 Converter
Video & Audio
Trim Video
Crop Video
Remove Audio
Text to Speech
Audio Cutter
MP3 Compressor
Design & Editor
Resume Builder
Design Editor
Add Text to Photo
Social Media Resizer
QR Code Generator
Signature Generator
More Tools
Word Counter
Password Generator
Random Picker
Dice Roller
Spinner Wheel
Favicon Generator
Barcode Generator
Browse All Tools

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.

100% Free
No Sign-up
Code Blocks
Style Options
Private · Nothing Saved Online
HTML to Markdown
Your Text
Input Characters—
Output Characters—
Lines In → Out—
Input Words—
Type or paste in the input box, or open a file. The result updates as you type.
Markdown to HTML
HTMLType, paste or drop a file
Markdown
Input—
Result—
Status—
Settings forYour content
Headings
Bullets
File Name

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. 1

    Add your HTML

    Paste code or open an .html file.

  2. 2

    Pick the style

    Heading and bullet style.

  3. 3

    Check the Markdown

    Links and code included.

  4. 4

    Download .md

    Or copy it.

What You Get

Clean Markdown
Readable output
Code Blocks
Fenced with ```
Style Options
Headings and bullets
Instant
As you paste
Private
Nothing is uploaded
Any Device
Phone or computer

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 ![description](address), 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

How do I convert HTML to Markdown?

Paste the HTML or open an .html file and download the .md file.

Are links and images kept?

Yes, in the standard [text](address) and ![alt](address) forms.

What happens to tables?

They are kept as HTML, which Markdown supports.

Can I choose the heading style?

Yes. Pick # hash headings or underline headings.

How large can my file be?

Up to 5 MB of text, which covers very long documents and tables.

Is my content uploaded?

No. Everything happens in your browser on your own device. Nothing is sent or stored.