ToolJutsu
All tools
Data Tools

CSV Row Filter

Filter CSV rows by custom conditions.

382 chars
Filter conditions
Matching rows4 of 7 rows match
order_idcustomercountrystatustotal
1001Ada LovelaceUnited Kingdomshipped128.50
1003Alan TuringUnited Kingdomshipped212.99
1005Edsger DijkstraNetherlandsshipped189.10
1007Tim Berners-LeeUnited Kingdomshipped45.00
Processed on your device. We never see your files.

How to use CSV Row Filter

What this tool does

The CSV Row Filter takes a CSV file and keeps only the rows that match the conditions you set. You drop a file or paste CSV text, build one or more rules made of a column, an operator and a value, and the tool shows the matching rows in a live preview along with a count like “12 of 80 rows match”. You can then copy the filtered data or download it as filtered.csv, header included.

A CSV — comma-separated values — is a plain-text spreadsheet: each line is a row, and the comma-separated values on that line are the cells, with the first line usually naming the columns. Filtering means selecting a subset of those rows by a rule rather than by hand.

Why and when you’d use it

Most useful work starts by narrowing a big export down to the part you actually care about. Spreadsheets can filter, but the controls are fiddly, the results are hard to share, and it is easy to forget a filter is still applied. A dedicated filter that outputs a clean new file avoids all of that.

Common situations:

  • Isolating a segment. Pull only the customers in one country, or only orders with a “pending” status, from a large export.
  • Cleaning a marketing list. Keep rows where the email column is not empty, or drop rows that contain a test value.
  • Focusing a report. Keep only transactions above a certain amount before handing the file to finance.
  • Building a sample. Extract a small, representative slice of a dataset to share or test with.

How to use it

  1. Drop a CSV file onto the upload area or paste CSV text into the box. A sample with an example condition loads automatically.
  2. Set the Delimiter if the columns look wrong — Auto-detect handles most files, or pick Comma, Semicolon, Tab or Pipe. Toggle First row is a header if your file has no header line.
  3. Build conditions. Each one is a column, an operator (equals, contains, greater than, is empty, matches regex and more) and a value. Operators like “is empty” need no value.
  4. Choose Match all (AND) to require every condition, or Match any (OR) to require just one. Use Case-sensitive if upper and lower case should be treated as different.
  5. Read the match count, check the preview, then Copy CSV or Download .csv to save filtered.csv.

Common pitfalls and tips

The most frequent surprise is case sensitivity. By default the text operators ignore case, so Shipped and shipped match — switch on Case-sensitive only when the distinction matters. Another is stray whitespace: a value of shipped with a trailing space will not equal shipped. The “is empty” and “is not empty” operators ignore surrounding spaces, but “equals” does not, so trim your data if exports are inconsistent.

Number comparisons depend on the data genuinely being numeric. If a total column contains a currency symbol or thousands separators — £1,200 rather than 1200 — it no longer reads as a number, and “greater than” falls back to alphabetical order. Clean such columns first. Watch, too, for Excel altering values: it strips leading zeros from ZIP codes and SKUs, which can make an “equals” condition miss rows you expected to keep.

If you also need to drop unwanted columns, the CSV Column Extractor trims and reorders them, and the CSV Merger combines several files before you filter them. All three share the same CSV parser.

Privacy

This tool runs entirely in your browser. The CSV you drop or paste is parsed and filtered by JavaScript on your own device. It is never uploaded, never stored between visits and never logged. When you close the tab the data is gone — which makes the filter safe for customer records, order exports and any file you would rather keep off the network.

Frequently asked questions

What does it mean to filter rows by a condition?
A condition is a small rule applied to one column — for example 'status equals shipped' or 'total greater than 100'. The tool checks every row against your rules and keeps only the rows that pass. The columns stay the same; only the rows change, so you end up with a focused subset of the original data.
How do AND and OR change the result?
With AND (Match all), a row is kept only when it satisfies every condition you set — useful for narrowing down, such as orders that are both shipped and over £100. With OR (Match any), a row is kept when it satisfies at least one condition — useful for widening, such as orders from the United Kingdom or the United States. The toggle applies to the whole condition set at once.
Do the number operators compare text or actual numbers?
When both the cell and the value you typed look like numbers, operators such as greater than and less than compare them numerically, so 9 is correctly seen as less than 100. If either side is not a number, the comparison falls back to alphabetical order. Equals and not-equals also compare numerically when both sides are numeric, so 1.0 matches 1.
What is the 'matches regex' operator for?
A regular expression, or regex, is a compact pattern for matching text — for instance a pattern that finds any value containing a digit, or any email at a particular domain. It is the most powerful operator, but also the easiest to get wrong; the simpler operators like contains and starts with cover most everyday needs. If a regex is invalid, that condition simply matches nothing rather than breaking the tool.
Is my CSV data private when I filter it here?
Yes, completely. The file you drop or the text you paste is read and filtered by JavaScript inside your own browser. Nothing is uploaded to a server, nothing is stored after you leave the page, and nothing is logged. Because CSV files often hold customer, order or financial records, this matters — your data never leaves your device.

Related tools