Free tool · CSV in · CSV out
CSV sorter: text or numeric column order
Choose a column by its number, starting at 1. Text sorting preserves identifiers; numeric sorting checks every non-empty value before it reorders the records. Empty values stay last.
Paste the data instead
Choose a file, paste data, or try the example to preview the result.
Preview
How it works
- ChooseChoose a column by its number, starting at 1. Text sorting preserves identifiers; numeric sorting checks every non-empty value before it reorders the records. Empty values stay last.
- PreviewCheck the result in the preview before downloading. Input files stay on your device.
- DownloadNumeric mode rejects text, leading-zero IDs, and long numbers. Choose text mode for those columns. Text ordering uses the browser’s English collation.
Questions
What happens when values are equal?
Equal values retain their original row order. Empty cells sort last in both directions, and the header is kept at the top when selected.
Is my file uploaded?
No. The file is read and processed by JavaScript in your browser. No account is needed.
What are the limits?
Numeric mode rejects text, leading-zero IDs, and long numbers. Choose text mode for those columns. Text ordering uses the browser’s English collation. Text input is limited to 25 MB and tables to 200,000 cells.
Keep going
Related tools, and the longer explanations behind them.