Google Doc → Markdown
Select everything in your Google Doc, copy, and paste it below. You get clean Markdown with smart quotes straightened and Google’s invisible spacing removed — ready for GitHub, your static site, or an LLM prompt.
How to use it
- In Google Docs, select all (⌘/Ctrl+A) and copy (⌘/Ctrl+C).
- Paste into the left panel here.
- Copy the clean Markdown from the right panel.
FAQ
What gets converted?
Headings, bold and italic, links, ordered and unordered lists, tables, code and blockquotes are converted to GitHub-Flavored Markdown. Images and comments are not included in a copy-paste.
Why is this cleaner than other converters?
Google Docs injects smart quotes, non-breaking spaces and zero-width characters. This tool straightens them so the Markdown is plain, portable text that diffs cleanly in Git.
Is anything uploaded?
No — conversion runs entirely in your browser. Your document never leaves your machine.
I want this to happen automatically, not by copy-paste.
md2gd keeps a Google Doc and a Markdown file in continuous two-way sync, so edits flow both ways without any manual export.
Converting the same doc over and over?
md2gd keeps your Markdown and the real Google Doc in two-way sync — edit in either, no copy-paste, no re-formatting.