Google Docs to Markdown converter
Paste a share link into this Google Docs to Markdown converter and get clean markdown with headings, formatting, lists, tables and links kept, ready for GitHub, a CMS or a static site.
How to convert Google Docs to Markdown
Google Docs has a File › Download › Markdown option, but it means signing in, downloading and opening a file each time. This tool works from the link instead. It asks Google for the doc's public HTML export, reads the styles to find bold, italic, strikethrough and monospaced text, and converts it to markdown.
Headings, the document title, bullet and numbered lists, tables and links all come through. Google wraps every link in a redirect, so those are turned back into the real addresses. Comments, suggestions, page headers and footers, and font choices are not part of the output. Images are linked from Google's servers, so download them if you need permanent copies.
The doc must be shared as Anyone with the link, because the export is fetched through this site's server without your Google sign-in. Private docs return a sign-in page and the tool tells you so. For a private doc, select all, copy and use Paste to Markdown: the text never leaves your device that way. The conversion itself runs in your browser, and the markdown is not stored. The tool is free, needs no add-on or sign-up, and is not affiliated with Google.
To use it, open the doc, choose Share, set General access to Anyone with the link as a viewer, and copy the link. Paste it here and press Convert, or press Enter. The markdown appears with a preview and a source tab. Copy it, download it as a .md file named after the doc's first heading, or open it in the editor to make changes before you publish. If you change the doc, convert it again to pick up the edits.
Why use this Google Docs to Markdown tool
From a link
No add-on to install: paste the doc's link.
Formatting kept
Headings, bold, italic, strikethrough, lists, tables and links.
Clean links
Google's redirect links are turned back into the real addresses.
How to convert Google Docs to Markdown
- In Google Docs, set Share › General access to Anyone with the link.
- Paste the link here and press Convert.
- Copy or download the markdown.
Common uses for Google doc to md conversion
- Publishing a draft written in Google Docs to a Hugo, Jekyll or Astro site.
- Moving a spec or proposal into a GitHub repository as a README or docs page.
- Pasting a doc into a CMS that accepts markdown without losing headings.
- Turning shared meeting notes into markdown for Obsidian or Notion.
- Giving an AI tool a clean copy of a doc's content and structure.
- Keeping a markdown copy of a shared doc in version control so changes are easy to compare.
Frequently asked questions
Does it work with private documents?
No. For a private doc, copy its text and use Paste to Markdown.
Are images kept?
Images are linked from Google's servers; download them if you need permanent copies.
Can I go the other way?
Yes, with Markdown to Google Docs.
Can I convert Google Docs to Markdown on my phone?
Yes. In the Google Docs app, share the doc with link access, copy the link, and paste it here in your mobile browser. The result is the same as on a computer, and you can download the .md file or copy it into another app.
Does it work with Google Sheets or Slides?
No, only Docs. For a sheet, copy the cells and use Table to Markdown, or download it as .xlsx and use Excel to Markdown.
Why does it say the document is private?
The link opened a Google sign-in page instead of the document. Change Share › General access to Anyone with the link, then convert again. You can switch access back afterwards.
Open editor