CSV Sort by Column
Sort CSV rows by any column.
Order rows by a column
Pick a column and this sorts the rows by it, numerically when the values are numbers and alphabetically otherwise, keeping the header on top. Handy before importing or eyeballing an export.
Sorting before import or review surfaces the extremes fast: the largest orders, the earliest dates, or the alphabetical outliers that hint at a data-entry slip.
Stable and private
Ties keep their original order, so the sort is predictable. Sorting runs locally in your browser with nothing uploaded. Your rows are sorted on your device and never uploaded.
Frequently asked questions
What does this csv sort by column do?
Sort pasted CSV rows by any column and copy the reordered output.
How are numbers and text sorted?
If both values in a comparison are numbers, they sort numerically, so 10 comes after 9. Otherwise they sort alphabetically using your browser's locale rules.
Does the header row move?
No. The first row stays at the top and only the data rows below it are sorted ascending or descending.
Why do dates sort in the wrong order?
Dates are compared as text, so formats like 3/9/2026 sort incorrectly. Use ISO dates (2026-03-09), which sort correctly as plain text.
Related tools
More free browser utilities for data cleanup, formatting, and developer workflows.