HTML to Markdown Converter
Turn HTML into tidy Markdown with headings, lists, links, code blocks and tables converted. Free, no sign-up, and your files never leave your device.
Free, with no sign-up and no watermark. The file is processed in your browser and never uploaded.
Paste HTML and get tidy Markdown: headings, bold and italic, links, images, lists, code blocks, strikethrough and tables are converted. Choose #-style or underlined headings and your preferred bullet character. Scripts and styles are removed first, and nothing on the page is run or loaded.
Step by step
- Paste HTML: Add it to the HTML box, or use Upload file for an .html file.
- Pick a style: Choose Headings (# Heading or Underlined) and Bullets (-, * or +).
- Tables and images: Tick Tables as Markdown tables to convert tables, or untick it to keep them as HTML. Untick Keep images to drop images.
- Copy: Click Copy or Download (.md) on the Markdown box.
Handy for
Moving content
Bring web pages or CMS posts into a Markdown-based site or notes app.
Documentation
Convert HTML docs into README files.
Note-taking
Save articles as plain Markdown notes.
Cleaning
Strip messy HTML formatting down to the essentials.
Good to know
Tables with merged cells or nested tables are flattened to simple rows; the first row becomes the header.
Inline styles, classes and layout markup are dropped — Markdown only keeps structure.
Questions
Does it fetch a web page from a URL?
No. Browsers can’t load other sites’ pages directly, so copy the page’s HTML (e.g. with View Source) and paste it in.
Are scripts run?
No. The HTML is parsed in an inert document and scripts, styles and embedded frames are removed before converting.
Is my text sent anywhere?
No. Everything is processed by your browser on your own device — nothing you type or upload is sent to a server, so it is safe to use with private notes, drafts and work documents.
More Text Tools tools
- HTML to Plain Text — Strip tags from HTML and keep readable plain text with line breaks, list bullets and optional link addresses.
- Word Counter — Count words, characters, sentences and paragraphs as you type, with reading time and top keywords — works with any language.
- Character Counter — Count characters with and without spaces, check them against a limit and see how many SMS messages the text needs.
- Case Converter — Switch text between upper, lower, title and sentence case, or turn it into camelCase, snake_case and kebab-case.
- Fancy Text Generator — Turn plain text into bold, italic, script, bubble and other Unicode styles you can paste into bios, posts and messages.
- Text Compare (Diff Checker) — Compare two versions of a text side by side and see every added and removed line, word or character highlighted.