Data Tools

Reorder and Sort CSV Columns Online

Reorder CSV columns by index or header name, optionally sort ascending by the first output column, and copy the result. Processing stays in your browser.

CSVSortData

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Put id and email first in an export
  • Drop unused columns by selecting only needed ones
  • Sort rows by the first selected column

How to use

  1. Paste delimited text
  2. Enter desired column indexes or names
  3. Reorder and copy the result

Example input and output

CSV + order

a,b,c
1,2,3
(order: 2,0)

Result

c,a
3,1

FAQ

What if a column name is missing?

Unmatched columns are reported and the tool can fall back to emitting whole rows.

Does sorting mutate other columns together?

Yes. When sort is enabled, entire rows stay aligned while ordering by the first output column.

Tools

Related tools

Continue with another translated tool for a nearby task.

CSV Column Extractor

Extract Columns from CSV Online

Available

Extract selected CSV columns by header name or zero-based index and export as CSV, JSON, or a plain list. Processing stays in your browser—useful for trimming wide exports.

CSV Extractor Data

CSV to JSON

CSV to JSON Table Converter

Available

Convert CSV tables to JSON arrays in your browser. Supports comma, tab, semicolon, or pipe separators and optional header rows. Processing stays local—useful for exports, API samples, and light imports.

CSV JSON Converter