Random Number & UUID Generator
Generate random integers, decimals, pick from a list, or create cryptographically random UUIDs — all in your browser.
Random Number and UUID Generator, in One Tabbed Tool
Two of the more frequently used random-output tools on the site, side by side in one page: a random number generator and a UUID generator. Switch tabs instead of switching tools when a task needs both — picking a raffle winner and then tagging their entry with a unique ID, say, or generating test data that needs both numeric IDs and UUID primary keys.
Random Number tab
Three modes in one panel. Integer and Decimal both take a minimum, a maximum, and a count, with Decimal adding a configurable number of decimal places. From List switches the input entirely — paste your own comma- or line-separated list (names, prizes, tasks) and pick a set number of items from it, with or without repeats. All three run on JavaScript's Math.random(), which is statistically fine for picking contest winners, dice rolls, or lottery-style draws — not something you'd rely on for cryptographic keys, but that's not what this tab is for.
UUID Generator tab
Generates version 4 UUIDs — the random 36-character identifiers used as database primary keys, API resource IDs, and file names where a guessable sequential number would be a problem. Generate one or a batch, copy individually or all at once, download as a text file. For the deeper explanation of UUID versions and why v4 is the common default, see the standalone UUID Generator.
Why a combined tab instead of two tools
Both live as full standalone tools elsewhere on the site with their own detailed explanations and use cases. This page exists for the moments you want both without two separate page loads — mocking up a spreadsheet of test users with both a random score and a UUID, for instance, or running a giveaway where the winner gets both a random draw number and a unique claim code.
Limitations
Both generators run entirely in your browser — nothing you generate here is sent anywhere or saved once you close the tab. Neither tool is suitable for cryptographic key generation on its own; for that, use a proper cryptographic library in your actual codebase rather than a browser tool.
Frequently Asked Questions
The Random Number tab uses Math.random(), which is statistically sufficient for games, lotteries, and simulations. The UUID Generator uses crypto.getRandomValues() — a cryptographically secure source — for maximum randomness quality.
Paste any list of items separated by commas or by newlines. Set how many items to pick, then click "Pick Random Items." Perfect for choosing a random winner from a list of names.
UUID version 4 is a 128-bit identifier generated from random numbers. It has 122 bits of randomness making collisions astronomically unlikely. It's the most common UUID type used in applications and databases as a unique primary key.
Yes. Uncheck "Allow duplicates" and each generated number will be unique. Note that the range must contain enough distinct integers to satisfy the requested count.