About Filter by Keyword
The Filter by Keyword tool lets you keep or remove lines that contain a specific word or phrase. Paste your text, enter a keyword, and instantly filter the results. It is a quick way to search, extract, or remove matching lines from large blocks of text.
Use the tool to filter log files, CSV exports, email lists, reports, and other text data. Whether you need to find specific records or remove unwanted entries, the tool helps you work with large datasets more efficiently.
You can choose to keep only matching lines (include mode) or remove them completely (exclude mode). This makes it useful for data cleaning, text analysis, and content review tasks.
The tool supports both case-sensitive and case-insensitive matching. Results update instantly as you type, making it easy to refine your search and verify the output.
Everything runs locally in your browser. Your data never leaves your device, and no account, login, or installation is required.
How to Use Filter by Keyword
Paste your list or text — one item per line.
Type a keyword or phrase to filter by.
Toggle Include/Exclude to keep matching lines or remove them.
Copy the filtered result.
Examples
Frequently Asked Questions
Is filtering case-sensitive?
Case-insensitive by default. Enable the Case Sensitive toggle to only match exact case.
Can I filter by multiple keywords?
The basic mode filters by one keyword. For multi-keyword filtering, run the tool multiple times, using each pass's output as the next input.
What is the difference between Include and Exclude mode?
Include mode keeps only lines that contain your keyword. Exclude mode removes all lines that contain your keyword and keeps the rest.
Can I filter using a regular expression?
For regex-based filtering, use the Regex Tester tool or the Find & Replace tool with regex mode enabled.
Can I use this to filter log files?
Yes — paste your log entries and filter by ERROR, WARN, a specific IP address, or any other keyword to extract only the relevant lines.
Does it search inside words or only match whole words?
It matches anywhere in the line, including inside words. 'app' matches 'apple', 'application', and 'app'.