Play High Quality HTML5 Browser Games
Discover and play thousands of free online games unblocked instantly
Embed Free HTML5 Games on Your Website
Use this tool to generate a ready-to-use <iframe> embed code for any MadKidGames title.
Paste a game link or slug below, click generate, and then copy the code into your website.
Use the Embed Generator
After you paste a link and click Generate Embed Code, your iframe snippet will appear here and can be copied in one click.
Why Embed Our Games?
Embedding our games on your website helps you:
- Increase engagement – keep visitors on your site longer with interactive content.
- Improve user experience – add instant-play games without extra setup.
- Offer mobile-friendly content – all games are HTML5 and work on phones, tablets, and desktop.
- Save hosting resources – games run directly from MadKidGames servers.
- Update content easily – change or add games by just swapping the slug in the embed.
How It Works
The generator automatically converts different URL formats into a clean embed URL.
- You copy any game URL (or just the slug) from MadKidGames.
- You paste it into the input box at the top of this page.
- The script extracts the game slug.
- It builds the full URL in this format:
https://www.madkidgames.com/full/your-game-slug. - An iframe embed code is generated for you to copy and paste into your page.
<iframe
src="https://www.madkidgames.com/full/mad-day-truck-distance-game"
width="100%"
height="540"
frameborder="0"
allowfullscreen
scrolling="no">
</iframe>
Supported Link Formats
You can paste any of these formats and the tool will detect the game slug automatically:
https://www.madkidgames.com/game/mad-day-truck-distance-gamehttp://madkidgames.com/game/mad-day-truck-distance-gamehttps://madkidgames.com/full/mad-day-truck-distance-gamemad-day-truck-distance-game(only the slug)
Where Can You Use These Embeds?
This embed code works almost everywhere that accepts HTML:
- Custom PHP or static HTML websites
- WordPress posts & pages (in HTML / Code editor)
- Blogspot / Blogger (HTML gadgets or inside posts)
- Other CMS platforms that support custom HTML blocks
- Game portals and entertainment websites
- Kids and educational websites that want safe, casual games
Just make sure you paste the code in the HTML/source mode of your editor, not in a plain text field.
Customizing the Embed
You can adjust the iframe attributes to better match your layout:
- Width: set to a fixed pixel value like
800or use100%to make it responsive. - Height: change
540to fit your layout or aspect ratio. - Scrolling: usually
no, but you can setautoif needed. - Border: remove the border using CSS if your theme requires a cleaner look.
Example with a fixed size:
<iframe
src="https://www.madkidgames.com/full/mad-day-truck-distance-game"
width="800"
height="600"
frameborder="0"
allowfullscreen
scrolling="no">
</iframe>
Frequently Asked Questions
1. Can I use these games for free?
Yes. You are allowed to embed the games using the iframe code generated on this page. The games are hosted on MadKidGames and run directly from our server.
2. Do I need to download or host any files?
No. The iframe points to our /full/ game URL, so all assets are loaded from MadKidGames.
You only need to embed the iframe code on your page.
3. Will the games work on mobile devices?
Yes. The games are built in HTML5 and are designed to work on desktop, tablet, and mobile devices, depending on the specific game.
4. Can I change the size of the game frame?
Yes, you can change the width and height values in the generated iframe code
to match your website layout. Just keep a reasonable ratio so the game fits well.
5. What if the game slug is incorrect?
If you mistype the slug or use a non-existing game, the iframe may show a 404 or an error. Always copy the slug directly from the game URL on MadKidGames to avoid mistakes.
Start embedding games now using the generator at the top of this page and turn your website into a fun, interactive experience with MadKidGames.