Swap CSV Columns
Swap two columns in your CSV so their positions are exchanged in every row. Free, private, and works entirely in your browser.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Swap two columns in a CSV file. Enter the two column numbers and the tool exchanges their positions in every row, header included. Processing happens entirely in your browser, so your data stays private.
How to Use Swap CSV Columns
- Paste your CSV. Drop the CSV text into the input box.
- Choose two columns. Pick the two columns you want to swap.
- Swap. Select the button to exchange them.
- 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.
Are the values changed?
No. The columns simply trade places. The values inside them are unchanged.
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.
Related Tools
Append CSV Columns →
Easily append columns in CSV files online. Merge datasets quickly with a free, secure…
Convert CSV Columns to Rows →
Convert CSV Columns to Rows transpose tool. Converts columns to rows with RFC 4180…
Convert CSV Rows to Columns →
online CSV transpose tool. Converts rows to columns with RFC 4180 quoted-field support. Client-side,…
Delete CSV Columns →
Delete CSV columns by index or name with proper RFC 4180 parsing (quoted fields,…
Extract CSV Columns →
Extract columns from CSV by name, 1-based index, or range - RFC 4180 parser,…
Sort CSV by Column →
Sort the rows of your CSV by a column you choose, in ascending or…
Trim CSV Columns →
Trim leading and trailing whitespace from every field in your CSV for a tidy…
Add Quotes to CSV Online - CSV Quote Wrapper →
Add quotes to CSV fields instantly. Wrap values in double or single quotes, support…
Convert CSV Delimiter →
Convert CSV Delimiter between comma, tab, semicolon, pipe, or custom delimiters. Free, offline -…
Base64 to CSV Decoder →
Decode Base64 to CSV text - BOM stripped, delimiter auto-detected, URL-safe variant supported. Free,…
Convert CSV Quote Character →
Convert CSV quote characters instantly with our free online tool. Replace single or double…
Convert CSV to Base64 →
online CSV to Base64 encoder. Standard and URL-safe, MIME line-wrap, UTF-8 safe. Client-side, instant,…