Skip to main content

Embed Google Sheets in Confluence

Using the HTML Macro for Confluence, you can embed Google Sheets directly in Confluence pages.

You can install the app from Atlassian Marketplace: HTML Macro for Confluence

Steps to embed Google Sheets in Confluence:

Get embed code from Google Sheets

  1. Go to Google Sheets and find the sheet you want to embed

  2. Go to File → Share → Publish to web and click Publish

  3. Once published, a new tab name embed is shown.

    Google Sheets embed code

  4. Copy the shown embed code

Use the embed code in Confluence page

  1. Go to page editor and type /html to open HTML & Iframe Embed macro.

  2. Enter the embed code in the box:

    Google Sheets iframe embed in Confluence page

    Google Sheets iframe embed in Confluence page

Finally, save the macro and Google Sheets will be embedded in the Confluence page.

Depending on the size of sheet contents, you can also adjust iframe parameters like height and width like below:

HTML
<iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-xxx/pubhtml?widget=true&amp;headers=false" width="100%" height="500px"></iframe>

Please note that when a sheet is published to the web, people who have the link can access and view the contents of the sheet.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.