Random Integer
Random int in [min,max].
How to use Random Integer
Random Integer — Pick a uniform random integer from min through max, inclusive, using cryptographic randomness. Free to use in D2i DevTools — no account required.
Steps
- Set Min. The starting value is 0.
- Set Max. The starting value is 100.
- Click Run and copy the result under the form.
Frequently asked questions
What is Random Integer used for?
Use it for test data, dice, or an id in a known range. Both ends are included.
How do I use the free online Random Integer tool?
Set Min. The starting value is 0. Set Max. The starting value is 100. Click Run and copy the result under the form.
What can I paste or upload into Random Integer?
Set Min and Max as integers. Max must be greater than or equal to min. Defaults are 0 and 100.
What output does Random Integer give me?
One decimal integer inside the range. 0 and 100 are both possible with the defaults.
Is Random Integer free, and is my input private?
Yes — Your input is processed in memory for this request only. It is not saved to disk or the database, and it is cleared after the tool finishes.
Does this use math/rand?
No. It draws from the cryptographic reader, so it is suitable for secrets as well as samples. The range is inclusive.
Inputs are processed in memory only and are not saved to disk or the database. Data exists only for the duration of your request.