Line Filter & Extractor

Keep only the lines you need or remove the lines you do not.

How to use

These are example steps; replace the values for your task.

  1. Choose exact matching and trim lines for comparison.
  2. Check that the retained row preserves its original spaces.

Filter options

Original text

0 characters

Not saved

Filtered result

0 characters

0 matches

About this tool

Extract matching rows from logs, URL lists, product lists, keyword lists, and more. Regular expressions remain optional.

See what remains in a three-line log

Start with “INFO Started”, “WARN Low space”, and “ERROR Save failed”. Keeping lines that contain ERROR leaves only the third line. Excluding lines that contain WARN leaves the first and third.

Review the list-cleaning workflow

Try a use case and check the result

Extract matching rows from a log or list.

Try this example replaces the input and settings. Restore previous input returns to the state before the latest example. Normal draft-saving rules apply.

After trying multiple examples, repeat Restore previous input to return to your original input. History is kept only in this page; restore any input you need before closing it.

Extract rows containing ERROR

Input and settings

INFO ready
ERROR missing
INFO done

Query: ERROR; Match mode: Contains; Result: Keep matches; Case sensitive: On; Trim lines: Off

Expected result

One line: ERROR missing.

How to read the result

Check the match count and retained rows. Contains is different from matching the entire line.

Scope and pitfalls

Check the mode before using regular-expression syntax. Filtering does not diagnose the cause of a logged error.

Continue with the next task

Frequently asked questions

What happens when the regular expression is invalid?

An error message appears and the result stops updating. Your original text is not changed.

Can I keep only non-matching lines?

Yes. Choose “Exclude matching lines”.

Is my text sent to a server?

No. Filtering and storage take place only in your browser.

Related tools

Inputs and storage

Keep a separate copy before clearing or resetting. This browser autosaves entered text and tool settings. Data is not restored when read 30 days or more after its last save. Clearing site data or storage restrictions may remove it sooner.

Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.

Explore tools & games

All 120 tools · 16 games

All 120 tools · 16 games

Text & writing 26

Calculators & converters 22

Date & time 12

Images & PDF 26

Data & web 28

Random & handy 6

Games 16