Preview

Here’s how the widget looks. Visitors can click “Random” for a new position and use the link to analyze it on our site.

Option 1: Iframe embed

Paste this code where you want the widget to appear. Change size or layout if you like (see options below).

<iframe
  src="https://freestylechess.ai/embed.html?size=medium&layout=compact"
  title="Freestyle position generator"
  width="392"
  height="420"
  style="border:1px solid #e0e0e0;border-radius:8px;max-width:100%;"
></iframe>

Option 2: Script + div

Add a div with an id, then our script. The script will fill the div and load the board. Use data-size, data-layout, and optional data-position (0–959).

<div id="freestyle-embed"></div>
<script src="https://freestylechess.ai/embed.js"
        data-fce-embed
        data-target="freestyle-embed"
        data-size="medium"
        data-layout="compact"
></script>

Options

Please keep the link visible

We ask that you keep the “Analyze at FreestyleChess.AI” link visible so your visitors can open the position on our site. Don’t remove or hide it.

Use the full Position Analysis tool on FreestyleChess.AI · What is Freestyle Chess?