HTML to Markdown Converter

Paste formatted text from any web page, doc, or email, or paste HTML source, and get clean markdown back.

Click here and paste (Cmd+V or Ctrl+V) text copied from a web page, Google Docs, Word, Notion, or an email.

How to Use This Tool

1

Copy content

Copy from a web page, Google Docs, Word, Notion, or an email.

2

Paste here

Paste into the formatted text box, or switch to HTML source.

3

Copy markdown

Copy the markdown or download it as a .md file.

Cleaner Than Copy and Paste

Text copied from Google Docs, Word, and web pages carries a lot of hidden markup: wrapper spans, inline font declarations, Office namespaces, and empty paragraphs. This converter strips all of it and keeps only the structure that matters.

  • Bold and italic set through inline styles become ** and *.
  • Tables without a header row get their first row promoted to the header.
  • Code blocks keep their language when the HTML names one.
  • Checkbox lists become - [x] task items.

Frequently Asked Questions

How do I convert a web page or URL to markdown?

Open the page, select the part you want, copy it, then click the "Paste formatted text" box here and paste. The browser hands over the HTML behind your selection and it is converted to markdown immediately. There is no URL box because browsers block one site from reading another, and copying a selection skips the menus, ads, and footers anyway.

How do I convert Google Docs to markdown?

Copy from Google Docs and paste into the formatted text box. Headings, bold, italics, links, lists, and tables convert, and the wrapper markup Google Docs adds to the clipboard is removed. For a whole .docx file, use the Word to Markdown converter.

How do I convert rich text to markdown?

Copy the formatted text from any app, whether Word, Notion, Apple Notes, an email, or a web page, and paste it into the formatted text box. Rich text reaches the clipboard as HTML, so the same converter handles all of it.

Can I paste raw HTML source?

Yes. Switch to the HTML source tab and paste or type HTML. The markdown updates as you type.

Which markdown flavor is produced?

GitHub Flavored Markdown: ATX headings (#), dash bullets, fenced code blocks with languages, pipe tables, ~~strikethrough~~, and [x] task lists. It renders on GitHub, GitLab, Obsidian, Notion, and most static site generators.

Why would I want markdown instead of HTML?

Markdown is easier to read, diff, and edit, and it is the format that AI assistants handle best. Converting a page to markdown before pasting it into ChatGPT or Claude uses fewer tokens and keeps the structure.

Is the pasted content uploaded?

No. Conversion runs in your browser and nothing is sent to a server.

Markdown to Slack

Convert between standard Markdown and Slack mrkdwn format instantly. Supports bold, italic, links, code blocks, and more. Works in both directions.

Remove Em Dashes

Replace every em dash in ChatGPT, Claude, or Gemini output with a comma, period, colon, or hyphen. Also fixes curly quotes and invisible characters.

Markdown to Word

Turn markdown into a real .docx with Word headings, lists, tables, and code blocks. Download the file or copy and paste straight into Word.

Markdown to PDF

Paste markdown or open an .md file and download a clean PDF with tables, code blocks, math, and clickable links. No watermark, nothing uploaded.

Markdown to Google Docs

Paste AI output or a README into Google Docs with headings, tables, and checklists intact. Copy formatted text or download a .docx for Drive.

Markdown to Rich Text and HTML

Render markdown as formatted text you can paste into any editor, CMS, or form that does not understand markdown. Copy as rich text or HTML.

Markdown to Email

Convert markdown into email-safe HTML with inline styles. Paste formatted text into Gmail, Outlook, or Apple Mail, or copy the HTML source.

Markdown to Confluence

Get markdown into Confluence with tables, code blocks, and headings preserved. Copy formatted text for Cloud, or wiki markup for Server and Data Center.

Markdown to Jira

Convert markdown to Jira wiki markup for tickets, comments, the REST API, and automation rules. Handles tables, code blocks, and nested lists.

ChatGPT to PDF

Save a ChatGPT answer as a PDF with typeset equations, tables, and code. Accepts the copy button or a selection and strips citation markers.

ChatGPT to Word

Export a ChatGPT answer to a .docx where LaTeX math becomes native, editable Word equations instead of raw code.

Word to Markdown

Convert a Word .docx file to clean markdown in your browser. Keeps headings, lists, tables, links, and code. The file is never uploaded.

PDF to Markdown

Extract a PDF into structured markdown with headings, paragraphs, and lists, ready for ChatGPT, Claude, or your notes. Runs entirely in your browser.