🪟 Iframe Embed Generator

Embed a form, map, calendar, booking widget or demo on your site with clean, responsive HTML — and see straight away whether the site allows embedding.

✅ Free · No sign-up
Sandbox (restricts what the embedded page may do)
Live preview

If the preview stays blank or shows “refused to connect”, the site forbids embedding (X-Frame-Options or CSP frame-ancestors). That is the site owner’s choice and cannot — and should not — be bypassed; link to the page instead.

How to use the General Iframe Embed Generator

  1. Paste the URL of the page you want to embed.
  2. Set the size or keep the responsive wrapper, then choose lazy loading, sandbox and permissions.
  3. Check the live preview, then copy the HTML or download it as a snippet.

Why creators use it

Good to know

Frequently asked questions

Why does my embed show “refused to connect”?

The site sends X-Frame-Options or a CSP frame-ancestors rule that forbids embedding on other sites. Only the site owner can change that.

What does sandbox do?

It blocks scripts, forms, pop-ups and other features unless you allow them, which limits what a third-party page can do on yours.

How is this different from the YouTube Embed Code Generator?

That tool builds YouTube-specific player URLs (start/end time, privacy mode). This one embeds any web page.

Related tools