Paste to Markdown
Paste anything — HTML or plain text — and get clean markdown instantly. Auto-detects the format so you never have to choose.
How it works
Three steps. Five seconds.
Paste
Click "Paste clipboard" to grab content from your clipboard, or type / paste directly into the textarea. HTML and plain text are both accepted.
Auto-detect
The tool scans your input in real time. If it finds HTML tags, it converts them to clean markdown. If it is already plain text or markdown, it passes through unchanged.
Copy or download
Copy the markdown to your clipboard with one click, or download it as a .md file. Switch to the Preview tab to see the rendered result before copying.
Smart paste, zero friction
One input box handles HTML and plain text automatically — no mode switching, no configuration.
Auto-detects HTML
No need to choose a mode. The converter scans your input for HTML tags and switches automatically between HTML-to-markdown conversion and plain-text passthrough.
Detection uses a simple regex check for any HTML element tag. If your pasted content contains tags like <p>, <h1>, <table>, or <strong>, Turndown converts them to markdown. Otherwise the text is left exactly as-is.
Clipboard API support
The "Paste clipboard" button reads both text/html and text/plain MIME types from your clipboard, picking up rich text that a plain paste event would miss.
When you copy from a webpage, Word, or an email client, the clipboard holds multiple formats simultaneously. The Clipboard API can read the HTML version, giving a much cleaner conversion than a plain text paste would.
Instant conversion
Every keystroke updates the output in real time. There is no button to press — the markdown output is always current with whatever is in the input.
Conversion uses Turndown with the GFM plugin for GitHub-Flavored Markdown, giving you tables, strikethrough, task lists, and fenced code blocks without any configuration.
No upload, no signup
Everything happens in your browser. Your content never leaves your device. No account, no rate limits, no data retention.
The Turndown library runs as JavaScript in your browser tab. Nothing is sent to a server. You can verify this by watching the Network tab in browser DevTools — zero outbound requests.
Frequently asked questions
Everything you need to know.
How does auto-detection work?
The converter checks whether your input contains any HTML element tags (a regex scan for <tagname patterns). If tags are found, Turndown converts the HTML to markdown. If no tags are found, the content is passed through unchanged — useful if you are pasting plain text or already-written markdown.
Need a polished PDF from your markdown?
Paste markdown into our editor, apply professional themes, and export to PDF in one click.