Skip to content

Fast and simple opensource tool to convert CSV do XLSX

Notifications You must be signed in to change notification settings

Zcb991/csv2xlsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csv2xlsx

中文版 README

Fast and simple opensource tool to convert CSV do XLSX

Speed

csv with 150k rows, 13 MB, with xlsx template - 6s

image-20250102180559477

Usage

Notes(Important)

The name of the csv file to be converted must be a.csv

Config File

The config.txt is the config file.

ROWS_PER_SHEET=50000
CHUNK_SIZE=100000

ROWS_PER_SHEET: Number of rows per sheet

CHUNK_SIZE: The number of rows to read each time

By run exe(release exe)

  1. First, name the csv file to be converted as a.csv
  2. Double-click to run csv2xlsx.exe
  3. The conversion is successful, open the converted file

By Cargo

cargo build
cargo r

image-20250102180915094

Conversion Results

Before Conversion

image-20250102181545502

After Conversion

image-20250102181648974

About

Fast and simple opensource tool to convert CSV do XLSX

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages