BaroBenchYour digital workbenchWorkbench
KOEN한국어로 전환
Your inputs and files are processed in this browser.Ready without an account

Line sorter & duplicate remover

Deduplicate or sort lines, remove blank lines, trim edges and add line numbers locally.

Processed in this browser · nothing is uploaded

Input & options

Result

Ready when you are

Enter your input and run the tool to see your result here.

Good to know

Deduplication preserves first occurrence and is case-sensitive. Sorting respects the current language and numeric order. Line endings are normalized to LF.

For example
Operation: dedupe
Input: apple
banana
apple

FIELD NOTES

Understand and use your results

Clean lists and line-oriented data. Deduplication, sorting and removing blank lines are separate operations; apply them in the order your task requires.

How to use it

  1. Paste one item per line and choose an operation.
  2. Inspect the result. To chain operations, copy it into the input and choose the next operation.

Worked example

Input and options
apple
banana
apple (deduplicate)
Result or interpretation
apple
banana

Deduplication preserves the first occurrence and its order. Natural sorting places x2 before x10. Removing duplicates does not automatically trim whitespace.

Why do two apparently identical items remain?

Matching is case-sensitive and whitespace-sensitive: Apple differs from apple and from a padded value. Trim line edges first if that suits your task. Line endings are normalized to LF, not preserved in their original format.

Unexpected result? Report a problem

What are you working on?

↑ ↓ navigate · Enter open · Esc close