Text tool

Line Processor

Clean, sort, reverse, number, prefix, or deduplicate lists of lines.

Practical guide

How to use Line Processor

Line Processor performs repeatable operations on lists, copied columns, URL sets, keywords, and other one-item-per-line data. Operations include trimming, blank removal, deduplication, sorting, reversing, numbering, prefixes, and suffixes.

Step by step

  1. Paste one item per line.
  2. Choose an operation and any case or prefix option.
  3. Process the list, review the count, and move the result back to input if another operation is needed.

Example

Inputpear Apple pear banana
ResultDeduplicated and sorted: Apple banana pear

How it works

Each action transforms an in-memory array of lines. Deduplication tracks previously seen values, while sorting uses locale-aware comparison with numeric handling.

Important limitations

  • Operations are applied one at a time; their order can change the final result.
  • Case-insensitive deduplication keeps the first spelling encountered.

Frequently asked questions

How do I trim, deduplicate, and sort together?

Run Trim, use the result as input, then run Remove duplicates and Sort in the order you prefer.

Are blank lines considered duplicates?

Yes during deduplication. Use Remove empty lines when you want none in the final list.