Embeddable generators

Add a rand.by generator to your website, blog or learning material. Configure the widget, try the preview and copy the HTML code.

Settings

520 px
Generation settings

Count of cards dealt Max - 10.

The option determines how many decks the cards should be dealt from. If a single deck is selected, then the cards dealt cannot be repeated. If many decks are selected, then the set of cards may contain the same

The suits to include in the set of cards dealt. If no suit is selected, all card suits will be used

Card ranks to include in the set. If nothing is selected, everything will be used

Jokers to include in a set of cards

Embed code

<iframe src="https://rand.by/en/embed/cards?theme=light&amp;settings=%7B%22cnt%22%3A1%2C%22deck_count%22%3A1%2C%22suits%22%3A%5B%22clubs%22%2C%22spades%22%2C%22hearts%22%2C%22diamonds%22%5D%2C%22ranks%22%3A%5B6%2C7%2C8%2C9%2C10%2C%22j%22%2C%22q%22%2C%22k%22%2C%22a%22%5D%2C%22jokers%22%3A%5B%5D%7D" title="Playing cards · rand.by" width="100%" height="520" style="display:block;border:0;border-radius:12px" loading="lazy" referrerpolicy="no-referrer" allow="clipboard-write" sandbox="allow-forms allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-downloads"></iframe>

How to embed a generator

Choose a generator, language, theme and settings. Try generating results in the preview. Copy the HTML code into your page. In WordPress use a Custom HTML block. In other site builders use an HTML or Embed block. Save the page and open it as a visitor. The widget fits its container width. If it needs more space, increase the height and replace the embed code.

Widgets are free and work without signing in. A rand.by link appears in the footer. Settings are stored in the widget URL. Replace the code to change the starting settings on your site. Your site builder must allow iframes from rand.by.