What is Line Tools?
Line Tools batches the small text chores that come up daily — sorting, deduping, prepending line numbers — so you can stop dropping into a terminal for awk one-liners.
How to use
- Paste your text.
- Pick the operations you want.
- Copy the cleaned-up output.
Example
Use this sample to confirm what Line Tools does before pasting your own data.
banana\napple\nbanana\ncherry
apple\nbanana\ncherry (deduped + sorted ascending)
When to use it
Use Line Tools for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.
Frequently asked questions
Is sorting locale-aware?
It uses the browser default locale via Intl.Collator.
Are duplicates case-sensitive?
Yes by default; toggle "Case-insensitive" to merge by lowercase.