Confluence logo

The HTML and iframe macro for Confluence Cloud

Embed websites, dashboards and custom HTML, CSS or JavaScript directly in your Confluence pages. Everything runs in a secure sandbox your admins control.

Wiki / Engineering / Team dashboard Publish

Team dashboard

/html
HTML Macro Pro sandboxed iframe
Quarterly revenue Live dashboard
  • 5.0 on the Atlassian Marketplace
  • Cloud Fortified
  • 1,400+ installs
  • EU hosted, sandboxed by design

Confluence Cloud has no built-in HTML macro. This is the fix.

The HTML macro you knew from Confluence Server and Data Center is not available in Confluence Cloud. Atlassian removed it for security reasons, which left teams with no way to embed an iframe or run custom code on a page. HTML Macro Pro brings that capability back, rebuilt for Cloud: the code runs in an isolated sandbox instead of the page itself, and administrators decide exactly what is allowed.

Server / Data Center

HTML macro built in

Confluence Cloud

HTML macro removed

HTML Macro Pro

Sandboxed and admin-controlled

Embed anything. Stay in control.

Embed websites and iframes

Paste any URL and it renders on the page. The iframe resizes to full width automatically, with configurable height. Dashboards, docs, prototypes, status pages.

Read the guide

Run custom HTML, CSS and JavaScript

Paste raw code into the editor with syntax highlighting. It executes inside an isolated frame, never in the Confluence page itself.

Read the guide

Paste AI-generated widgets

Ask ChatGPT or Gemini for a calculator, chart or countdown, paste the code, publish. HTML Macro Pro is the fastest way to ship AI-built widgets to Confluence.

Read the guide

Give admins the keys

Content Security Policies decide what can load, with a library of predefined rulesets. Group permissions decide who can use the macro at all.

Read the guide

Works with the tools your pages already need

Embed Power BI dashboards, Figma files, Google Drive documents, Excel sheets, Looker Studio reports and YouTube videos in seconds.

Power BI
Figma
Google Drive
Google Sheets
Looker Studio
Tableau
Grafana
Excel
Office 365
YouTube
Loom
Miro
Microsoft Forms
Airtable
Notion
Trello
Dropbox
draw.io
Mermaid
Vercel

Some services block embedding on their side via their own security policy. If a site refuses to load, that restriction comes from the provider, not the macro.

On your page in under a minute

  1. 1

    Type /html

    Add the macro anywhere on a Confluence page with the slash command.

    Adding the HTML macro to a Confluence Cloud page with the /html slash command
  2. 2

    Paste a URL or your code

    Choose website mode or code mode. Set the height if you want to.

    Pasting a URL to embed an iframe in a Confluence page with HTML Macro Pro
  3. 3

    Publish

    The content renders in a sandboxed frame. Resize, duplicate or remove it anytime.

    Publishing a Confluence Cloud page with embedded website content

Secure by design, not by promise

Custom code on a wiki page is only acceptable if it cannot touch anything else. That constraint shaped the whole product.

Isolated sandbox

Embedded content runs in a cross-domain frame. It cannot read Confluence cookies, storage, the page DOM or your session. Even buggy code stays confined.

Admin-defined CSP

Administrators allow or block resources per policy, starting from predefined templates for common tools.

Group permissions

Restrict who can add the macro to a page, per Confluence user group.

Nothing personal stored

Only the URLs and code you enter are saved, hosted in Frankfurt, Germany, with no PII in logs. Cloud Fortified and part of Atlassian's Marketplace Bug Bounty program.

Frequently asked questions

Is it safe to run custom HTML in Confluence?
Yes. The code runs inside a sandboxed iframe with strict browser restrictions, fully isolated from the user context. It cannot access the parent page, your cookies or your session. Admins can additionally lock down allowed content with Content Security Policies.
Why is there no HTML macro in Confluence Cloud?
Atlassian removed the built-in HTML macro from Confluence Cloud for security reasons. HTML Macro Pro restores the capability with a sandboxed architecture and admin controls designed for Cloud.
Can I embed JavaScript in Confluence?
Yes. Paste HTML, CSS and JavaScript into the macro's code editor and it executes safely inside an isolated frame on your page.
Can I embed Power BI or other dashboards in Confluence?
Yes. Paste the embed URL from Power BI, Grafana, Tableau or Looker Studio and the dashboard renders on your page, resized to full width.
Why does a website refuse to embed?
Some sites send security headers that forbid embedding anywhere, including Confluence. That restriction comes from the website itself and no macro can bypass it.
What happens if I uninstall the app?
Your pages remain unchanged. The embedded content simply stops displaying.
Does it work on Confluence Server or Data Center?
No. HTML Macro Pro is built for Confluence Cloud only.

Put your first embed on a page today

Free on the Atlassian Marketplace. 5.0 rated. Cloud Fortified. Set up in minutes.