CSV to text conversion.
Download csv2text console program (Windows 64bit) | Download csv2text source code (Lazarus/Free Pascal) |
Description: Simple command line program, that may be used to convert a CSV file to a structured text file, where "structured" means
"column-formatted" (each field of the CSV file will be written into a column starting at a given position of the text file line). The program takes as command
line input the names of the CSV and text files (without file extension), and 2 optional parameters: -S is used to specify the CSV file field separator (default: ";").
Using -N allows to ignore the first line of the CSV file (that often, as for example in SQL database exports, includes the field names, rather than data).
Note, that the output of this program may be used as input file with my Simple text file sort and
Simple text file merge programs.
Free Pascal features: Using the functions of the LazUTF8 unit with command line programs. Extracting the fields of a CSV file. Reading and
writing text files.
Screenshots:
![]() |
![]() |
If you like this program, please, support me and this website by signing my guestbook.