Random Number Generator

Generate cryptographically secure random numbers. Powered by the Web Crypto API.

?

API Access

Generate random numbers via API:

curl "https://ai.doxx.lat/api/random?type=int&min=1&max=100&n=5"
curl "https://ai.doxx.lat/api/random?type=float&min=0&max=1&n=3"
curl "https://ai.doxx.lat/api/random?type=hex&n=4"

FAQ

Are these numbers truly random?

Yes. This tool uses the Web Crypto API (crypto.getRandomValues) which provides cryptographically secure random numbers. The API backend uses Python's secrets module.

Can I use this for lottery numbers?

Yes! Use the "Lottery" preset or set your own range. Each number is independently random. For pick-without-replacement (no duplicates), the tool automatically ensures unique numbers when count is specified.

What's the maximum range?

The browser tool supports numbers up to 2^53 (9 quadrillion). The API supports arbitrary integers.