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.
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.