Sort CSV
Drop a .csv file here, or
ready
Sort CSV
Sort a CSV (Comma-Separated Values) file by up to three columns at once — region, then date, then amount — each ascending or descending. Choose the sort key type: auto detects numbers and falls back to text, or force text, number, or date. The sort is stable, so rows equal on every key keep their original order.
— S., [email protected]
Tips
- Leave the second and third keys on (none) for a plain single-column sort.
- For mixed columns (numbers and strings), auto compares numerically when both values parse, otherwise falls back to lowercase string comparison. Values that aren't numbers sort after those that are.
- Blanks last keeps empty cells at the bottom in both directions, which is usually what you want — untick it to sort them as empty strings.
- Date sort uses
Date.parse, so ISO formats (2026-05-08) are reliable; ambiguous regional formats (05/08/26) may not be. - Output preserves the original header row. To be able to restore the original order later, add a row number first with Add column.
Privacy
100% client-side. No upload. See the privacy policy.