Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Convert a Google Doc to Markdown or HTML. This Docs add-on converts a Google Doc to simple Markdown and/or HTML.
Docs to Markdown (gd2md-html) is a free Google Docs add-on that converts a Google Doc into simple, readable Markdown or HTML text.
Docs to Markdown is a Google Workspace add-on for Google Docs that takes the document you are currently editing and produces clean Markdown or HTML output. It runs as a sidebar inside Google Docs and requires access only to the current document plus permission to create that sidebar. The add-on is open source under the Apache 2.0 license, and its source repository is evbacher/gd2md-html on GitHub.
Install the add-on from the Google Workspace Marketplace, open the Docs to Markdown sidebar in a Google Doc, then choose Markdown or HTML output. You can convert the whole document or first select a section and convert only that part. The add-on uses the document's applied styles, so headings need to be real Heading levels to appear as headings in the output.
Yes, it is a free Google Docs add-on. You install it from the Google Workspace Marketplace without paying anything, and it is released under the Apache 2.0 open-source license.
It supports two output formats: Markdown and HTML. You pick which format to generate when you run the conversion.
The add-on asks for two permissions only: access to the current Google Doc so it can read and convert it, and permission to create a sidebar that serves as its interface. It does not request access to other files or account-wide permissions.
Yes, you can select a portion of the document and convert just that selection, leaving the rest of the document unchanged.
Use Google Docs' built-in heading styles, such as Heading 1 or Heading 2. If you only make text bold and large, Docs to Markdown treats it as a normal paragraph, not a heading.
