Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

Random Picker

Paste a list and pick a random entry, either instantly or with a spinning wheel. Pick one or several, remove winners from the pool between rounds, and keep a history of past draws.

Everything runs locally in your browser. Your data never leaves your device.

Entries

One entry per line. Give an entry a weight with name * 3 to make it three times as likely.

Draw options

Mode

Result

Add entries above to draw a winner.

Next steps

Send this tool's output straight into another tool.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more, each with its own copy button.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.

About the Random Picker

This tool picks random entries from a list you paste in, one entry per line. Draw a single winner or several at once, either instantly or with a spinning wheel that lands on the result. Every draw uses the browser's crypto random number generator, so picks are fair and unpredictable.

Weights are supported with a simple suffix: write Carol * 3 and Carol takes three times the space on the wheel and three times the odds. Turn on remove winners to run raffle rounds where nobody wins twice, and the history below the tool remembers what was drawn and when.

What you can do

  • Pick a random name from a list.
  • Spin a wheel of names and watch it land on a winner.
  • Draw several winners at once, without repeats.
  • Give entries weights so some win more often.
  • Remove winners from the pool between raffle rounds.
  • Keep a history of past draws.

How to use the Random Picker

  1. 1Paste your list, one entry per line. Blank lines are ignored.
  2. 2Add a weight with name * 3 if some entries should win more often.
  3. 3Choose Instant for a quick pick or Wheel for a spin, and set how many to pick.
  4. 4Turn on remove winners if drawn entries should leave the list.
  5. 5Draw, then copy the winners or look back at past draws in the history.

How the wheel picks fairly

The wheel is a display, not the source of randomness. The winner is drawn first with the browser's crypto random number generator, and the wheel then spins to land on that exact entry. The animation can never bias the result, and a weighted entry's larger segment matches its real odds.

The wheel draws up to 100 entries. Longer lists still work, the tool just picks instantly and says why. When you pick several at once in wheel mode, the wheel lands on the first winner and the full result appears below it.

Weights, duplicates and rounds

A trailing * number sets an entry's relative weight, so Bob * 2 wins twice as often as an unweighted line. Decimals work too, and a weight of 0 takes an entry out of the pool without deleting its line. Duplicate lines are allowed and simply raise that entry's odds, and the entry counter points them out.

Picking several winners samples without replacement, so one draw never returns the same entry twice. With remove winners on, drawn entries leave the list after each round, which turns the tool into a simple raffle: draw, hand out the prize, spin again for the next one. If your list needs cleanup first, Dedupe Lines removes repeated lines and Sort Lines can shuffle or sort them.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Format code in JavaScript, TypeScript, JSON, JSON5, HTML, Vue, CSS, SCSS, LESS, Markdown, YAML, GraphQL, XML and SQL. Pick tabs or spaces, set the indent width, and format the input in place with one click.

Work with dates: count the days between two dates, add or subtract a duration, get someone's exact age, and look up the ISO week number, day of year and other facts about any date.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Escape text into HTML entities or decode entities back to plain text. Choose named or numeric entities, escape only the unsafe characters or everything outside ASCII, and read the result live.