Skip to content
IframeViewer

Generator

Iframe embed code generator

Every attribute that matters — loading, referrerpolicy, allow, sandbox — plus a responsive wrapper and framework-idiomatic output. The preview renders the exact snippet.

Source

Source

required
Size

Size

Appearance

Appearance

Behaviour

Behaviour

Permissions (allow)

Permissions (allow)

1 selected
Sandbox

Sandbox

security
embed.html
<iframe
  src="https://example.com/"
  title="Embedded content"
  width="100%"
  height="600"
  loading="lazy"
  referrerpolicy="strict-origin-when-cross-origin"
  allow="fullscreen"
  allowfullscreen
  style="border:0;border-radius:12px;max-width:100%"
></iframe>
Live preview — renders exactly what the snippet will

Blank preview? The target probably sends X-Frame-Options or frame-ancestors. Confirm with the tester.