Filter Lines
Keep or remove every line that contains a word — like grep, in your browser.
- Processed locally — your files never leave your device
- Free, no sign-up
- No file limits
Use \n for a new line and \t for a tab.
Input
Output
How to use Filter Lines
- 1
Paste or type your text in the left box.
- 2
The result of “Filter Lines” appears instantly on the right — adjust the options if needed.
- 3
Copy the result or download it as a .txt file.
Features
- Keep or removeShow only matches, or drop them — one switch.
- InstantThe result updates as you type — no button to press.
- PrivateYour text is processed in your browser and never uploaded.
Frequently asked questions
Can I remove lines instead of keeping them?
Yes — switch the mode to “Remove matching lines”.
Is my text stored anywhere?
No. Everything runs locally in your browser.
Is it free?
Yes, completely free with no limits and no sign-up.