Add free games to a Blogger site
Any of the 459 DiceGem games can be played on your Blogger site for free, with no sign-up and no ads in the games. Blogger gives you two places for a game: inside a post or page, where it gets the full width of your text, or in the blog's layout as a gadget that shows on every page.
What you need
A Blogger blog. It is free.
Get the game code
Open the page of the game you want on DiceGem and choose Add this game to your website under the game, then copy the code. For Klondike Solitaire it looks like this:
<div style="max-width:960px">
<iframe src="https://play.dicegem.com/klondike/1.0.0/" title="Klondike Solitaire" width="960" style="display:block;width:100%;height:auto;aspect-ratio:16/10;border:0" allow="fullscreen; autoplay" loading="lazy"></iframe>
<p style="margin:6px 0 0;font-size:14px">Play more free games on <a href="https://dicegem.com/games/klondike/">DiceGem</a></p>
</div> The last line links back to us. It is optional: you can delete it, but please do not change it if you keep it.
Add it to Blogger
- Inside a post: create or edit the post, switch the editor from Compose view to HTML view with the button at the top left, and paste the game code where the game should appear.
- Switch back to Compose view to check the result, then publish or update the post.
- In the layout instead: open Layout, click Add a Gadget in the area you want and choose HTML/JavaScript.
- Paste the game code into the Content box and save.
Size and layout
- A post or page is the better home for a game. Sidebars are narrow, and the game shrinks to the width it is given.
- If you edit the post in Compose view later, leave the game where it is: moving it by dragging can break the code. Cut and paste it in HTML view instead.
If the game does not show
- Check that the whole code was pasted, from the first
<divto the last</div>. - Look at the published page in a private window. Editors often show a placeholder instead of the game.
- A browser extension that blocks frames can hide the game for you while your visitors still see it.
We checked these steps against Blogger's own help pages on 20 November 2026. Menu names change from time to time; if yours look different, see Blogger help: change the design of your blog.
Other ways to embed
The embedding page has the rules for embedded games and the WordPress plugin. We also have steps for Wix, Squarespace, Webflow and Google Sites.