Convert a Google Doc to Markdown by Pasting It
Google Docs puts a b style=font-weight:normal wrapper around every copied selection. Left in place it bolds the entire document. This tool removes it before converting.
Direct answer
Select the content in the Google Doc, copy it, then paste into the box above. The tool reads the clipboard's HTML flavour, removes the <b style="font-weight:normal"> wrapper Google Docs adds around the whole selection, unwraps its per-run spans, and converts the rest to Markdown. Without that cleanup, a naive converter marks the whole document as bold.
Open the Rich Text to Markdown converterWhen to use this
- A doc needs to become a README, a blog post, or a repository file.
- A previous paste-to-Markdown attempt produced text wrapped in asterisks from top to bottom.
- You want the doc structure without installing a Docs add-on or exporting a file.
Steps
- Open the Google Doc and select the content with Ctrl+A or a manual selection.
- Copy with Ctrl+C.
- Click the paste box above and press Ctrl+V.
- Leave 'Clean up extra blank lines' on; Docs emits an empty paragraph between blocks.
- Copy the Markdown, or download it as a .md file.
Example conversion
(A Google Docs selection: a title, two paragraphs, and a numbered list)
# Launch plan We ship on Thursday. 1. Freeze the branch 2. Run the smoke tests 3. Publish the release notes
Common mistakes
- Do not use File, Download, Web page and then paste that HTML here. That path is for the HTML to Markdown tool; this one wants the copied content itself.
- Do not expect images to work. A copied Docs image points at a googleusercontent URL that may need a signed-in session, so replace those references.
- Do not expect suggestions or comments. They are not part of the copied selection.
- Do not paste from the Docs mobile app and expect the same result; the mobile clipboard often carries plain text only, and the tool then falls back to that text unchanged.
FAQ
- Why does pasted Google Docs content come out entirely bold?
- Google Docs wraps the copied selection in a <b> element with an inline style of font-weight:normal. Converters that read the tag and ignore the style treat everything inside as bold. This tool rewrites that wrapper before conversion.
- Does this need a Google account or an add-on?
- No. It reads what your clipboard already holds after a normal copy. There is no Google sign-in and no add-on to install.
- What happens when the clipboard has no HTML?
- The tool falls back to the plain-text flavour and shows it with invisible characters removed. The status line under the paste box tells you which flavour was used.
Related paste-to-Markdown guides
How to Paste a Word Document Into Markdown
Copy from Word, paste into the tool, get Markdown. The clipboard already carries an HTML version of the selection, so headings, lists, and tables survive the trip.
Convert an Email to Markdown Without the Formatting Junk
Outlook and Gmail messages are HTML with inline styles, mso- declarations, and non-breaking spaces. Paste the message body here to get readable Markdown instead.
Copy a Notion Page to Markdown Without Exporting
Notion's export produces a zip file. For one page, selecting the blocks and pasting them here is faster and gives you Markdown directly.
Clean Up Formatting Junk From Pasted Text
mso- styles, empty spans, non-breaking spaces, zero-width characters, and stray blank lines all ride along in a rich-text paste. Here is what the tool removes and what it keeps.