Paste to Markdown

Copy from Word, Google Docs, Notion, Confluence, a spreadsheet or any web page, then press Ctrl+V right here. This paste to Markdown converter cleans the Office and web junk out of your clipboard and hands back clean Markdown — no upload, no sign-up.

Press Ctrl+V

⌘V on a Mac — anywhere on this page, no need to click first

Copy from Word, Google Docs, Notion, Confluence, a spreadsheet or any web page. On a phone, tap this box and long-press to paste.

What Is the Paste to Markdown Converter?

Paste to Markdown converts formatted content straight off your clipboard. Copy from Word, Google Docs, Confluence, Notion, a spreadsheet, or any web page, press Ctrl+V, and the Markdown is there — no file to save, nothing uploaded.

  • It reads the rich copy, not the plain one: Every one of those apps puts an HTML version of your selection on the clipboard alongside the plain text. That copy carries the real headings, bold, links, lists, and tables.
  • Editor chrome is stripped: The class soup, inline styles, empty spans, tracking wrappers, and non-breaking spaces that Word and Docs attach to a copy are removed before conversion.
  • Tables and nested lists survive: Spreadsheet ranges and document tables become GFM pipe tables, and multi-level bullets keep their depth rather than flattening to one level.
  • Nothing leaves the tab: Clipboard handling, cleanup, preview, and download all run on your device, which matters when the thing you pasted came out of an internal document.
The paste to markdown converter with rich pasted content on the left — headings, a table, a quote — and clean Markdown on the right.
What you pasted on the left, the Markdown it became on the right.

Paste to Markdown From Word, Docs, Sheets, and the Web

Every editor copies its own dialect of HTML, so a paste to Markdown converter has to recognise the source before it can decide what to throw away.

Microsoft Word

Word copies a full HTML document: mso- style declarations, <o:p> tags, XML namespaces, and list items faked as ordinary paragraphs with a bullet character in front.

mso styles, <o:p>, Word list paragraphs → real Markdown lists

Google Docs

Docs wraps the whole selection in <b style="font-weight:normal">, writes bold as font-weight:700 on a span, and routes every link through google.com/url?q=.

the fake bold wrapper, styled spans, redirect links → **bold** and clean URLs

Excel and Google Sheets

Spreadsheets copy a real HTML table, but with the header row as plain cells and a pile of column styling attached to it.

cell styling and widths → a GFM pipe table with a header row

Notion and Confluence

Both copy block-level HTML with their own data attributes and class names wrapped around otherwise ordinary headings, lists, and code blocks.

block ids and classes → headings, lists, and fenced code

Web pages and articles

A selection from a browser brings inline CSS, tracking attributes, and sometimes scripts along with the text you actually wanted.

inline CSS, scripts, iframes, and handlers → the readable content

Email and chat

Mail clients rewrite links through safelinks or l.facebook.com, and quote earlier messages in nested tables.

redirect wrappers → the destination URL

Paste to Markdown in 4 Steps

Copy, paste, check, copy again — the whole conversion takes about as long as reading this sentence.

1

Copy from anywhere

Select content in Word, Google Docs, Notion, Confluence, a spreadsheet, an email, or a web page and copy it as usual.

2

Paste to Markdown

Press Ctrl+V or ⌘V on this page — no need to click into the box first. Conversion runs the instant the clipboard arrives. On a phone, tap the paste box and long-press to paste.

3

Check what was cleaned

The status bar names the source app and reports what was removed: inline styles, Office tags, comments, scripts, and unwrapped redirect links.

4

Copy or download the Markdown

Switch to the preview tab to confirm the result, then copy the Markdown or save it as a .md file for your README, blog, wiki, or notes vault.

Paste to Markdown in GitHub, VS Code, and Obsidian

Some tools already convert a paste for you. Here is what each does, and where this page still helps.

GitHub converts pastes already

Paste rich text into a GitHub issue, PR, or comment box and GitHub converts it to Markdown for you. Paste a URL over selected text and you get a Markdown link. What GitHub will not do is clean Word's mso- noise or unwrap redirect links — paste here first when the source is a document.

VS Code: Paste as Markdown

The Paste as Markdown extension adds a command that converts the clipboard's HTML while pasting into a .md file. It is the closest thing to this page inside an editor, and it uses the same Turndown engine underneath.

Paste as Markdown on the VS Code Marketplace

Obsidian and note apps

Obsidian converts pasted HTML to Markdown natively, and Ctrl+Shift+V pastes as plain text when you want the opposite. Where a note app converts nothing — or mangles a Word paste — paste to Markdown here first and paste the result in as plain text.

Build it yourself

Turndown plus turndown-plugin-gfm is the library behind most paste to Markdown tools, including this one. Read the clipboard's text/html flavour in a paste event, clean it, and hand it to Turndown — the whole flow fits in a page of JavaScript.

When Pasting Is Not the Right Tool

This tool covers a selection. For whole files, plain-text notes, or a table you are building from scratch, these converters do a better job.

Not sure which flavor of Markdown you need on the other side? The Markdown cheat sheet covers the syntax, and ``` code fences, tables and task lists all survive a paste unchanged.

Paste to Markdown Frequently Asked Questions

Straight answers about pasting from Word and Google Docs, tables, mobile, editor extensions, and what happens to your clipboard.

How do I paste to Markdown?
Copy formatted content from Word, Google Docs, Notion, a spreadsheet, or a web page, open this page, and press Ctrl+V (⌘V on Mac). The clipboard's HTML is cleaned and converted the moment it arrives, and the Markdown appears on the right ready to copy. You never have to click into the box first.
Is this converter free?
Yes — it is free, unlimited, and needs no account. The conversion runs in your browser, so there is no upload queue and no per-document cost.
Does my clipboard content get uploaded?
No. The whole paste to Markdown flow is handled in the page: the cleanup and conversion run in local memory, and the result is rendered on the same screen. Nothing is sent to a server, which is the point when the paste comes from a work document or private notes.
How do I use it on mobile?
Paste to Markdown on mobile works the same way: tap the paste box so the keyboard appears, then long-press and choose Paste. iOS and Android both hand the app the formatted flavour of the clipboard, so a copy from an email or a web page keeps its structure. The layout switches to tabs on small screens so the Markdown gets the full width.
Does it convert a pasted table to a Markdown table?
Yes. A range copied from Excel, Google Sheets, or Numbers arrives as an HTML table, and so does a table copied from a web page. Both become a GFM pipe table with a header row and a delimiter row. If the header row was copied as ordinary cells — which spreadsheets do — it is promoted automatically.
Why does pasting from Word usually produce messy Markdown?
Word does not put clean HTML on the clipboard. It puts a whole document with mso- style declarations, XML namespaces, <o:p> spacer tags, and list items written as ordinary paragraphs that start with a bullet character. A generic converter turns all of that into noise. This page strips it first, and rebuilds Word's fake list paragraphs into real Markdown lists.
Why is everything bold when I paste from Google Docs?
Google Docs wraps the entire selection in <b style="font-weight:normal"> — a bold tag that is not actually bold. Converters that only look at tag names turn the whole passage into **bold**. The wrapper is detected and unwrapped here, and the real emphasis, which Docs writes as font-weight:700 on a span, is converted instead.
What happens to Google Docs redirect links?
Google rewrites links on copy as google.com/url?q=<destination>. Outlook does the same with safelinks.protection.outlook.com, and Facebook and Slack have their own. Each of those is unwrapped back to the destination URL, so your Markdown links are clean and stable.
Can I paste plain text with no formatting?
Yes. When the clipboard has no HTML flavour, paste to Markdown falls back to structuring the raw text: capitalised lines become headings, bullet characters become list items, tab-separated rows become tables, and bare URLs become links. The dedicated text to Markdown converter exposes those rules as individual toggles.
Is there a paste to Markdown extension for VS Code?
Yes — the Paste as Markdown extension brings paste to Markdown into the editor, converting the clipboard's HTML while pasting into a Markdown file. It is a good fit when you live in the editor; this page is the fit when you are in a browser, need the Office cleanup, or are on a machine where you cannot install extensions.
Does GitHub convert pasted text to Markdown?
GitHub converts rich text pasted into issue, PR, and comment boxes, and turns a pasted URL into a Markdown link when text is selected. It does not clean Word or Google Docs artefacts, so pasting a document straight into a GitHub comment can still carry odd formatting. Paste it here first, then paste the Markdown into GitHub.
What Markdown flavor does the output use?
Paste to Markdown outputs GitHub Flavored Markdown — ATX headings, dash bullets, fenced code blocks, inline links, pipe tables, task lists, and strikethrough. It renders correctly on GitHub and GitLab, in Obsidian and Notion imports, and in every common static-site generator.
Are scripts in copied web content dangerous?
Copied HTML can contain scripts, iframes, and inline event handlers. They are removed before the fragment is displayed as a preview, so nothing from the clipboard runs on this page.

Paste to Markdown Right Now

Scroll back to the top, press Ctrl+V, and your clipboard becomes clean Markdown — no upload, no account, nothing to install.