Google Docs to Markdown Converter
This Google Docs to Markdown converter turns text copied from a Google Doc into clean Markdown. Select the text, copy it and paste it here: headings, bold, italic, lists, tables and links come through, with the real link addresses instead of Google’s redirects. No add-on and no setting to turn on.
- No add-on needed
- Stays on your device
How to convert a Google Doc to Markdown
Three steps, with nothing to install.
-
Select and copy in Google Docs
Select the part you want, or press Ctrl+A (⌘+A on a Mac) for the whole Doc, then press Ctrl+C (⌘+C).
-
Paste it here
Click in the box and press Ctrl+V (⌘+V). The Markdown appears beside it.
-
Copy or download the Markdown
Click Copy Markdown or Download .md.
This copied Doc has 3 headings, a list with a nested item and a struck-through item, a 3-column table and a link. The link’s google.com/url address is replaced with the real one, the bold header row loses its extra ** marks, and the line in Courier New becomes inline code.
Ways to get Markdown out of Google Docs
Google added Markdown export to Docs in July 2024. Here’s how the options compare.
| Way | How | Good to know |
|---|---|---|
| This converter | Copy in Docs, paste here | Works for any part of a Doc, with no setting to change. Tables, nested lists and code font are kept. |
| Download as Markdown | In Docs: File › Download › Markdown (.md) | Saves the whole Doc as a .md file. |
| Copy as Markdown | Turn on Tools › Preferences › Enable Markdown, then select text, right-click › Copy as Markdown | Off until you turn it on. |
| Docs to Markdown add-on | Install it from the Google Workspace Marketplace | Needs access to your Google account. |
Why pasted Google Docs text needs converting
When you copy from Google Docs, the clipboard gets HTML in which every piece of formatting is a style: bold is font-weight:700, italic is font-style:italic, and the whole selection is wrapped in a <b> tag that isn’t bold at all. Links point to google.com/url?q=… instead of the page itself.
Most HTML-to-Markdown tools turn that wrapper into one long bold block, or miss the formatting. This converter reads the styles, drops the wrapper and takes the real address out of each link.
Google Docs to Markdown Converter FAQ
Can Google Docs export Markdown?
Yes. File › Download › Markdown (.md) saves the whole Doc. Copy as Markdown, for a selection, works after you turn on Enable Markdown in Tools › Preferences.
Do I need an add-on?
No. Copy the text in Google Docs and paste it here.
Why are my links google.com/url addresses?
Google Docs sends links through a redirect when you copy. The converter takes the real address out of the redirect.
Are tables and nested lists kept?
Yes. Tables become Markdown tables with the first row as the header, and nested list items keep their indent.
Can I convert the whole Doc?
Yes. Press Ctrl+A (⌘+A on a Mac) in the Doc to select everything, copy it and paste it here. Comments aren’t copied with the text.
Is my text uploaded?
No. The conversion runs in your browser, on this page, so nothing you paste is sent to a server or saved. Closing the page clears it.
Sources and references
- Use Markdown in Google Docs, Slides & Drawings, Google Docs Editors Help
- Import and export Markdown in Google Docs, Google Workspace Updates
More markdown converters tools
- Convert Markdown to Google Docs Converter Paste Markdown into Google Docs with headings, lists and tables intact. Open tool
- Convert Rich Text to Markdown Converter Paste formatted text from Word, email or the web and get Markdown. Open tool
- Convert DOCX to Markdown Converter Convert a Word .docx file to Markdown with its headings, lists and tables. Open tool
- Convert Notion to Markdown Converter Clean Markdown from Notion: no page IDs in links, callouts as quotes. Open tool