evbacher/gd2md-html

Convert a Google Doc to Markdown or HTML. This Docs add-on (available in the Google Workspace Marketplace as Docs to Markdown) converts a Google Doc to simple Markdown and/or HTML.

JavaScript

712

176 commits

updated Nov 17, 2025

See the code

README

Docs to Markdown (gd2md-html)

Docs to Markdown is a free Google Docs add-on that converts a Google Doc to simple, readable Markdown or HTML text.

(Note: Not currently accepting contributions.) For more information, please read CONTRIBUTING.md and dev.md for the general philosophy of Docs to Markdown.

Overview

Docs to Markdown lets you use Google Docs' editing, formatting, and collaboration tools before you publish to a Markdown or HTML platform. Docs to Markdown also lets you select and convert part of a Google Doc.

Docs to Markdown requires minimal permissions: it will ask for permission to access the current Doc (to convert it) and permission to create a sidebar (the user interface). It requires no other permissions.

Use Google Docs styles for headings (Heading 1, Heading 2, etc.) so that Docs to Markdown can convert them properly to Markdown or HTML heading styles. If you just make them bold and large, they will convert as normal paragraphs.

Installation and other details

Contributing

(Note: Not currently accepting contributions.) For more information, please read CONTRIBUTING.md and dev.md for the general philosophy of Docs to Markdown.

google-docs
google-docs-addon
html
markdown

evbacher/gd2md-html

Convert a Google Doc to Markdown or HTML. This Docs add-on (available in the Google Workspace Marketplace as Docs to Markdown) converts a Google Doc to simple Markdown and/or HTML.

JavaScript

712

176 commits

updated Nov 17, 2025

See the code

README

Docs to Markdown (gd2md-html)

Docs to Markdown is a free Google Docs add-on that converts a Google Doc to simple, readable Markdown or HTML text.

(Note: Not currently accepting contributions.) For more information, please read CONTRIBUTING.md and dev.md for the general philosophy of Docs to Markdown.

Overview

Docs to Markdown lets you use Google Docs' editing, formatting, and collaboration tools before you publish to a Markdown or HTML platform. Docs to Markdown also lets you select and convert part of a Google Doc.

Docs to Markdown requires minimal permissions: it will ask for permission to access the current Doc (to convert it) and permission to create a sidebar (the user interface). It requires no other permissions.

Use Google Docs styles for headings (Heading 1, Heading 2, etc.) so that Docs to Markdown can convert them properly to Markdown or HTML heading styles. If you just make them bold and large, they will convert as normal paragraphs.

Installation and other details

Contributing

(Note: Not currently accepting contributions.) For more information, please read CONTRIBUTING.md and dev.md for the general philosophy of Docs to Markdown.

google-docs
google-docs-addon
html
markdown

Significant stargazers

Aidan Feldman

969 followers · starred Mar 2018

Jeffrey Arnold

560 followers · starred Dec 2021

Ruy Adorno

933 followers · starred Nov 2019

Peter Friese

1,141 followers · starred Feb 2022