Toolzy

CSV Sorter

Sort CSV rows by any column, ascending or descending, with automatic numeric or text detection.

Input

Detected text column — sorting alphabetically.

Output

Paste a CSV, pick the column to sort by, and choose ascending or descending order. The tool auto-detects whether the column is numeric or text so it sorts correctly either way, all in your browser.

How to use

  1. Paste your CSV text or upload a .csv file.
  2. Choose the column to sort by and the sort order.
  3. Copy or download the sorted CSV; the header row always stays on top.

Frequently asked questions

Does it sort numbers correctly, not just alphabetically?
Yes, if every value in the chosen column is numeric it sorts numerically, otherwise it falls back to text sorting.
Is the header row sorted too?
No, the header row is always kept in place at the top of the output.
Is my data uploaded to a server?
No, sorting happens entirely client-side in your browser.

Related tools