Skip to content
Jellykit

CSV Sort

Sort CSV rows by any column, ascending or descending, as text, numbers or dates. The header stays on top and ties keep their order. Free online CSV sorter.

Runs in your browser. Nothing is uploaded.

About CSV Sort

CSV Sort reorders the rows of a CSV by the column you choose while keeping the header in place. It detects whether the column holds numbers, dates or text, so 100 sorts after 20 and 2026-01-05 after 2025-12-31. Currency symbols and thousands separators are ignored when comparing numbers.

Text sorting is natural and case-insensitive (file2 before file10). Empty cells always go to the bottom, and rows with equal values keep their original order, so you can sort by one column and then another.

How to use CSV Sort

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. Adjust the options. The result updates as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Can I sort by more than one column?

Sort by the secondary column first, then by the primary one. Because the sort is stable, ties keep the earlier order.

Why did my numbers sort like text?

Auto-detect needs every non-empty cell to be a number. Choose Number to force it.

Is CSV Sort free and private?

Yes. CSV Sort is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all data tools →