CSV Sorter
Sort CSV rows by one or more columns, ascending or descending, as numbers or as text.
Sort your CSV rows
Rows sorted: 0 · Sort keys: 0
Order: —
How to use the CSV Sorter
- Paste the CSV data you want to sort.
- Pick one or more sort columns and choose ascending or descending order.
- Sort the rows and copy the reordered CSV.
Features
- Up to five sort levels with mixed directions
- Numeric or text comparison per column, or automatic detection
- Empty values can always be pushed to the end
- Optional case sensitive text sorting
Advertisement
Frequently Asked Questions
Common questions about the free online csv sorter.
Paste the CSV data, type the column number or header name into the first sort column box and
the rows are reordered instantly.
Yes. Set a first and second column, and add up to three more levels such as 3:desc, 4:asc in
the additional levels box.
Choose Numbers in the compare box, or leave it on auto detect so a column holding only
numeric values is sorted as numbers.
Text is compared alphabetically, ignoring letter case unless you tick the match case option.
By default empty cells are always placed last, whichever direction you sort, so blanks never
lead the table.
The first row is treated as the header and stays on top, and only the data rows are
reordered.
No. Sorting happens locally in your browser, so the data never leaves your device.
Yes. Pick the delimiter or leave it on auto detect, which covers comma, semicolon, tab and
pipe files.
Yes. Clear the sort columns or paste the original data again, since the input box is never
changed by sorting.
Yes. It is completely free with no account, no sign-up and no limit on how much data you
sort.
Last updated: October 10, 2026