Quick Start: Generate Random Numbers

Open HeronTool's Random Number (随机数生成), simply set the range (e.g., 1-100) and quantity, then click generate. Ideal for lottery numbers or test data. To shuffle an existing list, use Shuffle Lines (行乱序), paste your text lines, click shuffle, and copy the result.

Generate Passwords, IDs & Strings

  • Password Generator (密码生成): Choose length and whether to include uppercase/lowercase/digits/symbols to create strong passwords for account security.
  • UUID Generator (UUID 生成): Generate random v4 UUIDs with one click, perfect for database primary keys or API identifiers.
  • Random String (随机字符串): Customize character set and length to generate random tokens or verification codes.

Random Decision Tools

  • Random Picker (随机抽签): Enter multiple options (one per line), click pick, for draws or choosing people.
  • Dice Roller (掷骰子): Select the number of sides (e.g., 6-sided, 20-sided) to simulate dice rolls, great for board games.
  • Coin Flip (抛硬币): Fairly settle probability events with a one-click heads or tails.

FAQ

Q: Can generated random numbers repeat? By default, duplicates are not allowed unless you specify otherwise; you can adjust the setting.
Q: How strong is the password generator? It uses a cryptographically secure random source, but we recommend at least 12 characters with mixed types.
Q: Does shuffle lines change formatting? No, it only reorders lines, preserving original content.