CSV Sort and Filter
Sort and filter CSV rows locally with header-aware columns, text, number, date, and blank-value options.
Paste CSV or choose a local CSV file to narrow a table down to matching rows, sort the remaining rows, and copy or download the result. Use it before importing data, preparing review samples, cleaning exports, or checking row order without sending table content anywhere.
Selecting a file replaces the pasted input. Files are read by this page on your device only.
Use a header name or 1-based column number. Leave the filter mode as no filter when you only need sorting.
Use a header name or 1-based column number. Choose keep original order to skip sorting.
How to use
Choose the delimiter and confirm whether the first row contains column names. For filtering, pick a column and a match mode such as contains, equals, blank, not blank, or a regular expression. For sorting, pick a column, direction, and whether values should be compared as text, numbers, or dates.
Column names must match the header exactly. If a file has repeated or blank headers, use 1-based column numbers such as 2 or 5. Empty or invalid sort values are placed after usable values, and rows that compare equally keep their original relative order.
The result is emitted as CSV using the selected delimiter and line ending. Quoted fields, delimiters inside fields, and line breaks inside quoted fields are supported, but spreadsheet formulas are treated as plain text. Very large files may be slow in a browser tab, and private data should only be opened on devices and pages you trust.