TBToolbox
Developer Tools

CSV Row Filter

CSV Row Filter finds an exact header and keeps rows when the selected cell lowercased contains the lowercased search value. It is substring matching, not regex, equality, numeric comparison, locale-aware folding, or multi-column logic. An empty search value matches every row.

Runs locally — files stay on your device
Quick answer

What happens when Contains is blank?

Every data row matches.

Substring filters are broad

Case folding plus includes checks whether one string occurs anywhere inside another.

How it works

The header index is found, strings use toLowerCase and includes, then matching rows are CSV-escaped.

Key concepts

Substring

ann can match Joanna.

Header retained

Zero matches still returns it.

When to use it

  • Keep rows containing a fragment.
  • Perform a quick category search.
  • Create a reviewed subset.

When not to use it

  • Do not expect exact match or regex.
  • Do not leave search blank unintentionally.
  • Do not use for locale-sensitive identity.

Worked examples

Text

Input
Contains ana
Expected output
All cells containing ana in any case

Substring.

Blank

Input
Empty value
Expected output
All rows

Every string includes empty.

Wrong header

Input
Name vs name
Expected output
Error

Exact lookup.

Common mistakes

Expecting equality

Partial strings match. Correction: Use exact filtering.

Blank search

Nothing is removed. Correction: Require input.

Assuming locale rules

Basic lowercasing is used. Correction: Use domain-aware matching.

Best practices

  • Use a specific nonempty fragment.
  • Check false positives.
  • Verify row count.

Related operations and differences

CSV Column Extractor

Choose CSV Column Extractor when you need to extract one CSV column by header name.; use CSV Row Filter specifically for csv filter.

CSV Column Remover

Choose CSV Column Remover when you need to remove one CSV column by header name.; use CSV Row Filter specifically for csv filter.

CSV Duplicate Remover

Choose CSV Duplicate Remover when you need to remove completely duplicated CSV rows.; use CSV Row Filter specifically for csv filter.

CSV Sorter

Choose CSV Sorter when you need to sort CSV rows by a named column.; use CSV Row Filter specifically for csv filter.

Reverse CSV Rows

Choose Reverse CSV Rows when you need to reverse data-row order while keeping the header.; use CSV Row Filter specifically for csv filter.

Compare JSON

Choose Compare JSON when you need to show value differences between two JSON documents.; use CSV Row Filter specifically for csv filter.

Limitations and privacy

  • One exact column and substring only; no regex, equality, numeric/date comparison, multi-column logic, locale option, blank guard, counts, or streaming.

The pasted data is parsed and transformed locally in this browser.

Frequently asked questions

Is matching case-sensitive?

No.

Is it regex?

No.

Does blank match all?

Yes.

Is the header retained?

Yes.

References