Line Tools
Add a prefix or suffix to every line of pasted text, filter lines by whether they contain (or don’t contain) a given term, or repeat a block of text across multiple lines — a small set of line-level operations bundled into one tool.
Working with a list line-by-line comes up more than expected: adding quotes around every item in a list for code, filtering a log file down to only lines matching an error keyword, or generating repeated boilerplate lines. Doing any of these by hand across more than a few lines is tedious in a way that a dedicated tool eliminates instantly.
Paste your text, then choose an operation: add prefix/suffix (type what to add, applied to every line), filter lines (enter a keyword or pattern, and choose whether to keep or exclude matching lines), or repeat (paste a line or block and set how many times it should repeat). Operations can be chained — filter first, then add a prefix to what remains, for example.
Frequently asked questions
Can I use a regex pattern for the filter option, not just a plain keyword?
Yes, toggle regex mode to filter using a pattern rather than a plain substring match, useful for more precise filtering than a simple keyword search allows.
Does the prefix/suffix option work on blank lines too?
Blank lines are skipped by default so you don’t end up with lines containing only the prefix/suffix text, though a toggle lets you include them if that’s actually what you want.
What’s a real example of when I’d use the “repeat” option?
Generating placeholder rows for a table, repeating a boilerplate comment across a config file, or creating a quick numbered test dataset are common uses — pair it with the Duplicate Word Finder or a numbering tool afterward if you need each repeated line to also be sequentially labeled.
Is this different from Find and Replace?
Yes — Find and Replace changes specific text within lines, while Line Tools operates on whole lines (adding to them, filtering them out, or repeating them), so the two are complementary rather than overlapping.