CSV Sorter
Sort CSV rows by any column — alphabetically or numerically, ascending or descending. All sorting happens in your browser; nothing leaves your device.
Processed in your browser · No upload
Loading tool…
PapaParse runs entirely in your browser. Your CSV is never uploaded to any server.
FAQ
- Does it handle multi-key sort?
- This tool sorts by a single column. For multi-key sort, run the sorter twice — the secondary sort key applied first will be the tie-breaker of the next run.
- Can it sort numerically?
- Yes. Choose the Numeric mode and rows with parseable numbers will be ordered by their value. Empty or non-numeric values sink to the bottom in either direction.
- How big a CSV can I sort?
- Theoretically unlimited (everything fits in memory). For files above ~5 MB you'll notice the brief parse delay — that's expected.
Related Tools
CSV Viewer
Paste or upload a CSV and preview it as a sortable table right in your browser. Detect the delimiter automatically, see row and column counts, and copy a clean view back as CSV or TSV.
CSV Filter
Filter CSV rows by exact value, contains, regex, or numeric comparison — all in your browser. Combine with the Sorter to produce a refined export.
CSV Column Statistics
Get per-column statistics for any CSV — min, max, mean, median, sum and distinct count for numeric columns; distinct and length stats for text columns; null counts everywhere. All in your browser.
CSV Splitter
Split a large CSV into N smaller files of equal (or custom) row counts — all in your browser. The original header row is preserved on every chunk.