Line Tools

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

Join Lines

Separator:

Split into Lines

Split by:

Wrap Each Line

Prefix:Suffix:

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.