Local-first tools. Your files and text stay in your browser.

Text & Data

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.

Local processing
Line sorter Runs in your browser
0 words · 0 characters · 0 lines
Result
Apply an operation to see the result here.

How it works

  1. Paste one item per line.
  2. Choose code-point sorting or English locale sorting.
  3. Review the order, then copy or download the result.

Supported input and limits

InputPlain text lines
OutputSorted text
Size limit Not applicable
OfflineVerified 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.

Continue with a task that often follows this one.

All tools →

Privacy and cookie settings

This build loads no advertising scripts and no analytics vendor. If analytics is enabled by the owner, it sends only allowlisted event names and tool IDs, never your text, files or generated output.

Analytics
Disabled in this build
Advertising
Disabled in this build
Local storage
Theme, favorite tool IDs, recent tool IDs