Swap CSV Columns
「Swap CSV Columns」はテキストと文書に使えるブラウザツールです。入力内容と結果は通常この端末内で処理され、登録は必要ありません。
UTF-8 CSV up to 10 MB. Quoted fields may contain commas and line breaks.
Enter two different 1-based column positions.
使い方
使い方
- Choose a CSV file or paste comma-separated text.
- Enter the two 1-based column numbers to exchange.
- Review, copy, or download the reordered CSV.
CSV-aware column exchange
Quoted commas, escaped double quotes, and line breaks inside fields are parsed as part of the field. Only the selected positions are exchanged; every other cell stays in its original position.
Predictable boundaries
Column numbers are 1-based and must exist in every row. Rows with different field counts are rejected so the result does not silently move data into the wrong column.
Local and private
Reading, parsing, swapping, previewing, copying, and downloading happen in your browser. Files are limited to 10 MB and the preview is limited to 100,000 characters.
よくある質問
あわせて知りたいこと
Does this upload my CSV?
No. The CSV is read and transformed locally in your browser.
Which column numbers should I enter?
Use the positions from left to right, starting at 1. For example, enter 1 and 3 to swap the first and third columns.
Are quoted commas and line breaks supported?
Yes. Standard double-quoted CSV fields, escaped quotes, and embedded line breaks are preserved.
Can I swap a column with itself?
No. Enter two different existing column numbers.