How to open Markdown in Google Docs
Google Docs can open and edit Markdown files while keeping them in Markdown format. Upload your file to Google Drive, then open it in Docs. For text copied from an AI chat, use Paste from Markdown.
Google’s 5 October 2026 update adds native editing, collaboration and Drive previews for .md and .markdown files. The steps below are for a desktop browser.
If you have an MD file
Follow Google’s Markdown Mode instructions:
- Upload your
.mdfile to Google Drive. - Double-click it to open it in Google Docs. An .md tag beside the title identifies Markdown Mode.
You edit the Markdown file stored in Drive. A separate file on your computer won’t automatically receive those edits.
If you don’t see the .md tag yet, check that you opened the uploaded Markdown file. Google announced a rollout to personal accounts and all Workspace customers starting 5 October, with up to 15 days for availability. No setting is needed to enable this file mode.
To read it in Drive, right-click the file and choose Open with → Preview. Switch between Markdown and Preview at the top to see the source or formatted document.
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.
To make a regular Google Doc, use Google’s Markdown paste method in a new document. It converts the pasted text without linking it to the original file. Undo any earlier paste that left unwanted symbols.
- 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**.
```If Chrome shows an “Enable copy, cut, and paste?” extension prompt, you can ask your AI for an MD file and use the file route.
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.
Google documents some limits in Markdown Mode: font colours, highlights and alignment are removed, smart chips become text or links, and HTML becomes plain text. Keeping the MD file type doesn’t guarantee that every feature survives editing.
Keep a backup before editing a document with diagrams, equations or other Markdown extensions, and check those parts against the original before sharing.
If you only need a reading view
Drive’s preview is useful when the file is already there. To read a local file without uploading it to Google, use a Markdown reader. Easy Markdown opens files in your browser with no account or installation, and files you open directly stay in the browser.
Updated 19 October 2026 using Google’s announcement and Help Center. We haven’t independently tested Markdown Mode. Our September tests covered the earlier import workflow and a paste attempt that stopped at Chrome’s extension prompt; paste hasn’t been retested since this update.