Line & List Sorter

Paste a list and instantly sort it in the order you need.

How to use

These are example steps; replace the values for your task.

  1. Paste one item per line.
  2. Choose natural order and check that the result contains the expected rows.

Sorting options

Original text

0 characters

Not saved

Sorted result

0 characters

0 lines

About this tool

Sort product names, filenames, URLs, numbered items, and other one-item-per-line lists. Your content is processed only in your browser and is never sent to a server.

Try a use case and check the result

Put numbered filenames or list items into a readable order.

Try this example replaces the input and settings. Restore previous input returns to the state before the latest example. Normal draft-saving rules apply.

After trying multiple examples, repeat Restore previous input to return to your original input. History is kept only in this page; restore any input you need before closing it.

Put file2 before file10

Input and settings

file10
file2
file1

Order: Natural order; Ignore case: On; Trim lines: On; Remove blank lines: On

Expected result

Three lines: file1, file2, file10.

How to read the result

Natural order compares digit sequences numerically, so file10 appears in a different position than in ordinary lexical order.

Scope and pitfalls

Locale ordering depends on the browser. Length order uses JavaScript string length.

Continue with the next task

Frequently asked questions

Can it sort numbers naturally?

Yes. Natural order treats values such as item2 and item10 as numeric sequences.

Are duplicate lines removed?

No. Use the Duplicate Line Remover when you also want to remove repeated entries.

Is my list sent to a server?

No. Sorting and draft storage take place only in your browser.

Related tools

Choose the comparison that matches your list

Text and numeric sorting order values such as 2 and 10 differently. Check case, blank-line, and duplicate options, and keep a copy first if the original order matters.

Inputs and storage

Keep a separate copy before clearing or resetting. This browser autosaves entered text and tool settings. Data is not restored when read 30 days or more after its last save. Clearing site data or storage restrictions may remove it sooner.

Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.

Explore tools & games

All 120 tools · 16 games

All 120 tools · 16 games

Text & writing 26

Calculators & converters 22

Date & time 12

Images & PDF 26

Data & web 28

Random & handy 6

Games 16