Withdata Software

Convert each table data in a SQL file to a separate pipe delimited text file

Want to convert each table data in a SQL file to a separate TXT (“|” pipe delimited text) file at one time?

Try Data File Converter, a SQL converting tool for Windows, MacOS, and Linux, Convert tables in a SQL file to TXT files, Easy and Fast.

Download Withdata DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit

Convert each table data in a SQL file to a separate TXT (“|” pipe delimited text) file

Select source SQL file -> Set target TXT file -> Convert SQL table to TXT

Click “Start a New Convert” at task dialog.

then show the wizard.

Select From “File” “SQL” To “Files” “TXT”.

1. Open a source SQL file, select tables to convert to TXT (“|” pipe delimited text) files.

2. Config target TXT (“|” pipe delimited text) files.

3. Summary.

List selected tables.

4. Convert each SQL table to a separate TXT (“|” pipe delimited text) file.

After converting, you can view output TXT (“|” pipe delimited text) files.

Convert each SQL table to a separate TXT file in command line

Save “SQL table to TXT” session, then you can:

Set scheduled tasks for converting each SQL table to a separate TXT file

You can schedule and automate this SQL table to TXT converting task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “SQL table to TXT” conversion.
  2. Set scheduled task for “SQL table to TXT” conversion.

FAQ

What is Withdata DataFileConverter?
Withdata DataFileConverter is a data file converter, it can convert each SQL table to a separate TXT file. Download Withdata DataFileConverter
How long does it take to convert each SQL table to a separate TXT file?
DataFileConverter works fast. It convert millions of rows within a minute.
Is it safe to convert each SQL table to a separate TXT file using DataFileConverter?
Of course! DataFileConverter convert each SQL table to a separate TXT file locally, absolutely safe.
Can I convert each SQL table to a separate TXT file on Linux, Mac OS?
Yes, you can. DataFileConverter has Linux, Mac OS, and Windows version.
Can I convert each SQL table to a separate TXT file in command line?
Yes, you can. DataFileConverter can running in command line, on Linux, Mac OS, and Windows.

More about Withdata DataFileConverter – Tables in SQL file to TXT converter

See Video: Convert each table data in a SQL file to a separate TXT (“|” pipe delimited text) file at one time

SQL → Pipe-delimited reference

Type mapping

Value kindin SQLin Pipe-delimited
IntINT1234
BigintBIGINT9007199254740993
DecimalDECIMAL(p,s)1234.56
FloatDOUBLE PRECISION1.234e+10
TextVARCHAR(n)quoted only when it contains a pipe or a quote
Long textTEXT / CLOBmust be quoted; line breaks inside force multi-line records
DateDATE2026-09-18
DatetimeTIMESTAMP2026-09-18 14:30:00
BinaryBLOB / BYTEAnot representable - base64 or hex string
BooleanBOOLEAN / SMALLINTTRUE / FALSE, or 1 / 0 depending on the writer
JSONJSON / TEXTthe whole JSON value quoted, with internal quotes doubled

Dialect differences

Both SQL and Pipe-delimited are file formats, so what differs below is how each one chooses to represent a value.

Propertyin SQLin Pipe-delimited
identifiersTwo competing conventions: single-quoted literals and diale...Double quotes; a literal quote is doubled ("" )
datesDepends on the dialect: DATE literals, TO_DATE(), or plain ...Conventional text: 2026-09-18 or 2026-09-18 14:30:00
binaryDialect-specific: X-quoted literal, 0x hex, or decode()Not supported
separatorStatement terminators (;)Pipe "|"
encodingNo declarationNo declaration - UTF-8 works only with a BOM
typingTypes belong to the target database, and they differ betwee...None - every field is text
shapeStatements; a dump usually means CREATE TABLE plus INSERT rowsFlat table, optional header row
ceilingNo formal limit, but a single INSERT statement has to fit i...No formal limit; row count bounded by memory

Data File Converter without the manual work

For batch jobs, large files and scheduling use the Data File Converter converter — an offline desktop app for Windows, Linux and macOS. Free trial.