In the daily office and data analysis processing, Excel files into CSV (comma separated values) is very common. CSV file has the characteristics of light weight, strong cross-platform compatibility and simple structure. It is an ideal choice for data exchange, storage and migration. The most important requirements are database import and automatic script processing. Converting Excel into CSV can obviously improve work efficiency. Therefore, it is very necessary for office personnel and developers to learn and master the fast and accurate Excel conversion CSV method.
This article shares four conversion methods to help small partners in need to choose the most efficient conversion method according to the actual scene, improve the data processing efficiency in the work, come and learn with me!
When do I need to convert Excel to a lightweight CSV plain text file?
1. When sharing data Excel data, it is very convenient to convert to CSV format. The CSV is very small and can be sent via email or online transmission, ensuring that the recipient can quickly open and view the data.
2. At this stage, many tools and software in computers support CSV text data. After Excel is converted to CSV, it is easier to import data into Python for further analysis and processing.
3. Excel has too many data rows and takes up more file storage space. When backing up data, converting Excel to CSV can reduce the size of files, save our deposit space and protect important data from being damaged.
Preview of Excel effect after batch conversion to CSV file
before treatment:
after treatment:
method 1: Use HeSoft Doc Batch Tool Convert Excel batch to CSV file
recommend index:★★★★★
Advantages:
- ability to batch a large number of Excel at the same time conversion, and does not limit the file size.
- All files are processed locally, protecting users' file privacy.
Disadvantages:
- only software can be installed in the computer.
Operation steps:
1. Open 【 HeSoft Doc Batch Tool ], select [Excel Tool]-[Excel to CSV]].
2. Select an add file method in [Add File] or [Import File from Folder] to import the Excel file that needs to be converted to CSV, or drag the file directly below. After confirming that there is no problem with the added file, click Next. Then click Browse and select a location to save the new file.
3. After waiting for the processing to finish, click the red path in the box to open the folder to view the converted CSV file.
Method 2: Use Excel's own function to save as CSV format
recommend index:★★★☆ ☆
advantages:
- completely free and without network operation.
- The conversion can be completed in a few seconds, and the compatibility is the best.
Disadvantages:
- only the worksheet currently being processed can be converted. Batch conversion is not possible.
- Some characters after conversion may appear garbled and other problems.
Operation steps:
1. Open the Excel worksheet to be converted, and click File-Save As-Select CSV UTF-8 format in Save Type.
2. Click Save.
Method 3: Use TXT Notepad to turn Excel data into CSV data
recommend index:★★★☆ ☆
advantages:
- no networking is required and no software needs to be installed.
- Suitable for very simple tabular data.
Disadvantages:
- there is no separator after conversion, the format will be disrupted.
- Only text-only data can be processed.
Operation steps:
1. Select all the data in Excel to copy.
2. Open TXT file and paste it. Select File-Save.
3. Fill in [File Name. csv] in the file name, select [All Formats] for the file format, then select [UTF-8] for the code and save.
Method 4: Convert Xlsx tables to CSV tables online using ASPOSE
recommend index:★★★☆ ☆
advantages:
- can handle more complex tables, and supports the setting of commas and semicolons.
- Can be used cross-platform, Windows or mobile devices support conversion.
Disadvantages:
- sensitive data may be at risk of privacy disclosure after being uploaded.
- If the file data is large, the conversion waiting time will be longer.
Operation steps:
1. Web search ASPOSE enters the conversion interface, finds Excel to CSV, and adds the files to be converted.
2. The CSV file can be saved after completion.