Sort Lines Online
Alphabetize a list, bibliography or keyword set in one step. Choose deterministic code-point order or locale-aware English comparison, then copy or download the sorted result.
How it works
- Paste one item per line.
- Choose code-point sorting or English locale sorting.
- Review the order, then copy or download the result.
Supported input and limits
| Input | Plain text lines |
|---|---|
| Output | Sorted text |
| Size limit | Not applicable |
| Offline | Verified after the page and its script are cached |
- Line endings are normalized to LF.
- Only code-point and English locale ordering are offered.
- Maximum input is 1 MiB.
Privacy
This tool runs entirely in your browser. Your input is not uploaded, logged or stored by TinkerFern. Read the privacy policy.
Frequently asked questions
What is code-point sorting?
Lines are compared by JavaScript string order, which follows Unicode code points. It is deterministic and language-independent but puts uppercase letters before lowercase and does not treat accents as variants.
What does English locale sorting change?
It uses Intl.Collator("en"), which orders accented letters near their base letters and handles language-aware comparisons. Results can differ from code-point order.
Is the sort stable for equal lines?
Modern JavaScript engines use a stable sort, so identical lines remain in their original relative order.
Does it remove duplicates?
No. Use the Remove Duplicate Lines tool after sorting if you also need a unique list.
Is the text uploaded?
No. Sorting runs in the page and nothing is stored or transmitted.
Related tools
Continue with a task that often follows this one.
Text Toolkit
Change case, clean up, sort and count lines and characters.
Remove Duplicate Lines
Remove repeated lines while keeping the first occurrence and original order.
Word Counter & Character Counter
Count words, characters, sentences and reading time as you type.
Text Diff Checker
Compare two texts and see added, removed and unchanged lines.