SheepDev

Line tools

Line tools lets you trim, remove blanks and duplicates, sort, and number lines in your browser.

Line tools

⌂ Inputs and results stay in this browser and are not automatically stored or sent.

Settings
Waiting for input
Auto-update for inputs up to 16 KiB
Lines to processTEXT · 0 B
0 lines
Edit & view

Waiting for input

Complete text result
Settings
Settings

Trim → remove blank lines → deduplicate → sort → number. Only selected steps run, in this order. Sorting also depends on the device locale.

How to use

Enter one item per line and enable only the cleanup operations you need: trimming, blank-line removal, deduplication, or sorting.

Leave sorting off when the original order matters. Check the resulting count and first/last items, and decide whether whitespace differences should collapse distinct entries.

Examples

 beta 
alpha
alpha

 gamma 

Principles and limits

Each input is limited to 1,048,576 bytes, output to 33,554,432 bytes, and processing to 5,000 ms. Input is never silently truncated.

Guides

Related tools

Text and regular expressions

List set operations

List set operations lets you calculate union, intersection, and directional differences for line lists in your browser.

Text and regular expressions

Split and join text

Split and join text lets you split and join text with configurable delimiters, prefixes, and suffixes in your browser.