Embed code maker
Embed code maker writes the HTML iframe code you need to show a video, a map or another web page inside your own site or blog.
What Embed code maker does
Embed code maker writes the HTML iframe code you need to show a video, a map or another web page inside your own site or blog. You do not have to remember any of the attributes.
Enter the address to embed, the width (in pixels or as a percentage such as 100%) and the height in pixels. Add a title for screen-reader users, allow full screen if you want it, and turn on lazy loading so the frame loads only when someone scrolls near it. The code also removes the border and sets a referrer policy. Copy it with one click.
How to use Embed code maker
- Paste the address
Use the embed link the other site gives you, starting with https://.
- Set the size
Choose a width and a height that fit your page.
- Pick the options
Add a title, and turn full screen and lazy loading on or off.
- Copy the code
Press Copy code and paste it into your page's HTML.
Questions about Embed code maker
How do I embed a YouTube video on my website?
Use the address in the form youtube.com/embed/ followed by the video ID, not the normal watch link. Paste it here and copy the code.
Why does the embedded page show an error?
Many sites do not allow themselves to be shown inside another page. That is the other site's setting, and code on your side cannot change it.
What does lazy loading do?
It adds loading=lazy to the frame, so the browser waits until it is near the screen before loading it. Your page opens faster that way.
What if my address does not start with http?
Only http and https addresses are used. Anything else is replaced with example.com, so check the link before you copy.