Random Generator - Numbers, draws, dice and IDs from the browser CSPRNG | POLPROG Skip to content

Random Generator

Numbers, draws, dice and IDs from the browser CSPRNG

Cryptographic randomness, without modulo bias, drawn in the browser

Tool Web
Official product page Publisher: POLPROG
Official product page
4
Kinds of draw
0
Calls to Math.random
122
Bits in a UUID v4
0
Bytes uploaded
01Random Generator

About

Four panels, one source of randomness. Numbers in a range, with or without repeats. A pasted list, shuffled, drawn from, or split into teams. Dice in standard notation and coin flips with the tally. UUIDs, random bytes and tokens.

It uses crypto.getRandomValues, not Math.random. Math.random is fast, seeded and reconstructable: from a handful of outputs you can work out its state and predict the rest. Nobody minds for a dice game. For a giveaway somebody might contest, or an identifier that is supposed to be unguessable, it is the wrong tool, and mixing the two would mean one part of a generator was quietly weaker than the rest.

The numbers are uniform, which is harder than it sounds. Taking a random value modulo the size of a range favours the low end whenever the range does not divide the source evenly: with one byte and a hundred entries, the first fifty six are half again as likely as the rest. This engine discards the values that would cause that and draws again, so every outcome has exactly the same chance. The shuffle is Fisher-Yates for the same reason.

The tool keeps no history, no saved list and no local storage. A list of entrants is not a setting, so it is discarded when the tab closes.

02Use case

What it solves

The problem
  • Most online randomisers run on Math.random, which is seeded and predictable, and none of them say so
  • A list of entrants pasted into a web page is personal data, and most tools post it to a server to do the draw
  • Modulo bias makes the low end of a range more likely, in the code almost everyone writes first
The outcome
  • Every draw comes from the browser cryptographic generator, with the biased values rejected rather than folded in
  • Your list, your numbers and the result stay in the tab
  • Copy or download the result: the file is the record, because a draw that could be replayed could be arranged
Who it is for
  • Anyone running a giveaway, a raffle or a classroom draw
  • Teachers and organisers splitting a list into teams or picking an order
  • Developers who need UUIDs, tokens, random bytes or test fixtures
03Key Features

Key Features

The most important capabilities, explained in practical terms.

Numbers, with or without repeats

Whole numbers or decimals, any range up to the limits of exact integer arithmetic, up to ten thousand at a time, sorted or in the order they were drawn. No repeats is a checkbox, and asking for more distinct numbers than the range holds is refused rather than approximated.

Draw, shuffle, or split into groups

Paste a list and pick winners without replacement, shuffle the whole thing into a running order, or deal it into teams whose sizes differ by at most one. Duplicate lines can be folded together, and the tool says how many were not drawn.

Dice in standard notation

3d6, d20, 2d10+5. Every die is shown as well as the total, because a roll you cannot see the parts of is just a number to be taken on trust. Coin flips come with the tally, which is what makes a run of nine heads look like arithmetic instead of a bug.

UUIDs and tokens

UUID v4 for pure randomness, UUID v7 when the identifier should sort by creation time, random bytes as hex, and tokens over six alphabets including a URL-safe one and one with the characters people misread removed.

Entropy, stated

Every token setting shows how many bits it is worth, because 24 characters means 144 bits over base64url and 80 over the digits, and no interface otherwise says so. It is the only honest way to compare two settings.

Not a password generator, on purpose

There is no strength meter and no memorability option. A password that arrives through a web page is one a password manager should have made and stored; the token panel is for API keys, voucher codes, test data and identifiers.

04Download

Product access

A clear path from the official source to your first successful workflow.

Choose the right platform

Use one of the official links available for your device or browser.

Install or open

Follow the store instructions or open the web application. No third-party installers.

Configure and begin

Review the options, choose your preferences and start with the core workflow.

Official access options
05Technology

Technology behind the product

A transparent look at the core technologies used to build and maintain this product.

JavaScript
06Security

Privacy & Security

Your data stays on your device. Always.

Nothing is uploaded
Drawn in your browser
Nothing is stored, not even locally
No account, ever