Skip to content

Free · Browser-local tools

Sort CSV files by column

Sort CSV rows by text, number or ISO date. Choose ascending or descending order and multiple columns, then download your sorted CSV. Free and browser-local.

Sort CSV

Start with your CSV

Open your file in the CSV editor with this tool already selected. Preview the result before downloading.

  1. Choose a CSV or TSV file.
  2. Choose columns, text/number/ISO date comparisons and order.
  3. Preview and download the sorted CSV or apply with undo.

Free · No signup · File contents stay in your browser. Back to page and Resume keep your edits in this tab. Download your edited copy before refreshing; refresh opens the original file. Open files up to 1 GiB with browser storage.

Try a small example

3 records · 3 columns
Illustrative CSV sample data
idnameamount
1Example one12
2Example two24
3Example three18

Amount sorted numerically, highest first

Amount sorted numerically, highest first
idnameamount
2Example two24
3Example three18
1Example one12

Illustrative fictional data. Open the sample to try the tool.

How to sort csv

  1. 1

    Choose a CSV or TSV file.

  2. 2

    Choose columns, text/number/ISO date comparisons and order.

  3. 3

    Preview and download the sorted CSV or apply with undo.

What to expect

Sort by up to 20 columns in priority order. Equal keys keep source order. Blank and invalid typed values stay last in both directions; source cell strings and leading zeros are preserved.

Local files and clear limits

These tools process file contents on your device. The browser workspace accepts files up to 1 GiB and 5 million records, subject to available browser storage and decoded-record limits. This tool's calculations support up to 100,000 records, 2 million cells and 64 MB of text. Download a new copy to keep your result.

Plain answers

Sort CSV questions

What can I do with this sort csv tool?+

Sort by up to 20 columns in priority order. Equal keys keep source order. Blank and invalid typed values stay last in both directions; source cell strings and leading zeros are preserved.

Does my CSV leave my device?+

File selection, editing and these task operations run in your browser. No account or file upload is required. Download a new copy to keep your result; refreshing restores the original input, not unsaved edits.

Do the editor and task have the same file limits?+

The editor opens files up to 1 GiB and 5 million records, subject to browser storage and decoded-record limits. This task supports up to 100,000 records, 2 million cells and 64 MB of decoded text.