Want to convert TXT (“;” semicolon delimited text) file to SQL file?
If you want to import TXT (“;” semicolon delimited text) file to SQL Server, see this page: TXT (“;” semicolon delimited text) to SQL Server.
If you want to import TXT (“;” semicolon delimited text) file to SQLite, see this page: TXT (“;” semicolon delimited text) to SQLite.
Try Withdata Data File Converter, a desktop TXT to SQL converter for Windows, MacOS, and Linux, Convert TXT to SQL, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Convert files locally and privately, avoid uploading large TXT file(s) to online services.
- Support Windows, Linux, and macOS.
Download Withdata DataFileConverter
Convert TXT (“;” semicolon delimited text) to SQL
Choose TXT file -> Set SQL file -> Convert TXT to SQL
“Start a New Convert” for “TXT to SQL”.

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

1. Open source TXT (“;” semicolon delimited text) file.
Support large TXT file ( > 4GB ).

Source TXT file’s content is like this:

2. Config target SQL file.

3. Set rows options.

4. Convert TXT to SQL.

After converting, you can view the output SQL file.

More about TXT to SQL converter
See Video: Convert TXT (“;” semicolon delimited text) file to SQL file without coding
See also:
- Merge multiple semicolon delimited text files into one SQL
- Batch convert semicolon delimited text files to SQL files
Semicolon-delimited text → SQL reference
Type mapping
| Value kind | in Semicolon-delimited text | in SQL |
|---|---|---|
| Int | 1234 | INT |
| Bigint | 9007199254740993 | BIGINT |
| Decimal | 1234.56 | DECIMAL(p,s) |
| Float | 1.234e+10 | DOUBLE PRECISION |
| Text | quoted only when it contains a semicolon or a quote | VARCHAR(n) |
| Long text | must be quoted; line breaks inside force multi-line records | TEXT / CLOB |
| Date | 2026-09-18 | DATE |
| Datetime | 2026-09-18 14:30:00 | TIMESTAMP |
| Binary | not representable - base64 or hex string | BLOB / BYTEA |
| Boolean | TRUE / FALSE, or 1 / 0 depending on the writer | BOOLEAN / SMALLINT |
| JSON | the whole JSON value quoted, with internal quotes doubled | JSON / TEXT |
Dialect differences
Both Semicolon-delimited text and SQL are file formats, so what differs below is how each one chooses to represent a value.
| Property | in Semicolon-delimited text | in SQL |
|---|---|---|
| identifiers | Double quotes; a literal quote is doubled ("" ) | Two competing conventions: single-quoted literals and diale... |
| dates | Dates often use D/M/Y or D.M.Y in European exports | Depends on the dialect: DATE literals, TO_DATE(), or plain ... |
| binary | Not supported | Dialect-specific: X-quoted literal, 0x hex, or decode() |
| separator | Semicolon ";" | Statement terminators (;) |
| encoding | Often ANSI or Latin-1 in European exports; UTF-8 needs a BOM | No declaration |
| typing | None - every field is text | Types belong to the target database, and they differ betwee... |
| shape | Flat table, optional header row | Statements; a dump usually means CREATE TABLE plus INSERT rows |
| ceiling | No formal limit; row count bounded by memory | No formal limit, but a single INSERT statement has to fit i... |
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.
