Random Generator — Security & Network Tools — Zapit

Random Generator

Generate random numbers, strings and random choices.

Configure and click Generate

Generate cryptographically secure random numbers, strings, bytes, dice rolls, coin flips, and shuffled lists — all via crypto.getRandomValues() with zero server involvement.

Key Features

Random Numbers
Generate integers or decimals in any range, with or without duplicates. Uses rejection sampling to eliminate modulo bias.
Random Strings
Create random strings from any custom alphabet or pre-built sets (hex, alphanumeric, base64-URL, ASCII printable).
Random Bytes
Output cryptographically random bytes in hex, decimal array, or base64 encoding — ideal for keys, IVs, and nonces.
Dice & Coins
Roll any standard RPG die (d4, d6, d8, d10, d12, d20, d100) or flip coins with real-time head/tail ratio tracking.
List Shuffle
Enter any list of items (newline-separated) and shuffle them using Fisher-Yates for perfectly unbiased random ordering.
Rejection-Sampling Bias-Free
All integer generation uses rejection sampling over WebCrypto bytes — no modulo bias that plagues simple implementations.

How to Use

  1. 1Choose a tab: Numbers, Strings, Bytes, Dice & Coins, or Shuffle.
  2. 2Configure the parameters for your chosen type (range, charset, byte count, die type, etc.).
  3. 3Click Generate to produce your random output.
  4. 4Use the copy button to copy results to your clipboard.

Frequently Asked Questions