Allio Tools Pro — No ads · Bulk processing · Save historyUpgrade $2.99/mo →
🚀Allio Tools Pro
  • No ads
  • Bulk tools
  • History
$2.99/mo

無料オンライン乱数ジェネレーター

Thanks for rating!

ワンクリックで任意の範囲の乱数を生成します。

🚀Allio Tools Pro
  • Zero ads everywhere
  • Bulk processing
  • Save history
Upgrade — $2.99/moNo signup required
Allio Tools Pro — No ads · Bulk processing · Save historyUpgrade $2.99/mo →

A random number generator picks whole numbers with no predictable pattern — every number in the range has an equal chance of being selected. This tool uses JavaScript's Math.random(), which is fast and statistically fine for games, raffles, classroom activities, and decision-making, though not a cryptographically secure source.

Common uses for random numbers

  • Raffles and giveaways: number each entry and generate a random winner
  • Games and dice: simulate dice rolls or generate random outcomes
  • Statistics and sampling: pick random items from a list for unbiased selection
  • Decision-making: choose between options by assigning each a number
  • Random PINs: generate a number within a specific range

What this tool doesn't do

Count is capped at 20 numbers per generation, there's no decimal-number mode, and results are whole integers only. For a security-sensitive use case, reach for the Password Generator instead, which uses the cryptographically secure crypto.getRandomValues() API.

How the 乱数ジェネレーター works

1

「最小値」欄に最小値を、「最大値」欄に最大値を入力します。

2

「個数」欄に生成したい乱数の数(1〜20)を入力します。

3

各数字を1回だけ出現させたい場合は「重複なし」にチェック(範囲が個数以上である必要あり)、昇順に並べたい場合は「結果を並べ替え」にもチェックします。

4

「生成」をクリックすると乱数が即座に生成されます。もう一度クリックすると新しいセットが得られます。

Tips & tricks

  • 小数モードはありません — このツールは常に最小値と最大値の間の整数を生成します。
  • 個数は1回の生成につき20個までです — より多く必要な場合は複数回生成してください。
  • Math.random()を使用しており、暗号学的に安全なAPIではありません — パスワードや鍵の生成には専用ツールを使用してください。

Frequently Asked Questions

この乱数は本当にランダムですか?

数値はJavaScriptのMath.random()で生成されます。これはゲーム、抽選、クラスでの選出には十分な高速な疑似乱数生成器ですが、暗号学的に安全な発生源ではないため、セキュリティキーなど予測不可能性が重要な用途には使用しないでください。

抽選用に重複のない乱数を生成できますか?

はい。「重複なし」を有効にして範囲を設定します。6/49の宝くじなら、最小値=1、最大値=49、個数=6、重複なしに設定します。各抽選で範囲内の一意な数字が得られます。

ランダムな小数を生成できますか?

いいえ — 小数モードはありません。このツールは常に最小値と最大値の間の整数を生成します。

一度に何個の数字を生成できますか?

「個数」欄は1回の生成につき最大20個までです。より多くが必要な場合は複数回生成して結果を組み合わせるか、大量生成にはスプレッドシートの数式を使用してください。

これを使ってランダムなパスワードを生成できますか?

数字のPINコードならはい。記号を含む完全な英数字パスワードには、専用の「パスワードジェネレーター」ツールを使用してください。こちらはMath.random()ではなく暗号学的に安全なWeb Crypto APIを使用しています。

Is my data safe when using the 乱数ジェネレーター?

Completely safe. The 乱数ジェネレーター processes everything locally in your browser. No input data, results, or usage information is ever transmitted to or stored on any server.

Are the results from the 乱数ジェネレーター truly random?

Yes. The 乱数ジェネレーター uses your browser's standard random number generator (JavaScript's Math.random()), which is suitable for games, decisions, and everyday randomness. It is not a cryptographically secure generator — for security-sensitive use cases like generating passwords or cryptographic keys, use a tool built specifically for that purpose.

Can I customise what the 乱数ジェネレーター generates?

Yes. Where customisation options are available, you can add your own items, set numeric ranges, or adjust parameters before generating. Default settings are designed for the most common use case so you can get an instant result without any configuration.

💼 Reach 100K+ developers & creators — Advertise on Allio ToolsLearn More →