How to open Markdown in Google Docs
Google Docs can turn Markdown into an editable document. Yet a regular paste may leave Markdown’s ## and asterisks scattered through the text. The difference is which command you use.
To bring Markdown into Google Docs, import an .md file through File → Open → Upload, or use Paste from Markdown for copied text. Both features are built into Docs.
If the document is still in your AI chat, you can ask for an .md file to use the import route. The steps below are for a desktop browser.
If you have an MD file
Importing is the most direct route when you already have a file:
- In an open Google Doc, choose File → Open → Upload.
- Select your
.mdfile, or drop it into the upload area. It opens as a new Google Doc.
If the file is already in Google Drive, right-click it and choose Open with → Google Docs.
Our test file arrived with headings, bold text, a list, a table and its link intact. The headings also appeared in the document outline. You get a Google Docs copy in your account; the original Markdown file stays unchanged.
If you copied text from your AI
If an ordinary paste preserved your headings and lists, there’s nothing to convert. Use Paste from Markdown when Docs shows the formatting marks as text instead.
Chrome may ask you to install an extension. We encountered an “Enable copy, cut, and paste?” dialog even with Markdown enabled. It suggested ⌘V on Mac as an alternative, but that ordinary paste left our Markdown symbols visible. To avoid the clipboard setup, use the file-import route.
Undo an earlier paste if it left unwanted symbols. Then follow Google’s Markdown paste method:
- Go to Tools → Preferences, check Enable Markdown and choose OK. This enables the command; it doesn’t convert text already in the document.
- Copy the Markdown text, leaving out any code-block wrapper around the entire document, as shown below.
- Place the cursor where you want the text and choose Edit → Paste from Markdown. You can also find the command in the right-click menu.
```markdown
### Weekend plan
Bring **comfortable shoes**.
```Check the result before sharing
A document can look tidy while losing some of its structure. Check that headings appear in the outline, list items stay grouped, table values sit in the right rows and columns, and links point to the right places. Those checks matter more than whether the font matches the original.
Our import test covered a short text document, not diagrams, equations or every Markdown extension. If your document includes those, compare them with the original before you share it. Keep the Markdown copy until you’re happy with the result.
If you only need a reading view
Google Docs makes sense when you want to revise the text or work on it with someone else. For a report you only want to read, a Markdown reader skips the import. Our free reader opens the document in your browser, with no account or installation. Files you open directly stay in the browser.
File import tested on 23 September 2026. Our Chrome paste test on 22 September stopped at the extension prompt; we didn’t install it or complete formatted paste. Google’s Markdown feature announcement covers native import and paste support.