Favorite places of your favorite city
Home
Add to preferred sources on Google

CSV Row Sorter

Put CSV rows in order by one or more columns while keeping each row together.

CSV and sort order

Sorted CSV

Read the columns and sort the rows to see a preview here.

Your browser processes the table on this device. Reloading clears the workspace. Input limit: 5 MiB and 5,000,000 UTF-16 code units. Output limit: 8 MiB.

Sort a CSV table

  1. Paste text or open a UTF-8 file. Choose its delimiter and indicate whether it has a header.
  2. Read the columns and choose how to compare each sort key. Add another column to break ties.
  3. Sort rows, review the result and download the prepared CSV.

Understand the row order

The first key determines the main order. Later keys resolve ties.

Equal values across all keys keep their original row order.

Choose a decimal mark for numeric comparison. Unreadable numbers and blank cells follow valid numbers.

Sort an export

Sort a report by department, then by cost within each department.

If two columns have the same name, use their position to pick the one you want.

Input and output

Use a rectangular CSV table with up to three sort keys and a file size of up to 5 MiB.

Results are saved as comma-delimited CSV. Text comparison uses character code-point order.

Local sorting

Your browser sorts the table on your device. Reloading clears the workspace.

CSV sorting questions

Enable the header switch to keep the first record at the top.

Blank sort values go last for either direction.

Cell text stays as entered. Decimal comparison affects row order only.

Select the column by its displayed position. The exported header keeps both names.

Sources

How CSV records are written and how spreadsheets interpret the first line.

JSON to CSV Converter

Convert flat JSON records to delimited text with first-seen columns, original number spellings and explicit empty-value rules.

Open tool — JSON to CSV Converter

CSV Column Statistics

Find the mean, median, sum and range of a CSV column and see which cells were skipped.

Open tool — CSV Column Statistics

CSV Transpose

Swap rows and columns in a CSV table and download the flipped layout.

Open tool — CSV Transpose

CSV Row Filter

Keep or exclude CSV rows with text conditions on specific columns.

Open tool — CSV Row Filter

CSV Column Editor

Select, reorder and rename columns from a local CSV table.

Open tool — CSV Column Editor

CSV Delimiter Converter

Convert CSV separators, preview real columns and spot import problems. Works locally with CSV, TSV and text; values remain unchanged.

Open tool — CSV Delimiter Converter

Compare Two CSV Files

Match rows by a key column and find added, removed and changed records.

Open tool — Compare Two CSV Files

CSV Duplicate Finder & Remover

Find exact duplicate CSV rows or repeated IDs. Review conflicting values, keep original data and download retained, removed and unresolved records.

Open tool — CSV Duplicate Finder & Remover

CSV Merger

Combine rows from several CSV files by exact column name. Preview alignment and download CSV with a merge report.

Open tool — CSV Merger

CSV to JSON Converter

Convert CSV text or UTF-8 files to JSON objects or arrays, keeping cells as strings without guessing data types.

Open tool — CSV to JSON Converter

CSV Splitter

Split a CSV by rows or exact file size. Keep headers and download each part.

Open tool — CSV Splitter
View all tools in this category