1xA2ZOne Data. Any Format.
Live syncLocal-first · no data upload

Convert Google Docs to Markdown

Copy content in Google Docs, paste it into the left editor and the Markdown tab on the right shows the result. No sign-in and no access to your document is needed.

Runs entirely in your browser. Your data is never uploaded. Tiếng Việt

01

Editor

DocsWordGmailNotionMarkdown
0 words
Ready · LocalPaste here from Google Docs, Word, Gmail, Notion
02

Live Output

Markdown
SyncedEdit the code here; the editor on the left updates itself
0 characters
Every change is processed right in your browserUTF-8 · by xuanhieu.org

When you need to convert Google Docs to Markdown

Google Docs puts a distinctive block of HTML on the clipboard: all content is wrapped in a b tag with an id starting docs-internal-guid, bold text is a span with font-weight 700 and every link goes through a Google redirect address. The tool recognises this pattern, removes the wrapper, reads bold and italic from the styles, restores links to the real address and then writes Markdown.

How to do it

  1. In Google Docs, select the content and copy it with ⌘C or Ctrl+C. You do not need to share the document or sign in here.
  2. Paste into the Editor editor on the left with ⌘V or Ctrl+V. The tool says it recognised Google Docs as the source.
  3. Open the Markdown tab on the right (selected on this page). Check the links and lists.
  4. Press Copy result or Download file to get an .md.

A real example

In the example the link in Docs looks like google.com/url?q=..., yet the Markdown comes out with the real address example.com/launch. The two list items stay, bold and italic land in the right places, and the Arial font and 11pt size vanish.

Input · Google Docs · HTML on the clipboard

<meta charset='utf-8'><meta charset="utf-8"><b style="font-weight:normal;" id="docs-internal-guid-4f1c2b3a-7fff-1a2b-3c4d-5e6f70819293"><h1 dir="ltr" style="line-height:1.38;margin-top:20pt;margin-bottom:6pt;"><span style="font-size:20pt;font-family:Arial,sans-serif;font-weight:400;">Launch plan</span></h1><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial,sans-serif;">Goal: </span><span style="font-size:11pt;font-family:Arial,sans-serif;font-weight:700;">500 users</span><span style="font-size:11pt;font-family:Arial,sans-serif;"> in the first month. See the </span><a href="https://www.google.com/url?q=https://example.com/launch&amp;sa=D&amp;source=editors" style="text-decoration:none;"><span style="font-size:11pt;font-family:Arial,sans-serif;color:#1155cc;text-decoration:underline;">tracking sheet</span></a><span style="font-size:11pt;font-family:Arial,sans-serif;">.</span></p><ul style="margin-top:0;margin-bottom:0;padding-inline-start:48px;"><li dir="ltr" style="list-style-type:disc;font-size:11pt;font-family:Arial,sans-serif;" aria-level="1"><p dir="ltr" role="presentation"><span>Write the announcement</span></p></li><li dir="ltr" style="list-style-type:disc;font-size:11pt;font-family:Arial,sans-serif;" aria-level="1"><p dir="ltr" role="presentation"><span style="font-style:italic;">Email</span><span> the waiting list</span></p></li></ul></b>

Result · Markdown

# Launch plan

Goal: **500 users** in the first month. See the [tracking sheet](https://example.com/launch).

- Write the announcement
- *Email* the waiting list

Options worth changing

Bullet character
Docs draws round bullets while Markdown defaults to hyphens. Change it if the destination needs asterisks.
Heading style
Headings in Docs follow Heading 1 to 6. ATX keeps all six levels.
Escape special characters
Turn it on when the Docs text has many asterisks or underscores that you want to be sure never turn into formatting.

Common problems

Limits

Frequently asked questions

Can I download the Doc and open the file instead?

Yes. In Docs choose Download, Microsoft Word (.docx), then use Import file here. Copy and paste is quicker for a single passage.

Do tables in Docs come across?

Yes. A simple table becomes a GFM table. Merged cells are laid out on a grid.

Does it read suggestion mode?

No. Only the text you copy is converted.

Is my document sent anywhere?

No. The tool calls neither Google nor any server, and every step runs in the browser.

Related conversions

1xA2Z · Guide

Document statistics

Most frequent words