Online Filter Text
Include or exclude lines (or the whole text) that match a keyword or regex. Keep only matching lines or remove them. Client-side only.
Frequently Asked Questions
- What is filtered?
- By default each line is treated as a unit. Lines that contain the keyword (or match the regex) are either kept (include) or removed (exclude). You can also filter the whole text as one block.
- Include vs exclude?
- Include mode keeps only lines that match. Exclude mode removes matching lines and keeps the rest.
- Regex support?
- You can type a literal keyword or a regular expression. Enable regex mode to use pattern syntax (e.g. ^error|warn for lines starting with 'error' or containing 'warn').
Related Text Tools
Word Counter
Count words, characters, sentences, and paragraphs. Perfect for writers and students.
Case Converter
Convert text between uppercase, lowercase, title case, and sentence case instantly.
Morse Code Translator
Translate text to Morse code and Morse code to text. Supports letters, numbers, and punctuation.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups. Choose paragraphs, sentences, or words.
Diff Checker
Compare two texts side by side. Highlight differences between documents, code, or strings.
Character Counter
Count characters with and without spaces. Real-time counts for tweets, meta descriptions, and forms.