Lists & lines

Filter Text Lines Online

Select only the lines you need or remove lines matching an unwanted pattern. Search for literal text, use case-sensitive matching, enter multiple terms, or apply a regular expression for more advanced log and list filtering.

Focused workspace

Filter Lines

Recommended settings loaded
0 characters · 0 words
0 characters · 0 words
Tool settings

Before and after

Filter Lines Example

Input

INFO Server started
ERROR Connection failed
INFO Retrying

Output

ERROR Connection failed

Three steps

How to use this tool

  1. Paste the line-based text or log.
  2. Enter a value and choose whether matching lines are kept or removed.
  3. Apply the filter and copy the resulting lines.

Useful workflows

Common use cases

  • Keep only error lines from logs.
  • Remove unwanted domains, labels, or status values.
  • Filter keyword and URL lists using several terms.

How it works

Fast text processing without an upload

The selected operations are applied in order by JavaScript running on this page. The input is not sent to the Go server and is not written to SQLite. The server provides the page, SEO content, and blog system; the browser performs the text transformation.

Questions

Filter Lines FAQ

Can I filter with several words?

Yes. Enable multiple terms and separate values with commas.

Are regular expressions supported?

Yes. Enable the regular-expression option for advanced patterns.

What happens if the pattern is invalid?

The tool reports the error and leaves the output unchanged.