Utility Hub

Random Number Generator

Generate random integers or decimal numbers within any range. Runs client-side with support for multiple numbers, unique sets, and precision control.

Generate between 1 and 100 numbers

Presets:

Configure the range and click Generate numbers to begin.

Generated locally in your browser using the native Web Crypto API (crypto.getRandomValues) with uniform distribution.

Introduction

Whether you need a random integer for a giveaway, random sample data for a software test, or floating-point coordinates for modeling, this tool provides configurable, uniform random number generation directly in your browser.

How to use this random number generator

  1. Choose a mode: Select Integer for whole numbers or Decimal for floating-point values.
  2. Set your range: Enter your minimum and maximum values. Negative values and decimals are fully supported.
  3. Configure options: Adjust quantity (1–100), decimal precision (1–8 places), and choose whether to allow duplicate values.
  4. Generate results: Click Generate numbers to compute your numbers instantly.

Common Examples

Frequently Asked Questions

Are the minimum and maximum values inclusive?

Yes. Both the minimum and maximum boundaries can be selected. For instance, generating numbers between 1 and 10 can yield both 1 and 10.

How does the duplicate prevention work?

When duplicates are disallowed, the generator ensures that every value in the output set is unique. If the requested quantity exceeds the total possible unique numbers in the chosen range, a clear error message is shown rather than returning fewer items.

What random number algorithm is used?

Generation uses the browser's Web Crypto API (crypto.getRandomValues) combined with rejection sampling to eliminate modulo bias across 32-bit integer ranges.

Can I generate negative numbers?

Yes. You can specify negative values for either or both boundaries (e.g. from -50 to +50).