Explore, profile, clean, chart and export a CSV in one place
Sort and Filter CSV
Narrow a big CSV down to the rows you care about, in the order you want, and save just those.
Loading tool…
How to use sort and filter csv
Drop a CSV or TSV file, or paste the text.
Type in the search box to find rows that mention a word anywhere.
Add filters such as Amount is greater than 100 or Status equals shipped.
Add up to three sort levels, for example City then Date, newest first.
Download the rows shown, in that order.
What this tool does
- Thirteen filter conditions, including greater than, is empty and matches pattern, combined with match all or match any.
- Sorts numbers as numbers and ISO dates as dates, with text sorted naturally so item 2 comes before item 10.
- Empty cells always sort to the end, and ties keep their original order.
- Shows the original row number of every result.
How the result is verified
The download is read back with the CSV reader and compared with the rows on screen cell for cell, so what you see is what you get.
Frequently asked questions
Can I filter by a date range?
Yes, for dates written as YYYY-MM-DD. Add two filters on the date column, is at least 2026-01-01 and is at most 2026-03-31, with Match all.
Does sorting change the original file?
No. It only changes the order on screen and in the file you download.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Trim, dedupe, rename, split and convert columns in steps
Count and remove repeated rows, by whole row or chosen columns
Bar, line, histogram, scatter and pie charts with PNG and SVG download