Ensure
Home
All tools
Guides
About
Search tools
K
Home
All tools
Data & JSON
Swap CSV Columns
Data & JSON
Swap CSV Columns
Swap two columns of a CSV, picked by header name or by index.
Separator
Detect automatically
Choose columns by
Header name
First row is a header
First column
0
Second column
1
CSV input
Output: 0 rows
Copy
Download
Guides that cover this
What gets lost converting between JSON, YAML, CSV and XML
How JSON, YAML, CSV, XML and TOML differ on comments, types, nesting, dates and key order, and which of those details each conversion between them quietly throws away.
Related tools
JSON Formatter
Validate, beautify or minify JSON with clear error reporting.
Data & JSON
JSON to CSV
Turn an array of JSON objects into a CSV file.
Data & JSON
CSV to JSON
Parse CSV into JSON, with header detection and type inference.
Data & JSON
YAML ⇄ JSON
Convert YAML to JSON and back again in either direction.
Data & JSON