AI TOOLS

Embed a Notion page in a shared HTML page

A page or proposal that shows a Notion doc inside it. Why a Notion iframe shows "refused to connect", what to put on the page instead, and how to share the page as a link.

3 min read·

Ask Claude or ChatGPT for a page "with our Notion doc embedded" and it usually writes an <iframe> pointing at the Notion page. Notion blocks that, so the frame stays empty.

The tests below were run in headless Chrome against Notion's own public published page, on a page served over http and on the same file opened from disk.

What the iframe shows

Tested: <iframe src="https://notion.notion.site/"> (a page published to the web) showed "notion.notion.site refused to connect." The browser console said the framing violates the Content Security Policy directive frame-ancestors, which lists only Notion's own addresses.

Tested: a notion.so page address redirected to app.notion.com and showed "app.notion.com refused to connect." for the same reason. Pointing the iframe straight at app.notion.com gave the same result.

Tested: opened from disk (a file:/// address), the page showed the same message. Publishing the page to the web in Notion does not change this, and no change in your own HTML can get around it: the block comes from Notion's server.

Link to the Notion page

Publish the page in Notion (Share, then Publish) and put a plain link or button to it on your page. Add target="_blank" so it opens in a new tab and the visitor keeps your page open.

Or move the content into the page

Notion can export a page as HTML from the page's ••• menu. That export was not part of this test. Paste the text you need into your own page, or ask your AI tool to turn the exported file into one page with your styling.

If the content includes images, keep them inside the HTML file: a single uploaded file cannot load images from a folder next to it. Making an HTML file self-contained shows how.

Upload it and send the link

Drag the HTML file onto the FileShare Pro dashboard and copy the link. Viewers need no account on FileShare Pro. The shared view does not restrict frames or scripts inside your page, but it cannot lift a block that another site sets on its own pages.

Change the page and upload a new version over the old one; the link stays the same. Related: a Google Sheet in a shared page, a Google Form in a shared page and a multi-page site without a build step.

Frequently asked

Does a public Notion page embed when it is published to the web?

No. The published notion.site page refused to connect in the test, the same as a private one.

Does a password on the page keep the content private?

It protects your page. A published Notion page you link to is public on its own: password-protecting an HTML page.

Does the page show up in Google?

No. Shared files carry a noindex header: keeping a preview out of Google.

Got a page to share?

Drop the file, copy the link — live in seconds, free plan included.

Start sharing free