Keep rows that match conditions
Keep Only CSV Rows That Match Your Conditions
Combine column comparisons in nested AND/OR groups to create a CSV containing only the rows you need. Processing stays in your browser.
CSV processing stays in your browser
Your files are not uploaded to a server.
File selection
Choose 1 CSV file up to 50 MiB. Its name and contents are never sent outside your browser.
Drag and drop a CSV file here
1 CSV file, up to 50 MiB
Import settings
Auto-detection covers only UTF-8 and Shift_JIS. For CSV files from mainland China, Korea, Taiwan, or Western Europe, select the matching encoding manually.
How it works
Keep only rows for the New York store
How it works
Keep only rows for the New York store
Export only rows where Store equals New York to a new CSV.
Input example
| Store | Amount |
|---|---|
| New York | 1200 |
| Chicago | 850 |
Output example
| Store | Amount |
|---|---|
| New York | 1200 |
Only matching rows are saved to a new CSV. The original CSV is not changed.
Filter CSV rows with AND/OR conditions
Export matching rows using text, numeric, or blank-value conditions.
Features
- Use equals, contains, starts with, ends with, and blank checks.
- Nest up to 100 conditions in as many as eight levels of AND/OR groups.
How it works
- Choose a CSV and review its headers and data.
- Set each column, type, comparison, and value, then add AND/OR groups as needed.
- Run, verify input, excluded, and output counts, then download.
Before you start
- For numeric comparisons, remove thousands separators and currency symbols.
- Blank and not-blank checks need no comparison value.
View FAQs for this tool
Related tools
After filtering, select columns or sort the remaining rows.