| # | Item | Copy |
|---|---|---|
| {{ i + 1 }} | {{ p }} |
Names and items are entries you can draw at random to choose turn order or winners. A random name picker without repeats helps share turns in classes and teams. You may keep equal chances or assign weights so some entries are more likely.
Reproducible draws matter when you want to show how a result was made. Add a seed so the same list and settings give the same picks on any run. Leave the seed blank when you prefer a fresh draw that cannot be repeated.
Groups limit crowding when entries belong to teams or categories so a draw can include at most a set number from each group. You can also require a few names to appear first and exclude others for one round. This keeps rotations balanced while letting you adapt to real constraints.
A quick example is a class with ten students where you need three speakers today. Turn on weights to give one student a higher chance and cap one per team so the lineup spans groups. The result shows the chosen names and you can copy a record for notes.
Use consistent spelling, one name per line, and the same seed when you want audits. Results are a helper for scheduling and should not be used for gambling.
Random selection observes a finite set of candidate labels and returns one or more picks. With equal weighting each candidate has the same chance on a single pick. With weights, chance scales in proportion to each item’s weight value.
When unique selection is on, draws are without replacement and later picks come from a shrinking pool. If group caps are set, the pool also excludes items from any group that has already reached its per‑draw limit. A must‑include list is applied first and still respects uniqueness and group caps.
Seeding controls reproducibility. A non‑empty seed initializes a counter‑based pseudo‑random generator with a 128‑bit hash of the seed string and yields uniform values on [0,1). With an empty seed, the engine uses a non‑deterministic source. Identical list, options, and seed reproduce the same picks.
| Symbol | Meaning | Unit/Datatype | Source |
|---|---|---|---|
| Number of eligible candidates in the current pool | integer | derived | |
| Weight assigned to candidate i | number > 0 | input | |
| Sum of weights over the current pool | number | derived | |
| Chance to be selected on a single pick | probability | derived | |
| Requested number of picks in a round | integer | input | |
| Maximum items allowed per group in a round | integer | input | |
| Seed string for reproducible draws | string | input |
key=value form.weight and group (case‑insensitive); other keys are ignored.| Field | Type | Min | Max | Step/Pattern | Error/Behavior | Notes |
|---|---|---|---|---|---|---|
| Number of picks | number | 1 | dynamic bound | — | Clamped to available pool considering uniqueness and group caps | Disabled when no candidates |
| Seed | string | — | — | any string | Blank uses non‑deterministic source | Randomize option supplies a stamped seed |
| Default weight | number | 1 | — | step 1 | Used when a line omits weight=… |
Positive numbers only |
| Group cap | number | 0 | — | step 1 | 0 disables group limiting | Applies per draw |
| Exclude / Must‑include | multiline text | — | — | exact label match | Case‑sensitive; missing labels ignored | One label per line |
| Line attributes | inline tokens | — | — | [A‑Za‑z]+ = value |
Only weight and group are recognized |
Segments appear after | |
| Input | Accepted Families | Output | Encoding/Precision | Rounding |
|---|---|---|---|---|
| Items list | Plain text, one line per item; optional | weight=… | group=…; import .txt, .csv |
Picks table | strings | — |
| Copy/Download | CSV rows #,Item |
CSV file or clipboard | UTF‑8 | — |
| JSON state | Copy or download | Inputs, parsed items, candidates, picks, history | Formatted JSON | Probabilities shown to two decimals; internal series uses four decimals |
Units, precision & rounding. Percentages in the probability chart display two decimals; internal calculations use standard floating‑point arithmetic. History timestamps use your local time with hours, minutes, and seconds.
Randomness, seeds & reproducibility. Seeded draws are deterministic for a given list and options. Unseeded draws vary each run. With uniqueness on, successive picks are not independent because the pool shrinks.
Networking & storage behavior. Processing is client‑only. Imports use local file reads, copies use the clipboard, and downloads are generated on the device; nothing is uploaded.
Performance & complexity. Each selection scans current candidates; time per pick is linear in pool size. Large lists are practical, though rendering charts for hundreds of labels may feel slower.
Diagnostics & determinism. Identical inputs, seed, and options yield the same results; changes to list order or options change outcomes by design.
Security considerations. Labels are treated as plain text. If you paste results into other systems, ensure untrusted text is properly escaped to avoid injection in downstream tools.
weight and group are parsed from line attributes.Random draws from a labeled list with optional weights and groups.
| weight=… and | group=… segments.You now have a fair, explainable list of picks ready to copy or save.
No. Files are read locally, copies go to your clipboard, and downloads are generated on your device; nothing is sent to a server.
Clear history if you do not want past rounds kept in memory.Equal weighting gives even chances; with weights, odds scale linearly. Seeded draws are reproducible. The generator is not intended for gambling or lotteries.
Enter plain text lines. Optional attributes follow a pipe as weight=… and group=…. CSV and TXT files can be imported.
Yes. Use the same list, options, and the recorded seed. If any differ, results will change by design.
Caps, uniqueness, or exclusions can exhaust the pool. Reduce the cap, turn off uniqueness, or adjust the list to restore availability.
Add | group=Team Name on each line, enable the group rule, and set the cap to 1.
Yes. Any positive number is valid; odds scale with the value. Zero and negative values are ignored.
No. Sorting affects display only. Selection uses the parsed list and current options.
There is no purchase action on this screen. Check your site’s licensing terms for details.
Privacy & compliance. No data is transmitted or stored server‑side. Outcomes are purely random and have no monetary value.