ランダム数値生成ツール
任意の範囲で1つまたは複数のランダム数値を生成します — 設定可能な精度の整数または小数、繰り返しあり/なし、除外、ソート順序に対応。シードを設定して、後で全く同じ抽選を再現できます。抽選、サンプリング、テストに最適です。
入力
設定
生成時にスキップするカンマ区切りの数値。
同じシード + 同じ設定は常に同じ数値を生成します。
出力
Your numbers will appear here.
このツールを使う他の方法
REST API
curl -X POST https://api.iotools.cloud/v1/tool/random-generator/numbers \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": "5",
"min": "1",
"max": "100",
"allowRepeat": "true",
"numberTypes": "integer"
}'ご自身のアカウントのキーに差し替えてください。ツールのフィールドがそのままリクエストボディになります——ラッパーはありません。
AIエージェントに依頼する
Use the IOTools `random-generator__numbers` tool (Random Number Generator) on this input:
YOUR_INPUT_HEREIOTools MCPサーバーに接続された任意のエージェントにこれを貼り付け、入力内容を追加してください。
埋め込みウィジェット
<iframe
src="https://iotools.cloud/embed/random-generator/numbers/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="ランダム数値生成ツール — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>ご自身のページに貼り付けるだけ——無料、キー不要、リンクを掲載するだけです。
| API/MCP 1回あたりの費用 | 5クレジットから |
|---|---|
| クレジットが足りませんか? | 料金を見る |
次の方法でも利用可能
ガイド
What does this generator do?
It produces truly arbitrary numbers within any range you choose. Generate a single number or up to 100 at once, as integers or decimals (with 0–10 decimal places), and decide whether repeats are allowed — turn them off for lottery-style draws where every number must be unique. You can also exclude specific numbers, sort the results, and set a seed to reproduce the exact same draw later.
Common uses
- Draws and giveaways — pick winning entries without bias, excluding numbers already claimed.
- Games and teaching — dice rolls, quiz order, random grouping.
- Development and testing — quick sample data in a specific range, with a seed for reproducible test fixtures.
- Lottery-style number picks — unique draws sorted for easy reading, with previously-drawn numbers excluded.
How to use it
- Set how many numbers you need and the min/max range.
- Choose integer or decimal (and precision for decimals).
- Untick Allow repeated numbers if every result must be unique.
- Optionally list numbers to exclude, choose a sort order, and set a seed for a repeatable draw.
- Hit Generate — copy or download the results.
Note: numbers come from your browser's pseudo-random generator (or a seeded deterministic one, if you set a seed). That's perfect for games, sampling and testing, but for cryptographic purposes use a dedicated secure generator.
Privacy
Everything runs locally in your browser — nothing is sent to a server.