Text & Writing

Sort lines

Alphabetical, length, random — with deduplication.

  • Instant
  • Free
  • Private (processed locally)
  • No sign-up

A list in order, in one second

Guests, references, tasks, keywords, student names: every list eventually needs sorting. Paste your lines and choose: alphabetical (both ways), by length, random or reversed — with deduplication and space cleanup as options.

  1. Paste the list

    One entry per line — from Excel, an email, a text file…

  2. Pick the sort

    A→Z, Z→A, length, random (cryptographic) or a simple reversal.

  3. Refine and copy

    Duplicates removed, spaces trimmed; the before/after stats confirm it.

Favorite use cases

  • Sort a guest or student list in clean alphabetical order (accents placed correctly).
  • Shuffle a speaking or tournament order fairly thanks to cryptographic randomness.
  • Deduplicate an email or keyword list before import.
  • Sort by length to spot overly long labels (SEO titles, button captions).

Natural sorting is on: item2 comes before item10, and accents are collated linguistically. Same behavior as Finder or File Explorer — not a raw ASCII sort.

Frequently asked questions

Does the sort handle accents correctly?

Yes: sorting uses your browser’s linguistic collator (Intl.Collator), which puts “école” near “ecole” rather than after “zebra” as a character-code sort would. Numbers are also sorted naturally: “item2” before “item10”.

How do I remove duplicates at the same time?

Tick “Remove duplicates”: each line appears only once, the first occurrence is kept. With “Ignore case” ticked, “Paris” and “paris” count as one duplicate.

Is the random shuffle truly random?

Yes: the tool uses the Fisher-Yates algorithm fed by the browser’s cryptographic generator — every permutation is equally likely. Ideal for fair speaking-order draws.

What is the difference between “Z → A” and “Reverse”?

“Z → A” sorts in descending alphabetical order. “Reverse” simply flips the current order of lines without sorting — handy to invert a chronological list.