Text and Line Tools
Count, dedupe, sort, filter, reformat, and convert case across twelve line operations in one box.
Text and Line Tools puts twelve operations on the same pasted text in one panel: count lines, words and characters, drop duplicate or empty lines, squeeze extra whitespace, sort or filter the list, add a prefix or suffix, convert tabs, join lines, find and replace, and change letter case. Each operation used to be its own page with its own single-purpose box; they are together here because they all read and rewrite the same input.
How to use
- Paste or type the text into the box.
- Choose the operation from the dropdown.
- Read the result below, then copy it.
Features and limitations
- Twelve operations share one text box, so nothing is retyped or re-pasted between steps.
- Sorting offers alphabetical both ways, numeric, and by line length.
- Numeric sorting puts lines that are not numbers at the end instead of scattering them through the list.
- The tab conversion honours the width you choose in both directions, including the leftover spaces that do not fill a whole tab.
- Case conversion covers eight formats including camelCase, kebab-case, and sentence case.
- A malformed regular expression reports the problem instead of silently returning nothing.
Limitation: Operates on line breaks in the text you paste. It does not open files, detect encodings, or parse CSV, and the numbering follows visible line breaks rather than what any specific editor would call a line.
Frequently asked questions
Usage, result, and limitation information for this tool.
- Why are these a dozen operations on one page instead of a dozen pages?
- They all read the same pasted text and rewrite it. Splitting them meant twelve pages competing for nearly the same keywords, and each one forced you to paste your text again to try the next thing.
- Does it detect line endings or encodings?
- No. It splits on carriage return, line feed, and carriage-return-line-feed pairs, which covers how text usually arrives from a copy-paste. It does not open files and does not attempt to detect whether the text is UTF-8 or anything else.
- What happens to a regular expression that will not compile?
- The error is shown and no output is produced. Swallowing it and returning an empty result would look like the tool worked and found nothing.
- Does the file get uploaded?
- No. Everything runs on the text in the box, in your browser.
Advertisement
Every Loonix product is made by me. Every purchase helps me keep making free tools for everyone.

LoonixOrganizer
Need offline desktop file organizer?
0$ to 2.99$

"ShotterStuck" Lightroom Preset Bundle
The Ultimate Preset Bundle · Cinematic · Neon · Film Emulation
2$ to 5$

Loonix Tunes Music Player
A high-performance, music player crafted for uncompromising sound quality.
FREE

Buy me a coffee
Support the author on Ko-fi.
☕