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.
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.
Filter by Keyword and Find & Replace both work on matching text, but they do different jobs. Filter by Keyword operates on whole lines — it decides whether to keep or throw away each line based on whether it contains your keyword, which is ideal for narrowing down logs, CSV rows, or lists.
Find & Replace works within lines — it doesn't remove any lines, it changes the text inside them. If you need to shrink a list down to just the relevant rows, use Filter. If you need to change the content of every row, use Find & Replace.
Case-insensitive by default. Enable the Case Sensitive toggle to only match exact case.
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.
Include mode keeps only lines that contain your keyword. Exclude mode removes all lines that contain your keyword and keeps the rest.
For regex-based filtering, use the Regex Tester tool or the Find & Replace tool with regex mode enabled.
Yes — paste your log entries and filter by ERROR, WARN, a specific IP address, or any other keyword to extract only the relevant lines.
It matches anywhere in the line, including inside words. 'app' matches 'apple', 'application', and 'app'.
Yes — paste your log or export, enter the customer ID as the keyword, and Include mode will keep only the lines mentioning that ID.
Yes — enter 'test' or 'staging' as the keyword and switch to Exclude mode to remove every line containing that word, leaving only production entries.
If each row is on its own line, yes — enter the status value (e.g. 'Shipped') as the keyword and use Include mode to keep only matching rows.