ExcelをCSVに変換する方法(無料・スマホOK)
- 選ぶ
- 決める
- 保存する
Excelの表を、ほかのソフトやプログラムで使いたい。メールの一括送信、データベースへの取り込み、ほかの表計算ソフトへの移行。ExcelをCSV・JSONに変換する は、ExcelをCSV(TSV)やJSONに変換するツールです。ファイルは、この端末の中で読み取ります。どこにも送られません。
手順
- 「.xlsx のExcelファイルを1つ選びます」で、ファイルを選びます。
- 「シート」で、変換したいシートを選びます。
- 「形式」で、「CSV」「TSV(タブ区切り)」「JSON」から選びます。
- 「変換後」に、結果が表示されます。
- 「結果をコピー」でコピーするか、「ファイルで保存」で保存します。
3つの形式の違い
- CSV:カンマで区切ったテキスト。多くのソフトで読み込める。
- TSV:タブで区切ったテキスト。データにカンマが含まれる場合に安全。
- JSON:プログラムでよく使われる形式。1行目が項目名になる。
向いている場面
- Excelのデータを、データベースに取り込む
- メール配信ソフトや、他のサービスに、住所録を読み込む
- Excelのデータを、プログラムで使う
- Googleスプレッドシートなど、他のソフトに移す
変換後の確認
- 日本語が文字化けしないか
- 日付や数値が、正しい形か
- 行と列の数が、合っているか
例
会員リストのExcelを、メール配信サービスに取り込みたかった。「CSV」で変換して保存し、サービスにアップロードした。
つまずきやすい点
- 古い.xlsファイルが開けない:別の解説を参照。Excelで.xlsxに保存し直す。
- 日付が数字になる:セルの表示形式を確認する。
- 計算式のセルの結果:保存されている計算結果が出る。
よくある質問
複数のシートは、まとめて変換できますか?
シートごとに変換します。
ファイルは、どこかに送られますか?
いいえ。ブラウザの中で読み取ります。
まとめ
ファイルとシート、形式を選ぶだけ。変換後の文字化けと日付を、確認しましょう。
ExcelをCSV・JSONに変換するを使う(無料)あわせて使えるツール
- CSVをExcelファイルにする:CSVを、Excelで開ける .xlsx ファイルにします。
- CSVとJSONを相互変換する:CSVとJSONを、すぐに相互変換します。
- Wordから文字を取り出す:Wordファイルの本文を、文字だけで取り出します。
同じツールの、ほかの解説
How to Convert Excel to CSV (Free, Phone OK)
- Choose
- Set
- Save
You want to use an Excel table in other software or programs: bulk email sending, importing into a database, moving to other spreadsheet software. Convert Excel to CSV or JSON converts Excel to CSV (TSV) or JSON. The file is read inside this device and sent nowhere.
Steps
- With "Choose one .xlsx Excel file", choose the file.
- Under "Sheet", choose the sheet to convert.
- Under "Format", choose from "CSV", "TSV (tab-separated)" and "JSON".
- The result appears under "After conversion".
- Copy with "Copy result" or save with "Save as file".
The three formats
- CSV: comma-separated text. Readable by many programs.
- TSV: tab-separated text. Safe when the data contains commas.
- JSON: a format often used in programs. The first row becomes item names.
Good for
- Importing Excel data into a database
- Loading an address list into email delivery software or other services
- Using Excel data in a program
- Moving to other software such as Google Sheets
Checking after conversion
- Whether Japanese is garbled
- Whether dates and numbers are in the right form
- Whether the numbers of rows and columns match
Example
Wanted to import a member list Excel into an email delivery service. Converted with "CSV", saved, and uploaded to the service.
Common stumbling blocks
- Old .xls files won't open: see the separate guide. Re-save as .xlsx in Excel.
- Dates become numbers: check the cell's display format.
- Results of formula cells: the saved calculation result is output.
Frequently asked questions
Can several sheets be converted at once?
Convert sheet by sheet.
Is the file sent anywhere?
No. It is read inside the browser.
Summary
Just choose the file, sheet and format. Check for garbling and dates after conversion.
Use "Convert Excel to CSV or JSON" (free)Tools that go well with this
- Convert CSV to Excel (.xlsx): Convert a CSV to an Excel (.xlsx) file.
- Convert CSV and JSON: Convert between CSV and JSON instantly.
- Extract Text from a Word File: Extract the plain text from a Word file.