Random integers
Generate a bounded list of cryptographically random integers in an inclusive range.
Random integers: inputs, results and limitations
Generate a bounded list of cryptographically random integers in an inclusive range.
How to use Random integers
- Paste your text or use the example to inspect the operation.
- Review the options before running: Minimum: 1 · Maximum: 100 · Quantity: 5
- Inspect the preview or result, then download a new file.
An illustrative use case
Five random integers between inclusive limits of 1 and 100.
Select a real sample file you are allowed to process. Begin with a short, simple input before attempting a complex document or recording.
What to inspect in the output
Choose a reasonable quantity and inspect the bounds. Repeated values can occur because each draw does not automatically remove a previously selected number.
Where this tool stops
Review the output before using it. Your original input is not changed.
Settings and starting values
| Control | Starting value |
|---|---|
| Minimum | 1 |
| Maximum | 100 |
| Quantity | 5 |
Troubleshooting Random integers
Check units, date formats and the order of operands. A valid number can still represent the wrong quantity, such as milliseconds instead of seconds or a monthly rate instead of an annual percentage.
Questions about Random integers
Are all generated numbers unique?
No. Random draws can repeat. A without-replacement selection is a different operation.
What input does Random integers need?
Use the sample text shown below, then replace it with your own input. Review the result for the destination where it will be used.
Which options does Random integers provide?
Minimum, Maximum, Quantity. Review the starting values in the table and adjust them for your input.
Your original input is preserved. Review the new output before using it in a published page, customer delivery or production workflow.
JavaScript enables the interactive workspace.