Random integer generator

Client

Roll dice, shuffle order numbers, or fill spreadsheets with values in a closed range. Integers are drawn uniformly with crypto.getRandomValues—use random strings when you need letters or symbols, not numbers.

What this generates

Uniform random integers between your min and max (inclusive), with optional unique draws and sorted output—numbers only, not letters or symbols.

Random integers

?

Draw uniform integers between min and max (inclusive) using crypto.getRandomValues. For alphanumeric tokens, use the random string or password generators instead.

Options

Output format

Nearby workflows on Toolcore

  • Random stringfor hex, Base64 URL-safe, or custom alphabets instead of integers.
  • Password generatorwhen login secrets need mixed character classes.
  • UUID generatorfor standard 128-bit identifiers rather than decimal ranges.

Common use cases

  • Simulate dice or lottery-style picks with a defined min and max.
  • Generate unique raffle ticket numbers without duplicates in the range.
  • Create sample numeric IDs for mock APIs when strings are not required.
  • Produce sorted pools for classroom or game mechanics.

Common mistakes to avoid

  • Requesting more unique values than the range allows

    A range of 1–6 can yield at most six unique integers. Widen max or lower count.

  • Using this for cryptographic secrets

    Integers are fine for games and fixtures. API keys and passwords need the string or password tools with larger alphabets.

  • Expecting decimal or weighted distributions

    Only uniform integers on whole numbers are supported—no floats or custom weights.

FAQ

Are results stored on Toolcore?

No. Generation runs locally in your browser tab.

Can I get duplicates?

Yes, unless you enable Unique. With Unique off, each draw is independent like rolling a die repeatedly.

What is the maximum count?

Up to 1,000 integers per click, subject to the min/max range limits.

Common search terms

Phrases people search for that match this tool. See the full long-tail keyword index.

  • random integer generator online
  • pick random number between min max
  • unique random numbers no duplicates browser
  • random number generator client side

Related utilities you can open in another tab—mostly client-side.