Skip to main content

HTML Iframe Generator

Generate an <iframe> — set the source URL, title, size, and loading/referrer/fullscreen options, then copy the ready-to-use HTML. Free, instant, no AI involved.

Input

Required for accessibility; a sensible default is used if left blank.

Settings

Add custom CSS classes to the element. Separate multiple classes with spaces.

Output

HTML
 
Was this helpful?

Guides

Build a ready-to-paste <iframe> — set the source URL, an accessible title, size, and loading/referrer/fullscreen options, then copy the generated HTML.

Runs entirely in your browser: no AI call, no credits, no network round-trip. The output updates instantly as you type.

How to use it

  1. Set the Source URL (required) and a Title — every iframe needs one for accessibility; leave it blank and "Embedded content" is used.
  2. Adjust loading behavior, referrer policy, fullscreen permission, and size in Settings.
  3. Copy or download the generated HTML.

Why is there no live preview?

The output is real, unsanitized markup, and embedding an arbitrary third-party URL directly on this page isn't safe. Paste the code into your own page to see it in context.

htmliframeembedgenerator

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.