Add free games to a Google Sites site

Any of the 459 DiceGem games can be played on your Google Sites site for free, with no sign-up and no ads in the games. Google Sites accepts pasted code through its Embed tool and places it in a box on the page. Like any box in Sites, you drag its corners to make it larger.

What you need

A Google account and a site made with the current Google Sites. 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 Google Sites

  1. Open your site in Google Sites and go to the page where the game should appear.
  2. In the panel on the right, open Insert and click Embed.
  3. Choose the Embed code tab, paste the game code and click Next.
  4. Check the preview and click Insert.
  5. Drag the corners of the box until the whole game and the line under it are visible, then click Publish.

Size and layout

If the game does not show

We checked these steps against Google Sites's own help pages on 20 November 2026. Menu names change from time to time; if yours look different, see Google Sites help: add website content.

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 Blogger.