Skip to content
Text Mechanic
Randomization

Random Line Picker

Draw a random sample of lines, with or without replacement.

Picks lines at random from the input. Without a seed the draw uses the browser's cryptographic random source and differs every time; with a seed the same input and seed always produce the same draw, which is useful when a selection has to be auditable.

Options

Draws with replacement, so a line can be picked twice.

Leave empty for secure, non-repeatable randomness. A seed makes the result reproducible.

InputText is processed entirely in your browser.
0lines0words0characters0 B
Output
0lines0words0characters0 B

Options explained

  • Allow the same line more than onceDraws with replacement, so a line can be picked twice.
  • SeedLeave empty for secure, non-repeatable randomness. A seed makes the result reproducible.