Skip to content
UniKit

Random file picker

Draw N files at random from a pasted file list (one path per line or comma separated). The seed makes every draw reproducible, and the list never leaves your browser.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

File list

One path per line or separated by commas/semicolons. Blank lines and surrounding spaces are ignored; duplicate paths count as separate entries.

Drawn files

A single draw never repeats a file; the output follows the draw order.

Paste a file list to draw from it

Files in list: 0 · Drawn: 0 · Seed: 1

What this tool does

  • Draw a sample of files or assets for review, spot checks or QA
  • Lucky draws and task assignment: paste candidate file names and draw several distinct ones at once
  • Auditable randomness: note the seed and reproduce exactly the same draw later

Example

Input

photos/a.png
photos/b.jpg
photos/c.gif
photos/d.webp
photos/e.bmp
photos/f.svg

Output

photos/e.bmp
photos/b.jpg
photos/f.svg

The real result with seed 1 and three draws; the same seed always repeats exactly, only another seed changes it.

Frequently asked questions

Does it read a folder on my computer?

No. Reading a local directory requires the user to grant a directory handle, so this tool only works on the file list you paste (one path per line). It never scans a disk and never touches the network.

Can a file be drawn twice?

Within one draw, no: an entry is never picked twice. If your pasted list already contains the same path twice, they are two separate entries and both can be drawn. Asking for more files than the list holds raises an error instead of repeating entries.

How random is it, and can it be reproduced?

It uses an in-file mulberry32 generator plus a partial Fisher–Yates shuffle seeded with the text in the seed field (default 1). The same seed and list always give the same result, and the seed actually used is echoed in the stats. It is reproducible ordering, not cryptographic randomness.

How large a list is supported?

Limited only by browser memory — tens of thousands of lines work fine and the output contains just the drawn entries. Lines may be separated by newlines, commas or semicolons, and blank lines are ignored.

Keywords:random file pickerRandom file pickerrandom-filepick random files

Related tools