Free HTML to Markdown

Convert HTML to Markdown

Turn an HTML page into clean Markdown for a README, documentation, Notion, Obsidian or an LLM prompt. The page is rendered first, so content built by JavaScript is included, then converted to GitHub-flavoured Markdown with tables.

  • ✓ Free, unlimited
  • ✓ No sign-up
  • ✓ No watermark
  • 🔒 Your files never leave your device

Files

Or paste HTML code

🔒 Runs in your browser. Your files never leave your device.

Markdown

Advanced options

Fixes for AI-generated pages

GitHub-flavoured Markdown from the rendered page (tables kept). Styling and charts are dropped.

Free tool by Dawwerni: gamified loyalty for businesses

How to convert HTML to Markdown

  1. Drop the .html file or paste the code.
  2. Choose Markdown: the text appears right away.
  3. Copy it, or download a .md file.
  4. Paste it into GitHub, Notion, Obsidian or your docs.

Tips for clean Markdown

  • Hidden elements, scripts, styles, forms and buttons are dropped automatically.
  • Slides are separated by --- so a deck becomes one readable document.
  • Images keep their original relative path when they come from a .zip.
  • Charts drawn on canvas cannot be represented in Markdown: export them with HTML to PNG.

Common problems and how the converter fixes them

Web fonts missing (Google Fonts, icon fonts)
The converter waits for document.fonts.ready before capturing. If a font still loads late, raise "Wait before capture" to 2–3 seconds.
Charts are blank or half drawn (Chart.js, D3, ECharts)
Chart.js animations are switched off right before capture and the page gets a settle delay. For heavy dashboards, wait 2–4 seconds.
Tailwind CDN page looks unstyled
The Tailwind Play CDN builds its CSS in the browser after load. The default 1.5 s wait covers it; slow connections may need 3 s.
Sections set to 100vh are giant or squashed
The page is rendered in a fixed viewport (1280 × 720 by default, or the size of your slides), so vh units stay stable on every page.
The header repeats on every page or hides content
Fixed and sticky elements are shown once, at their place at the top, instead of being stamped on every page.
Dark background turns white
Backgrounds are captured as they are; in Print mode the converter forces print-color-adjust: exact. With dark pages, use margins "None" so the page edge is dark too.
Content that appears on scroll stays invisible
The converter scrolls through the page first (scroll-reveal and lazy images load), then freezes CSS animations at their final state.
Images from other websites are missing
The one-click download can only draw images whose server allows it (CORS). Use Print / Save as PDF, or put the images in a .zip with the HTML.

Private by design: nothing is uploaded

Most "online converters" upload your file to their server. This one does not: the HTML is opened inside your browser, in a sandboxed frame, and the PDF, PowerPoint, images, Word or Markdown file is built on your device. There is no server to send it to.

The sandbox lets the page run its own scripts (charts, Tailwind, slide decks) but blocks it from reading this site, your cookies or your storage, from opening pop-ups and from navigating away. Fonts, CDN scripts and images that your page itself links to are downloaded by your browser, exactly as when you open the file.

Guides

Frequently asked questions

Which Markdown flavour is produced?

GitHub-flavoured Markdown: ATX headings (#), fenced code blocks, "-" bullets, tables, strikethrough and task lists.

Does it convert pages built with JavaScript?

Yes. Unlike a plain text converter, the HTML runs in a sandboxed preview first, so React or Tailwind pages and content added by scripts are included.

Can I import the result into Notion?

Yes. Paste the Markdown into a Notion page, or download the .md file and use Notion’s Markdown import. Tables and headings are recognised.

Is it private?

Yes. Conversion happens in your browser and nothing is uploaded.

What is lost in the conversion?

Styling (colours, layout), canvas charts and interactive widgets. Text, links, lists, code and tables are kept.

Other free HTML converters

Made by Dawwerni

We build gamified loyalty for cafés, restaurants and shops: customers scan a QR code, play a short game and come back. These converters are free and stay free.

See what Dawwerni does →