Shuffle Lines

Randomly shuffle the order of pasted text lines.

Processed in your browser — nothing is uploaded.

Randomly shuffle the order of pasted text lines. Paste or type your text and the result updates instantly. Everything runs in your browser, so nothing is uploaded, nothing is stored, and there is no limit on how much text you can process.

What Shuffle Lines does

Lines are shuffled with a Fisher-Yates pass, which gives every ordering an equal chance. Repeat the shuffle and you will get a different result each time, so copy the output you want before running it again.

Your text never leaves your device

This tool is written in JavaScript and runs locally in the browser tab. No text is transmitted to a server, none is written to a log, and none is retained after you close the page. That makes it safe for drafts, client work and anything else you would rather not paste into an online form.

Why results can differ from other tools

Text processing involves judgement calls: what counts as a word, whether a hyphenated compound is one token or two, how a line ending is treated. Different tools resolve these differently, so a small discrepancy between this and a word processor is expected rather than an error.

Frequently asked questions

Is Shuffle Lines free to use?

Yes, completely. There is no account, no sign-up, no usage limit and no watermark. Every tool on this site runs in your browser and stays free.

Does my text get uploaded anywhere?

No. The processing happens locally in your browser using JavaScript. Your text is never transmitted to a server, never logged and never stored.

Related text tools