Random number generator

Generate unbiased random whole numbers between two inclusive bounds using your browser’s cryptographic randomness. Free, no sign-up.

Tool guide

How to use Random number generator

Generate unbiased cryptographic integers between inclusive bounds.

  1. The Live preview panel shows bounded quick information while you edit. Large input, full reports, random generation and exports still use the action button. Live updates do not spend runs, record tool outcomes or save your input. YAML/XML validation and rendered Markdown require Enable live validation/preview or a first explicit processing action.
  2. Enter the labelled values, choose the settings, then choose Generate integers.
  3. The sample fixes both endpoints to 7, so its three results are all 7. A wider range normally produces different results on each action.
  4. Standard: 10,000 results; Extended: 100,000. All selections use browser cryptographic randomness and bounded rejection sampling. Repeats are possible. Integer endpoints: −2,147,483,648 to 2,147,483,647.
  5. Selections use replacement. This is not a certified lottery or gambling system.
  6. Review the complete result before copying or downloading. Editing invalidates old results. Cancel, Clear or leaving stops the worker and discards page-memory results. Inputs and results stay in page memory. Generate only when you choose the action; downloads are not saved to your account.
Read the full guide

Common questions

Are the endpoints included?

Yes. Minimum and maximum are both included, and every integer in that range has the same selection probability.