Press ββ to navigate Β·
Enter to open Β·
/ anywhere to search
π² Generator
Random Number Generator
Generate random numbers in any range, roll dice, flip coins, pick lottery numbers, or generate a bulk list of unique random numbers.
Custom range
Dice roller (d4βd100)
Coin flip & lottery
Bulk unique numbers
?
Click the number or press Generate
History
Click a die to roll it. Roll multiple dice at once.
d4
β
d6
β
d8
β
d10
β
d12
β
d20
β
d100
β
πͺ
Heads: 0 β Tails: 0
About this tool
The PixelForge Random Number Generator produces random integers or decimal numbers within any range you specify. Options include generating multiple numbers at once, excluding duplicates (random sampling), sorting the output, and choosing the random distribution. Use it for lottery picks, dice simulations, statistical sampling, random assignment, and any other task requiring unbiased random numbers.
Frequently Asked Questions
The tool uses the browser's built-in Math.random() function which is a pseudorandom number generator (PRNG). It is suitable for simulations and games but not for cryptographic applications. For cryptographic randomness use the Secure Password Generator.
Yes. Enable the 'No duplicates' option to generate a set of unique random numbers β effectively a random sample from your specified range.
You can generate numbers in any integer range that fits within JavaScript's safe integer limit (Β±2^53 β 1).
Yes. Set minimum 1, maximum 6 for a standard die. For multiple dice, generate multiple numbers. Adjust the maximum for different dice types (d4, d8, d10, d12, d20).
Yes. Switch to decimal mode to generate floating-point numbers with your specified number of decimal places.