Google Docs Markdown: edit .md files natively

Google Docs and Drive now handle Markdown files natively

Opening an .md file, before and after

Before
.md → import as a Doc → edit → export back to .md
From October 2026
.md → edit in Docs directly (the file stays .md in Drive)

Google Docs now edits .md and .markdown files in place instead of turning them into Docs files first. Until this update, opening one meant importing it as a Doc, and Google says that step tended to change the formatting, lose comments and leave copies scattered around. Google ties the change to AI work, since Markdown is the plain-text format large language models lean on to keep headings, lists and tables intact.

Open and edit md files in Google Docs without converting

Double-click an .md file in Drive and it opens in Google Docs as the same .md file. Docs switches to what Google calls Markdown Mode and puts an .md tag beside the document title, so it is clear which kind of file is open. Nothing is saved as a Google Docs file along the way.

Editing works as it does in any other Doc, and you can apply headings or bold without typing the symbols yourself. Comments, sharing and several people editing at once all carry over, and Google says comments and formatting are still there when the file is reopened in Docs or another tool. Google also pitches the format for teams where people and AI agents work on the same file.

Drive can now display an .md file with its formatting applied rather than as raw symbols. Right-click the file, choose Open with, then Preview, and the viewer renders tables and makes links clickable. A switch at the top flips between the formatted view and the raw Markdown.

The preview is read-only. To change anything, open the file in Google Docs.

Open and change .md files in Google Docs without changing the file type. They stay .md files. / Your file does not convert to a Google Docs file. It stays an .md file, kept in Drive. / At the top of the viewer, you can switch between / To edit the file, open it in Google Docs. — From the sections on opening .md files in Docs and previewing them in Drive
View official source →

Native Markdown support reaches all accounts within 15 days

Rollout and availability, per Google Workspace Updates

Start date
October 5, 2026
Time to appear
Up to 15 days (gradual)
Who gets it
All Google Workspace customers and personal Google accounts
Settings
None for admins or users

The rollout began on October 5, 2026, and Google allows up to 15 days for it to show up everywhere. Because accounts receive it in stages, a colleague may see it days before you do.

The md file feature rolls out within 15 days

Personal Google accounts get it with no setting to turn on

Personal Google accounts are covered, along with every Google Workspace customer. A work or school account is not required to use it.

Google lists no setting for users and no control for admins. An organization cannot hold the feature back, and an individual has nothing to enable once it lands.

There is no admin control for this feature. / There is no end user setting for this feature. / Gradual rollout (up to 15 days for feature visibility) starting on October 5, 2026 / Available to all Google Workspace customers and users with personal Google accounts — From the rollout and availability details
View official source →

Google Docs formatting that Markdown files drop

What changes when you edit an .md file, per Google's help page

Smart chips
Become text or links
Web formatting
Becomes plain text
Colors and layout
Font colors, highlights and alignment are removed

Anything Markdown has no syntax for is lost once you edit and save the file as .md. An .md file is plain text plus a few symbols, so styling that exists only inside Docs has nowhere to be stored.

Smart chips become text and font colors are removed

Google's help page says smart chips are turned into plain text or links. HTML formatting pasted from the web becomes plain text, and font colors, highlights and text alignment such as centering are removed outright.

A document that relies on colored text for emphasis will lose that emphasis on save. Headings, bold and other formatting that Markdown can express stay as they are.

Smart chips change to text or links / Web formatting (.HTML) turns into plain text / Font colors, highlights, and text alignment are removed. — From the list of Docs formatting that .md files cannot keep
View official source →

Tables and images may not convert cleanly in md files

Google does not document this, but the Japanese tech site gihyo.jp tested it on October 6 and reported limits. In that test, Docs could not handle Markdown containing a table without a header row or a description list (terms paired with definitions).

Images behaved differently too. Where an image had been placed, only a link remained, and the image itself was appended to the end of the file as Base64, an encoding that writes the picture out as a long run of text. A document with many images therefore ends in a very long block of characters.

編集部で試したところ、10月6日現在、見出し行 / のない表組、および記述リスト / のあるMarkdownには対応していない。 / 画像ファイルを埋め込むと、埋め込み位置にはリンクのみが残り、ファイルの末尾にBase64形式にエンコードされた画像ファイルが追加される。 — From gihyo.jp's test of tables, description lists and images
View official source →

Restore lost formatting from version history

Restoring an earlier version brings the dropped formatting back. Google's help page points to version history for this. Pick the last version saved before the .md edit and restore it.

Some Google Docs features might change when you edit an .MD file. To restore the original click — From the note on changed formatting and how to restore it
View official source →

2024 import, export and paste options still convert to Docs

The 2024 features and the October 2026 feature

From July 2024
Paste from Markdown, copy as Markdown, import and export .md (each converts to or from a Doc)
From October 2026
Open, edit and co-edit .md files with no conversion

The 2024 tools move content between Markdown and the Docs format, while the new feature never leaves Markdown. On July 16, 2024, Docs gained four options: converting pasted Markdown, copying Docs content as Markdown, downloading a Doc as .md and importing an .md file as a Doc. Every one of them converts, which is the step this update removes.

Paste from Markdown and copy as Markdown need a preference

The Markdown paste and copy options only appear after you turn on the Enable Markdown preference. Once that box is checked, "Paste from Markdown" and "Copy as Markdown" become available.

Import and export work out of the box. You can download a Doc as .md or open an .md file as a Doc without changing any setting.

Convert Markdown to Docs content on paste / Copy Docs content as Markdown / Export a Doc as Markdown (from File > Download) / Import Markdown as a Doc / The import and export options are ON by default. — From the list of four features added in 2024
View official source →

Convert a Word file to Markdown before upload

The update does not cover Word documents (.docx), so convert one to Markdown first if you want to edit it this way. The new editing applies only to files ending in .md or .markdown.

The sakutto Word to Markdown converter turns a .docx into Markdown while keeping headings, tables and lists. It runs in your browser, so the file is not uploaded anywhere. If the result is headed for a web page or an email, the Markdown to HTML converter produces the HTML.

Edit .md files in Docs instead of converting them

Google Docs Markdown support has moved from converting .md files to editing them directly. The rollout started on October 5, 2026, covers personal accounts and needs no setting. Colors and highlights do not survive in an .md file and smart chips turn into text, so documents that depend on them are best kept as regular Docs.

FAQ

Why can't I edit .md files in Google Docs yet?
The feature is still reaching accounts in stages. It started on October 5, 2026, and Google allows up to 15 days before everyone sees it. There is nothing to switch on, so the only option is to wait until it arrives.
Does native Markdown editing work on a personal Google account?
Yes. Personal Google accounts get it alongside every Google Workspace customer, so a work or school account is not required.
How do I get back font colors lost in an .md file?
In version history, restore a version saved before the edit. Colors, highlights and alignment are dropped whenever the file is saved as Markdown, so restoring an earlier version is the way back.