Weighted Random Choice

Each line is a label, or a label and a weight such as Common, 100. A missing weight counts as 1. A weight of zero or less is rejected. One pick, then copy it. Nothing is uploaded.

Pick one to see the result.

Weighted Random Choice draws one label from a list where some lines should appear more often. Write a label, or a label and a weight such as Common, 100. A blan

Overview

Draw one label from lines like Name, 10. A missing weight counts as 1. Zero and negative weights are rejected. Copy the pick. The draw stays in your browser.

What this page covers

Weighted Random Choice draws one label from a list where some lines should appear more often.

Quick answer

Draw one label from lines like Name, 10. A missing weight counts as 1. Zero and negative weights are rejected. Copy the pick. The draw stays in your browser. Use it in a browser with no account required, then review the output before publishing or shipping.

About Weighted Random Choice

Weighted Random Choice draws one label from a list where some lines should appear more often. Write a label, or a label and a weight such as Common, 100. A blank or missing weight counts as 1. A weight of zero or less is rejected.

getRandomValues in this browser.

How to Use Weighted Random Choice

Enter one choice per line. Add a comma and a weight when that choice should be more or less likely. Leave the weight off, or leave it blank, to count that line as 1. Click Pick one and copy the label.

Fix any line that the page rejects.

When to Use Weighted Random Choice

Games: Make a common outcome show up more often than a rare one. Workshops: Weight options that the group already prefers. Test data: Bias a label toward the case you need to see more. Menus: Let one dish stay more likely without removing the others.

Why Use This Weighted Random Choice?

A plain random choice treats every line as equal. A weight lets you say how often a label should appear, and a rejected weight keeps a bad line from silently counting as 1.

How to use this tool

  1. Enter one choice per line. Add a comma and a weight when that choice should be more or less likely.
  2. Leave the weight off, or leave it blank, to count that line as 1.
  3. Click Pick one and copy the label. Fix any line that the page rejects.

Getting started

Weighted Random Choice draws one label from a list where some lines should appear more often. Write a label, or a label and a weight such as Common, 100. A blan

Privacy and local processing

Weighted Random Choice Generator runs in your browser on Case Modify. Typical conversions do not upload your pasted text to our servers for processing.

You still share data with your browser vendor and network as with any website; see our privacy policy for analytics and ads. When you work with secrets, credentials, or personal data, review the output locally before you publish or send it.

Details: privacy policy.

Before you publish

Unicode styling, formatted code, and converted units can look correct in the preview but fail in the target app because of font support, line breaks, or platform limits.

Test a short sample in the destination (bio field, IDE, CMS, or spreadsheet) before you paste a long block.

Workflow tips: how Case Modify works, documentation hub.

Limits to keep in mind

Free browser utilities excel at quick edits, classroom exercises, and copy-paste formatting. They are not a replacement for licensed design software, production build pipelines, or compliance review.

When a platform rejects styled Unicode, fall back to plain ASCII from a case converter or remove formatting before you submit final copy.

Frequently asked questions

What counts as a weight?

A positive number after the last comma. A missing weight counts as 1. Zero, negative numbers, and words are rejected.

Does a higher weight always win?

No. A higher weight is more likely, not guaranteed. Rare, 1 can still be picked next to Common, 100.

Can I use this for a prize draw?

Only for a casual pick. A regulated draw needs a published method and a record you control.

Random Choice Generator: Enter names, ideas, or tasks and get a fair random pick.

Spin the Wheel: Spin a wheel of names you type. Colors and optional weights stay in your browser.

Random Number Generator: Pick random integers from dice rolls to statistical samples.

Random generators: All Random Generators

Explore Case Modify

Case Modify publishes free browser-based text converters, code formatters, encoders, random generators, and unit calculators. Each page runs locally after load unless a tool page states otherwise.

  • Case convertersTitle case, sentence case, uppercase, lowercase, camelCase, PascalCase, snake_case, and kebab-case tools.
  • Code & DataJSON, HTML, CSS, JavaScript, XML, YAML, Markdown, GraphQL, TypeScript, and SCSS formatters.
  • JSON toolsFormat, minify, escape, stringify, and edit JSON in the browser.
  • Text toolsFind and replace, duplicate line removal, sorting, encoding, and cleanup utilities.
  • ConvertersLength, weight, temperature, time, volume, area, energy, and related conversion calculators.
  • Font stylesBold, italic, bubble, aesthetic, and platform-specific Unicode text generators.
  • Random generatorsRandom numbers, letters, passwords, UUIDs, dates, and related generators.
  • BlogGuides on title case, camelCase, JSON formatting, and developer naming conventions.

Machine-readable summaries: llms.txt, llms-full.txt, agents.txt.