CSV sorter
Sort CSV records by a named column while retaining all row values.
Bookmark this page
Keep this page handy for next time.
- On a computer
- Press Ctrl + D, or Command + D on a Mac.
- On a phone or tablet
- Open your browser's menu or Share menu and look for Add Bookmark, Bookmark or Add to favourites.
A bookmark saves the page link. Save any tool results separately.
How to use this tool
- Choose the column to sort.
- Natural sorting handles numbered text; numeric sorting checks every value.
- The header stays first and equal values keep their original relative order.
Things to know
- Processing happens on your device. Check the result before replacing your original data.
- Each CSV input accepts up to 25 MiB, 100,000 data rows, 10,000 columns and 1,000,000 cells. Expanded tables also count empty cells.
- Generated CSV text is limited to 25 MiB in total, including all split files.
You might also need
More in data & csvCSV row filter
Keep CSV records matching text or numeric conditions in a selected column.
Excel to CSV converter
Read an Excel XLSX workbook, preview a worksheet and export one or all sheets as CSV.
CSV deduplicator
Remove duplicate CSV records using all columns or selected key columns.
JSON and YAML converter
Convert between JSON and YAML while retaining large integer values.
CSV splitter
Split CSV data into smaller files while repeating the original headings.
CSV transpose
Swap the rows and columns of a CSV table, including its heading row.
CSV viewer and editor
Inspect CSV as a table and edit an individual cell by row and column.
CSV column organiser
Select, reorder and rename CSV columns.
CSV joiner
Join two CSV tables on a shared key using inner or left joins.