Random Number Generator
Generate random integers or decimals in a range.
Roll NdM dice with modifiers (e.g. 3d6+2).
NdM±modifier dice rolls from the browser CSPRNG (crypto.getRandomValues). Examples: 3d6+2, d20. See each face, totals, and batch stats.
Press Roll to see a result
NdM±modifier. Examples: `d20` (one 20-sided die), `3d6`, `2d10+5`, `4d6-1`. Omitting N means 1 die.
Yes. We use the browser CSPRNG (crypto.getRandomValues) with rejection sampling for an unbiased integer in 1…sides—not Math.random.
Up to 100 dice per expression, 2–1000 sides, and up to 100 repeated rolls of the same expression.
No. Rolls run entirely in your browser; nothing is sent to toco.tools servers.