Line Sorter

Sort lines using natural ordering, so item2 comes before item10.

  • 100% Free
  • No account required
  • Runs in your browser
  • No data is uploaded
Not saved automatically

Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.

Saved Line Sorter workspaces

Saved only on this device. Clearing browser data removes your workspaces. Expired saves are removed when this app next checks storage.

No saved workspaces for this tool yet.

No settings needed
Text to Sorted lines

Input

Paste or edit your lines, then click “Run tool”.

Type, paste or drop a file
Text
Ln 1, Col 1Spaces: 2UTF-824 bytes

Output

Sorted lines (read-only).

Read-only
Text
Ln 1, Col 1Spaces: 2UTF-80 bytes
Ready when you arePaste your input, then press Run tool or ⌘ ↵

Using the Line Sorter

Overview

Sort lines using natural ordering, so item2 comes before item10.

Order names, IDs, dependencies or log lines so they are easy to scan and compare.

How to use it

  1. Paste or type your Text into Input, drop a file onto it, or press Example to load a sample.
  2. Press Run tool, or ⌘ ↵ from anywhere on the page.
  3. Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.

Input

Lines.

Output

Sorted lines.

  • Natural order (item2 before item10)
  • Case-insensitive
  • Keeps every line
  • One item per line

Tips

  • Add the g flag to list every match instead of only the first.
  • Text Diff compares line by line: + marks an added line, - a removed one.
  • Use the safe regex tester for patterns that might backtrack badly.

Keyboard shortcuts

⌘ ↵
Run the tool
⌘ K
Search every tool
/
Filter the sidebar