Category: Text tools

Text Line Filter

System ideaMissing a tool?

Keep or drop lines that match a search or pattern

Paste text and keep lines that contain, do not contain, or match a regex, with case sensitivity and invert options. Runs entirely in your browser.

2 of 5 lines matched.

Matched lines
error: disk full
error: timeout waiting for response

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

Filtering a log dump or exported list down to the relevant lines usually means reaching for the command line. This tool does the same job in the browser: test every line for plain text or a regular expression, choose whether the match should be case-sensitive, and optionally invert the result to keep the lines that do not match instead.

How to use it

  1. Paste the text you want to filter into the input box, one item per line; each line is tested on its own and the content of a kept line is never rewritten.
  2. Enter a search term or a regular expression, choose the match mode, and decide whether the comparison should be case-sensitive; you can adjust the condition and filter the same text again.
  3. Turn on invert when you want the lines that do not match, then copy the filtered result from the output area.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

How do I use Text Line Filter?
Paste your text with one item per line, enter a search term or regular expression and choose the match mode, then copy the filtered lines from the result area. All three steps happen on this page, with no command-line tool to install.
Which inputs and options does Text Line Filter support?
The input is a block of multi-line text, where every line is one unit. The options are plain-text or regular-expression matching, a case-sensitivity switch, and an invert switch that keeps the non-matching lines instead.
How do I view or copy the result?
The filtered lines appear in the result area on the same page. Change the term, the match mode or the invert switch and the result updates, so you can check it before copying the output.
Is my input, file, or result uploaded?
No. Inputs, files, settings, and results stay in the browser and are not uploaded to LocalTools. The filtering runs on your own device, so pasting a log dump or an internal export does not send it to a server.
What does this tool not support?
It only keeps or drops whole lines. There are no accounts, no sync and no cloud history, no server upload or cloud processing, and no batch or format features beyond what the page lists; your text and settings are not saved once you close the page.