socket.help

Random generator

Generate random values for everyday tasks.

Runs in your browser
OutputText · 0 bytes
Your result will appear hereAdd your input, choose the options and run the tool.

Your input stays on this device. Nothing is uploaded or saved.

About Random generator

Pick a cryptographically random integer within an inclusive range for drawings, testing, or sample data.

When to use it

Pick an unbiased integer for test cases or a small random selection.

Random generator example
Minimum: 1
Maximum: 6
Possible results: 1, 2, 3, 4, 5, 6

How to use it

  1. Enter the minimum and maximum.
  2. Choose Generate number.
  3. Copy the selected integer.

Limits & privacy

Both bounds must be safe JavaScript integers. The range includes both endpoints and is sampled without modulo bias.

Use this tool from the API reference or connect through the SDK, CLI, SSH, or MCP. Hosted calls share your plan allowances.