Dad’s Data formats tools

CSV Sorter

Sort CSV rows by any column, ascending or descending. Runs 100% in your browser.

CSV Input

What makes this sorter different

Most spreadsheet sorts are destructive — the original order is gone once you save. This tool keeps the original CSV untouched and lets you download a new sorted copy. It also sorts numerically when the column looks like numbers, so 8, 17, 42 sorts correctly instead of alphabetically as 17, 42, 8.

Before

name
score
Ryo
42
Kai
17
Mira
8

After (sorted by name ↑)

name
score
Kai
17
Mira
8
Ryo
42

Numeric vs alphabetic sorting

Column contentSort behaviorExample
Pure numbersNumeric8, 17, 42 (not 17, 42, 8)
Mixed or textLocale-aware alphabeticalKai, Mira, Ryo
ISO 8601 dates (YYYY-MM-DD)Alphabetical = chronological2024-01-15, 2024-02-10, 2024-03-01

Try sorting by first column

Interactive — edit the input to see the output update
CSV Input
Sorted by first column (ascending)

When to reach for this tool

  • You want a sorted export for a report without reordering the working file.
  • You need numeric sort on a numeric column (text sort of 8, 17, 42 gives 17, 42, 8).
  • You need to check the top or bottom N rows by value before further processing.

Common questions

Your files stay on your computer. Dad promised.

Data formats tools

Search the Data formats tools