Embed Code Generator

Build an iframe or script embed with the title, size and loading behaviour you want.

Build an embed

Status: —
—
Preview appears here.
The preview only describes the frame, so no request is made to the address you enter.

How to use the Embed Code Generator

  1. Enter the address of the page, video or widget you want to embed.
  2. Set the frame title, the width and the height you need.
  3. Choose lazy loading or full width, then copy the generated markup.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online embed code generator.

You can generate an iframe embed or a script embed with your own address, title, width and height.
The loading attribute defers the frame until a visitor scrolls near it, which keeps the first view lighter.
Yes. A descriptive title lets screen readers announce the frame, and it is required for accessible embeds.
Use the aspect ratio of the content, such as 560 by 315 for a video, and tick full width for a fluid frame.
Some sites send a header that refuses framing. If the frame stays empty, the owner has disabled embedding.
Yes. Quotes and angle brackets are escaped so a mistyped address cannot break the markup you paste.
No. The preview only describes the frame, so nothing is requested from the address you enter.
Yes. Any address that permits framing works, including maps, forms, videos and interactive charts.

Last updated: October 10, 2026