Skip to content
hateitall

Sort and Filter CSV

Narrow a big CSV down to the rows you care about, in the order you want, and save just those.

Processed locallyIn: CSV, TSV, TextOut: CSV, TSV

Loading tool…

How to use sort and filter csv

  1. Drop a CSV or TSV file, or paste the text.

  2. Type in the search box to find rows that mention a word anywhere.

  3. Add filters such as Amount is greater than 100 or Status equals shipped.

  4. Add up to three sort levels, for example City then Date, newest first.

  5. 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.

Explore, profile, clean, chart and export a CSV in one place

CSV · TSV · Text→ CSVModerate on device

Trim, dedupe, rename, split and convert columns in steps

CSV · TSV · Text→ CSVLight on device

Bar, line, histogram, scatter and pie charts with PNG and SVG download

CSV · TSV · Text→ PNGLight on device