CSVをExcelに変換する方法(無料・スマホOK)
- 入れる
- 決める
- 保存する
CSVファイルをExcelで開くと、文字化けしたり、列がずれたりすることがあります。CSVをExcelファイルにする は、CSVを、Excelでそのまま開ける.xlsxファイルにするツールです。CSVは、この端末の中でExcelファイルにします。どこにも送られません。
手順
- 「CSVファイルを選ぶ」でファイルを選ぶか、「CSVの内容」の欄に貼り付けます。
- 「区切り文字」を選びます(「自動で判定」「カンマ」「タブ」「セミコロン」)。
- 「シートの名前」を決めます。
- 必要なら、「数字は数値として入れる」「1行目を太字にする」にチェックを入れます。
- 「Excelにして保存」を押して、保存します。
設定の意味
- 区切り文字:わからないときは、「自動で判定」のままでよい。
- シートの名前:Excelの下のタブに表示される名前。
- 数字は数値として入れる:計算に使える数値として入る。ただし、「007」のような0で始まる数字は、文字のまま。
- 1行目を太字にする:見出しの行を、太字にする。
変換のメリット
- 文字コードの違いによる、文字化けを避けられる
- 列がずれずに、表として開ける
- すぐに、並べ替えや計算ができる
- ほかの人にも、そのまま渡せる
向いている場面
- システムから出力したCSVを、Excelで見たい
- 文字化けするCSVを、きれいに開きたい
- 取引先に、Excelの形式で渡したい
例
会員システムから出力したCSVを、ダブルクリックで開くと、文字化けした。このツールでExcelに変換すると、日本語がきれいに表示された。
つまずきやすい点
- 列が正しく分かれない:区切り文字が合っていない。選び直す。
- 郵便番号の0が消える:別の解説を参照。このツールは、0で始まる数字を、文字のまま入れる。
- 「Excelにできませんでした。データが大きすぎる可能性があります。」:データを分ける。
よくある質問
CSVの貼り付けでも、変換できますか?
はい。「CSVの内容」の欄に貼り付けられます。
CSVは、どこかに送られますか?
いいえ。ブラウザの中で変換します。
まとめ
CSVを入れて、区切り文字を選び、保存するだけ。文字化けや列のずれを避けられます。
CSVをExcelファイルにするを使う(無料)あわせて使えるツール
- ExcelをCSV・JSONに変換する:Excelのシートを、CSV・TSV・JSONに変換します。
- CSVとJSONを相互変換する:CSVとJSONを、すぐに相互変換します。
- 重複した行を消す・並べ替える:重複した行を消して、並べ替えます。
同じツールの、ほかの解説
How to Convert CSV to Excel (Free, Phone OK)
- Add
- Set
- Save
Opening a CSV file in Excel can garble the text or misalign columns. Convert CSV to Excel (.xlsx) turns a CSV into an .xlsx file that opens straight in Excel. The CSV is turned into an Excel file inside this device and sent nowhere.
Steps
- Choose a file with "Choose a CSV file", or paste into the "CSV content" box.
- Choose the "Delimiter" ("Detect automatically", "Comma", "Tab" or "Semicolon").
- Decide the "Sheet name".
- If needed, tick "Enter numbers as numeric values" and "Make the first row bold".
- Press "Make Excel and save" and save.
What the settings mean
- Delimiter: if unsure, leave it at "Detect automatically".
- Sheet name: the name shown on the tab at the bottom of Excel.
- Enter numbers as numeric values: numbers go in as values usable in calculations. But numbers starting with 0, like "007", stay as text.
- Make the first row bold: makes the heading row bold.
Benefits of converting
- Avoids garbling caused by character encoding differences
- Opens as a table without misaligned columns
- You can sort and calculate straight away
- Can be handed to others as it is
Good for
- Wanting to view CSV output from a system in Excel
- Opening garbled CSVs cleanly
- Handing over to a business partner in Excel format
Example
Double-clicking a CSV output from a membership system garbled it. Converting it to Excel with this tool displayed the Japanese cleanly.
Common stumbling blocks
- Columns don't split correctly: the delimiter doesn't match. Choose again.
- The 0 of a postal code vanishes: see the separate guide. This tool keeps numbers starting with 0 as text.
- "Could not make Excel. The data may be too large.": split the data.
Frequently asked questions
Can pasted CSV be converted too?
Yes. You can paste into the "CSV content" box.
Is the CSV sent anywhere?
No. It is converted inside the browser.
Summary
Enter the CSV, choose the delimiter and save. It avoids garbling and misaligned columns.
Use "Convert CSV to Excel (.xlsx)" (free)Tools that go well with this
- Convert Excel to CSV or JSON: Convert an Excel sheet to CSV, TSV or JSON.
- Convert CSV and JSON: Convert between CSV and JSON instantly.
- Remove Duplicate Lines and Sort a List: Remove duplicate lines and sort them.