Privacy Policy

Last updated: March 8, 2026

Overview

Mermaid Toolkit for Google Docs™ is a Google Docs™ add-on that renders Mermaid diagram syntax as images. Your privacy is important — this add-on is designed to work entirely within your browser with no external data transmission.

Data Collection

This add-on does not collect, store, or transmit any user data. Specifically:

How Your Data Is Processed

All diagram rendering happens client-side in your browser using the mermaid.js library. When you use this add-on:

  1. Your Mermaid code is read from the Google Docs™ document
  2. The diagram is rendered locally in your browser via mermaid.js
  3. The rendered image is inserted back into your Google Docs™ document

No diagram content, document text, or any other data is sent to any external server.

OAuth Scopes

This add-on requests the following Google OAuth scopes:

ScopeWhy It's Needed
userinfo.email Included by default by Google for all add-ons. Not used by this add-on
userinfo.profile Included by default by Google for all add-ons. Not used by this add-on
documents.currentonly Read Mermaid code snippets from the current document and insert rendered diagram images back into it
script.container.ui Display dialog windows (editor, preview) within Google Docs™

These are the minimum scopes required for the add-on to function. The documents.currentonly scope limits access to only the document you have open — the add-on cannot access any other files in your Google Drive™.

Third-Party Services

This add-on loads the mermaid.js library from jsDelivr (cdn.jsdelivr.net), a public open-source CDN. This is the only external network request the add-on makes.

No other third-party services, APIs, or servers are used.

Data Sharing

Your data is never shared with anyone. There is no server-side component, no database, and no mechanism to collect or share data.

Changes to This Policy

If this privacy policy changes, the update will be reflected in this document with a new "Last updated" date. Since no data is collected, meaningful changes are unlikely.

Contact

If you have questions about this privacy policy, please visit our Support page.