Sort CSV

Sort rows by one or more columns, as text or as numbers.

Sort CSV

.csv

Runs in your browser — your file is not uploaded

What it does

Sorts the rows of a CSV by one or more columns. You choose whether values are compared as text or as numbers, so 10 comes after 9. You get the same file with the rows in the new order and the header kept on top.

About the .csv format

.CSV file extension
File Type
Comma Separated Values File
Category
Data Files
MIME
text/comma-separated-values

A CSV file is a file that is saved in a comma-separated values format. Data in the CSV file is saved as separate columns of data - one per line. It can have multiple rows of data, but each row should have one value per column.

Sort CSV questions

How do I use the Sort CSV?

Drop the file on the box or choose it from your device, set the options and download the result.

Which files can I use?

.csv files.

Is my file uploaded?

No. The tool runs in your browser, so your file stays on your device.

Does renaming a file to .csv change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .csv page lists programs and converters for it.