Line Tools
Remove duplicate lines, sort A to Z or numerically, reverse, shuffle, trim, add a prefix or suffix, and join lines. Chain the steps.
More options
Lines
Stays in your browserResult
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to String Replacer / List Compare.
Free Online Line Tools
Clean up a list in one go: remove repeated lines and empty lines, sort, add quotes and join everything into one line. Turn on the steps you need. It gives developers a quick browser-based way to solve a focused line tools task before moving the result into a project.
How to use Line Tools
Paste your lines in the box on the left, turn on the steps you want, then press Run. Steps run in a fixed order: trim, remove empty, remove duplicates, sort, reverse, shuffle, number, prefix and suffix, quote, join.
Common mistakes
- Expecting "Apple" and "apple" to be the same: turn on the case option to treat them as duplicates.
- Lines with spaces at the end look equal but are different: turn on "Trim spaces".