YOUR TEXT, IN FOCUS

Sort lines.

Sort lines in ascending or descending order, with natural number ordering.

Free · No account
Text stays in this tab
0 LinesUTF-8 · TXT

Text is kept in memory only. Refreshing or closing this tab clears it. We do not upload your text or store it in your browser.
01 — How to use it

Bring order to your list.

  1. Paste one item per line.
  2. Choose ascending or descending order.
  3. Apply and review the sorted list.
02 — A few useful details

Sorting follows the interface language. Numeric portions sort naturally, so item2 precedes item10. Duplicate and blank lines are retained; line endings become LF.

Use UTF-8 plain text, up to 1 MB and 20,000 lines per input.

Input and output example

Example settings: Ascending

Input
item10
item2
item1
Output
item1
item2
item10

Common questions

Does item2 come before item10?

Yes. Ascending order uses natural number sorting: item1, item2, item10. Text ordering also depends on the selected language. Sorting does not remove duplicate lines.

Which files can I import?

Paste plain text or import UTF-8 .txt files, up to 1 MB and 20,000 lines per input. PDF, Word documents and images are not supported directly; extract the plain text first. Text stays in the current tab's memory.