Line Tools
- Paste your text, one entry per line.
- Pick the operation: sort, reverse, split or truncate.
- Adjust the options specific to that operation.
- Copy the result.
Sorting is alphabetical and follows language rules, which means accented letters sit next to their unaccented equivalents instead of being pushed to the end. A naive sort by character code would place "ácido" after "zebra".
The ignore case option treats "Banana" and "banana" as equivalent during comparison.
Duplicate removal happens after sorting and honours the same case setting: with it on, "Banana" and "banana" count as one entry and only the first survives.
Split breaks the text on a separator, which can be plain text or a regular expression. Output comes as lines, JSON or CSV — handy for turning a pasted list into a data structure.
The trim-each and drop-empty options avoid the messy result typical of repeated separators or spaces around commas.
Truncate cuts by characters, words or lines, appending whatever ellipsis you choose.
The cut mid-word option is the detail that changes the outcome: with it off, the cut backs up to the last space, keeping the final word whole. That is what you want for summaries and previews.
- Deduplicate a list of emails, codes or URLs pasted from a spreadsheet.
- Turn a comma-separated list into one item per line, or the other way round.
- Generate length-controlled previews for cards and listings.
- Sort a list before comparing it with another in the diff checker.
Frequently asked questions
Because sorting uses language-aware comparison, not character codes. That keeps "ácido" next to "acido", which is the expected behaviour.
It depends on the ignore case option. With it on, "Banana" and "banana" count as the same entry and only the first survives.
Yes, by enabling regular expression mode. A pattern alternating between comma and semicolon splits on both.
Because cut mid-word is off, so the cut backed up to the last space rather than breaking the final word.
No. Every operation runs in your browser.