Home Tools Blog About

Sort CSV by Column

In short

Sort the rows of your CSV by a column you choose, in ascending or descending order. Free, private, and works entirely in your browser.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Sort the rows of a CSV file by the values in a chosen column. Pick the column, choose ascending or descending, and decide whether numbers sort numerically. Your data is processed in your browser and never uploaded.

🛡
100% PrivateNo server uploads, ever
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Sort CSV by Column

  1. Paste your CSV. Drop the CSV text into the input box.
  2. Choose the column. Pick which column to sort the rows by, and the direction.
  3. Sort. Select the button to reorder the rows.
  4. Copy the result. Use the copy button to grab the new CSV.

Frequently Asked Questions

Does it handle quoted fields?

Yes. Fields wrapped in quotes, including ones that contain commas or line breaks, are parsed and rebuilt correctly.

Does it keep my header row?

Yes. The header stays on top and only the data rows are sorted underneath it.

Is my data sent anywhere?

No. Everything runs in your browser, so the CSV you paste is never uploaded.

Is it free?

Yes. Every tool here is free to use with no sign up.

Keep going

Related Tools

All Csv tools →
Share

Embed this tool

Add this free tool to your website. Copy and paste the code: