# Random Number Generator

> Pick random integers or decimals in a min–max range, one at a time or in a list. Simple test data and dice-style rolls without a remote RNG. Generated on your device.

Runs in your browser. Nothing is uploaded.

[Generate](https://toolbuddy.dev/categories/generate.md)

## About this tool

Draw random integers or decimals between a minimum and a maximum, one value or a list. Sampling uses crypto.getRandomValues scaled into the range. Decimal places from 0 to 8 cover money-like fixtures and scientific dummy data. If min is greater than max they swap internally so the range is always valid.

How to use: set min, max, count, and decimals, then copy the list. Generate again for a new sample. Count is capped to keep the tab responsive. This is not a lottery-certified draw and should not be used as a legal raffle.

Example: min 1, max 6, count 2, decimals 0 simulates two dice. Min 0, max 1, decimals 4 yields unit-interval floats as text you can paste into a CSV. Integers use floor so the upper bound behaves like a classic discrete picker.

Sampling is on-device. Test scores and dummy metrics stay in the tab. Related: random string for tokens, password generator for secrets.

## Related Generate tools

- [UUID Generator](https://toolbuddy.dev/tools/uuid-generator.md): Generate RFC 4122 UUIDs (v4 and v7) in bulk, or validate and reformat pasted IDs. Copy a list for database seeds, test fixtures, and idempotency keys. Uses the Web Crypto RNG so IDs are created on-device with no telemetry.
- [Password Generator](https://toolbuddy.dev/tools/password-generator.md): Create strong random passwords and passphrases in your browser. Tune length, symbols, and ambiguity, then copy once. Generation uses local randomness and never phones home. A private generator for accounts, test users, and sharing secrets over a side channel you control.
- [Random String Generator](https://toolbuddy.dev/tools/random-string.md): Generate random alphanumeric strings with a charset and length you choose. Handy for tokens, test IDs, and dummy keys. Uses local randomness so generated values are not logged by a hosted generator.
- [Random JSON Generator](https://toolbuddy.dev/tools/random-json.md): Generate nested JSON fixtures for mocks and tests. Tune depth and item count, then copy a valid object or array. Built with the Web Crypto RNG so dummy payloads are created on-device.
- [QR Code Generator](https://toolbuddy.dev/tools/qr-generator.md): Encode a URL or any text as a QR code in the browser. Tune error correction, size, and colors, then download PNG or SVG. Encoding stays on the device. There is no QR API.
- [Lorem Ipsum Generator](https://toolbuddy.dev/tools/lorem-ipsum.md): Generate Lorem Ipsum placeholder text for mockups and prototypes. Choose paragraphs, sentences, or words. All text is generated locally in the browser.
