Free Tool

Line Utilities

Sort, deduplicate, shuffle, trim, number, and clean up text lines — all in your browser. No data leaves your device.

Line Utilities

What can Line Utilities do?

Line Utilities is a Swiss-army knife for text lists. Sort alphabetically, reverse the order, shuffle randomly, remove duplicate lines, trim leading and trailing spaces from each line, remove blank lines, or prepend line numbers — all with a single click.

Common use cases

Cleaning up CSV columns, deduplicating email lists, randomising quiz questions, sorting word lists for study, numbering code snippets, and preparing data for import into spreadsheets or databases.

How to use

  1. Paste or type your lines into the input field.
  2. Click any operation button — Sort A→Z, Remove duplicates, Shuffle, etc.
  3. The result appears instantly in the output field.
  4. Stack multiple operations by clicking buttons in sequence.
  5. Click Copy output to copy the result to your clipboard.

Your data stays in your browser — no data is sent to any server.

Frequently Asked Questions

Can I apply multiple operations in sequence?
Yes — each button transforms the current output. Apply Sort A→Z, then Remove duplicates, then Number lines, for example, and each step builds on the previous result.
Is duplicate removal case-sensitive?
You can toggle case sensitivity. With it on, 'Apple' and 'apple' are treated as different lines. With it off, only one is kept.
How does shuffle work?
Lines are shuffled using the Fisher-Yates algorithm, which gives a uniformly random permutation each time you click.
Is there a line limit?
There is no hard limit. The tool runs entirely in your browser and handles thousands of lines comfortably.