Sort a CSV by column
Choose a CSV or Excel file and get the result as CSV.
Free, no sign-up, no uploadHow it works
Open your file, choose the column and the direction. Numbers are sorted as numbers and text alphabetically. The header row stays on top.
The sorted file is saved as CSV. Nothing is uploaded.
Private by design
Everything happens on your device. Files are not uploaded to any server.
Frequently asked questions
Are numbers sorted correctly?
Yes, 10 comes after 9, not before.
Can I sort by two columns?
Not yet: sort by one column at a time.
More in Office and data converters
Excel to CSV converterConvert Excel to CSVCSV to Excel converterConvert CSV to ExcelExcel to JSON converterConvert Excel to JSONJSON to Excel converterConvert JSON to ExcelCSV to JSON converterConvert CSV to JSONJSON to CSV converterConvert JSON to CSVXLS to XLSX converterConvert XLS to XLSXODS to XLSX converterConvert ODS to XLSXExcel to ODS converterConvert Excel to ODSExcel to HTML table converterConvert Excel to HTML tableWord to HTML converterConvert a Word document to clean HTMLWord to text converterExtract plain text from a Word documentText to Word converterTurn plain text into a Word filePDF to Word converterGet the text of a PDF as an editable Word fileCreate a ZIP filePut several files into one ZIPOpen a ZIP fileOpen a ZIP and download the files insideRemove duplicate rows from CSVRemove duplicate rows from a CSV or Excel file in your browser, comparing all columns or just oneClean a CSV fileRemove empty rows and trim extra spaces from a CSV or Excel file in your browserMerge Excel filesCombine several Excel files in oneMerge CSV filesJoin CSV files with the same columnsSplit an Excel file by sheetSave each sheet as a separate file