Line Tools

Sort, filter, join, split, and transform lines of text. Chain operations for powerful multi-step workflows.

Join lines
Split into lines
Wrap each line
Input12 lines
Output
Pick an operationChoose a group above and click an operation. Operations chain, and the output updates as you edit the input.
No operations yet12 lines9 unique71 charsProcessed locally

How to use it

  1. Paste lines or drop a text file into the input.
  2. Choose a group (Join/Split, Sort, Filter, Modify) and click operations; they chain and update as you edit.
  3. Undo or remove steps, check Stats, then copy or download the result.

Related tools

Text Diff CheckerFormatWord & Character CounterTextCase ConverterText

What are Line Tools?

Line tools perform bulk operations on multi-line text: sort lines alphabetically or numerically, remove duplicates, reverse order, add line numbers, filter lines by pattern, trim whitespace, and remove empty lines. Essential for processing log files, data lists, and configuration entries quickly.

Common use cases

  • Sorting lists of names, URLs, or file paths alphabetically
  • Removing duplicate lines from data exports
  • Adding line numbers to code snippets for documentation
  • Filtering log files by keyword or pattern
  • Reversing the order of lines in a file

Frequently asked questions

How is this different from command-line tools?

It provides the same functionality as sort, uniq, grep, nl, and tac but in a visual interface with instant preview. No terminal needed, and multiple operations can be chained and previewed before copying the result.

Can I sort lines numerically?

Yes. Numeric sort treats each line as a number and sorts by value (1, 2, 10, 20) rather than alphabetically (1, 10, 2, 20). Both ascending and descending order are supported.