Iframe Generator
Generate iframe HTML embed code with full attribute control — width, height, sandbox, referrer policy and more
Basic Settings
px or %
px or %
Required for screen readers
Generated Code
<iframe src="https://example.com" width="100%" height="450" title="Embedded content" frameborder="0" loading="lazy" allowfullscreen ></iframe>
Preview
Click "Load Preview" to render the iframe.
Some sites block embedding via X-Frame-Options.
Frequently asked questions
What does Iframe Generator do?
Generate iframe HTML embed code with full attribute control — width, height, sandbox, referrer policy and more
What should I check in the result?
Test a small known example and an invalid input. Review generated code or decoded data before using it in a project; inspection alone does not establish correctness or authenticity.