Generator Hub·© 2026 Tous droits réservés.
Retour au hubPlan du sitellms.txtAssistance
Retour au hub/Développement et Maths

Générateur de nombres aléatoires

CSPRNG

Générez des nombres aléatoires dans n'importe quelle plage avec décimales, valeurs uniques, tri et export CSV.

Aléatoire CSPRNG · Zéro stockage
Préréglages

Résultats

Aucun nombre généré

Définissez une plage puis cliquez sur Générer

About

About Random Number Generator

Set a minimum and maximum value, choose how many numbers to generate, and pick a decimal precision from 0 to 6 places. Optional toggles let you require unique values (no repeats) or sort results in ascending order. Results update instantly with a summary showing sum, average, minimum, and maximum.

Common uses include picking lottery numbers, rolling dice, generating test data, sampling survey participants, and classroom probability experiments. Copy individual values, copy the whole batch, or export everything as a CSV file.

Every number comes from the browser's cryptographically secure random number generator with rejection sampling, so the output is unbiased and truly random. Everything runs locally - nothing is sent to a server or stored.

Fonctionnalités et points forts

  • Any integer or decimal range from -1,000,000,000 to 1,000,000,000
  • Up to 500 numbers per batch with 0-6 decimal places
  • Unique mode guarantees no repeated values
  • Sort ascending option for ordered output
  • Instant summary of sum, average, min, and max
  • One-click copy per value, copy all, and CSV export
  • 100% client-side with CSPRNG randomness
FAQ

Random Number Generator FAQ

Find answers to common questions about generating random numbers, uniqueness, decimals, and how randomness works.

How random are the generated numbers?

The generator uses the browser's cryptographically secure random number generator (crypto.getRandomValues) with rejection sampling, the same source used for TLS keys. Results are unbiased and cannot be predicted.

What does unique mode do?

Unique mode guarantees every number in a batch is different. If the range is too small to provide enough distinct values at the chosen precision, the generator shows a clear error instead of repeating values.

Can I generate decimal numbers?

Yes. Choose 1-6 decimal places and the generator produces values with that precision. For example, 0-1 with 2 decimals yields values like 0.37 or 0.82.

What are the limits?

Values are limited to -1,000,000,000 through 1,000,000,000, and each batch can contain up to 500 numbers. These limits keep generation instant and results readable.

Can I use the numbers for lotteries or giveaways?

Yes. The unique + sort combination is ideal for drawing winners, picking lottery numbers, or assigning random positions. Because results are truly random and client-side, the draw is fair and verifiable by anyone re-running the same settings.

Is my data sent anywhere?

No. All numbers are generated locally in your browser. Nothing is transmitted, logged, or stored, which makes the tool safe for sensitive selections and private draws.