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

  1. 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.
  2. Switch back to Compose view to check the result, then publish or update the post.
  3. In the layout instead: open Layout, click Add a Gadget in the area you want and choose HTML/JavaScript.
  4. Paste the game code into the Content box and save.

Size and layout

If the game does not show

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.