🎲 Weak randomness caused the Lloyds data breach. Predictable tokens + poor entropy = 447,936 customers exposed. This generator uses crypto-grade randomness (Web Crypto API) — the same standard banks should use. What went wrong →

Random Number Generator

Generate truly random numbers in any range. Fast, fair, and powered by cryptographic randomness.

?
Press Generate to start
or press Space

Lottery Numbers

6 unique numbers from 1–49, sorted ascending.

D&D Dice Roller

Roll standard polyhedral dice for tabletop RPGs.

PIN Generator

Generate a secure random numeric PIN code.

Generation History (last 20)

No numbers generated yet.

Frequently Asked Questions

Are these random numbers truly random?
Yes. This generator uses your browser's crypto.getRandomValues() API, which provides cryptographically secure random numbers. This is the same source of randomness used by password managers and encryption software — far more random than Math.random() or physical dice.
Can I generate random numbers without duplicates?
Yes! Toggle off the "Allow Duplicates" option and the generator will ensure every number in your result set is unique. Note that the quantity cannot exceed the range size when duplicates are disabled — for example, you can't generate 10 unique numbers from a 1–5 range.
What is the maximum range I can use?
You can set minimum and maximum values anywhere from -999,999,999 to 999,999,999. The generator supports both positive and negative ranges, so you can generate numbers like -50 to 50 or 1 to 1,000,000.
How does the lottery number mode work?
The lottery mode generates 6 unique numbers from 1 to 49, sorted in ascending order — matching the format used by many popular lotteries worldwide. Each draw is completely independent and uses cryptographic randomness.
What D&D dice types are supported?
All standard polyhedral dice used in tabletop RPGs: d4 (1–4), d6 (1–6), d8 (1–8), d10 (1–10), d12 (1–12), and d20 (1–20). You can roll any of them with a single click, and results appear with a visual dice animation.
Is the PIN generator secure enough for real use?
The PINs are generated using cryptographic randomness, making them as unpredictable as possible. However, for sensitive applications like bank PINs, we recommend using your institution's official tools. Our generator is great for app lock codes, temporary access codes, or any situation where you need a random numeric code.
Does the generator save my history?
Your generation history is stored only in your current browser session and is never sent to any server. It resets when you reload the page. We keep the last 20 generations for your convenience.