Text

Sort Lines

Sort lines alphabetically.

Text input

Settings

Output

Result appears here after you select

{ } How to use

  1. Paste your lines.
  2. Choose A → Z or Z → A, then select Process.

{ } How it works

Sort Lines works on the text you provide. Adjust the options, then select Process ▸ and it runs entirely in your browser — nothing is uploaded to a server — then shows the result in the Output panel.

Inputs

  • Text input — paste or type your input in the left panel (use Sample for an example)
  • Order — choose one — A → Z, Z → A (default: A → Z)

Output

TXT text — copy or download it from the Output panel.

{ } Common uses

  • Alphabetize a list of names, keys or imports.
  • Put two lists in the same order so they can be compared.
  • Group similar lines together before scanning for repeats.

{ } Limitations

  • Sorting is locale-aware, so an accented letter sits beside its base letter rather than after Z. That is what a reader expects, but it is not a byte comparison and the exact order can differ slightly between browsers.
  • Numbers sort as text, so 10 comes before 9. Pad them to the same width if you need numeric order.
  • Blank lines sort to the top.

{ } FAQ

Is my data uploaded to a server?

No. Everything runs locally in your browser — your files never leave your device.

Can I process more than one file at once?

This tool works on one input at a time.

Is this tool free?

Yes — it’s completely free and needs no sign-up.

Is the sort case-sensitive?

Not strictly. Locale-aware comparison groups ada and Ada together instead of putting every capital first.