Numbers On-device · No upload

Random Number Generator

Generate random integers or decimals in any range you choose — cryptographically secure, free, and 100% private in your browser.

Random Number Generator creates truly random integers or decimals within any range you choose, using your browser's cryptographically secure random number generator (crypto.getRandomValues) — the same technology used for encryption keys, not Math.random(). Generate 1 to 1000 numbers at once, allow or block duplicates, sort the results, and copy or download them instantly. Everything runs locally in your browser, with your last 10 generations saved to a private history. Built by FreeToolHub.

Configure your numbers

Results

Your generated numbers will appear here.

Recent generations

    Your generation history will appear here.

    Common uses

    Games & tabletop

    Roll virtual dice, randomize turn order, or build encounter tables without physical dice.

    Number draws & giveaways

    Pull winning ticket numbers or raffle entries fairly, with unique mode so the same number is never picked twice.

    Sampling & statistics

    Pull a random sample of IDs, rows, or test cases for auditing, QA, or survey selection.

    Lottery & lucky numbers

    Generate a set of unique lottery-style picks with the built-in preset, or build your own custom range.

    Frequently Asked Questions

    Is this truly random and cryptographically secure?

    Yes. Every number is generated with your browser's Web Crypto API (crypto.getRandomValues), the same cryptographically secure source used to generate encryption keys — not the weaker, predictable Math.random() function that many online generators still use.

    Can I generate numbers without duplicates?

    Yes. Turn on 'Unique numbers only' and every number in the result set will be different. If the count you request is larger than the number of possible values in your range, the tool shows a validation error and disables the Generate button until you widen the range, lower the count, or allow duplicates.

    Can I generate decimal numbers?

    Yes. Switch to Decimal mode and choose how many decimal places you want (1 to 6). The tool then generates random floating-point numbers within your minimum and maximum instead of whole numbers.

    Is my data stored or uploaded anywhere?

    No. Every number is generated locally in your browser and nothing is ever sent to a server. Your generation history is saved only in this browser's local storage, purely as a convenience, and never leaves your device.

    What's the maximum count I can generate at once?

    You can generate up to 1,000 numbers in a single batch. That cap keeps the results list, sorting, and statistics fast and responsive in the browser.