Withdata Software

Export MariaDB query results to TSV

Want to export data from MariaDB query to TSV file?

Try Withdata DBToFile, a MariaDB to TSV converter for Windows, Linux, and macOS, Export MariaDB data to TSV, Easy and Fast.

Download Withdata DBToFile
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

Export data from MariaDB query to TSV file

Login to MariaDB -> Enter MariaDB query -> Set TSV file options -> Export MariaDB query to TSV

Choose MariaDB and logon.

Click “Export From Query” at task dialog.

Select TSV file type.

1. Enter MariaDB query.

2. Set TSV file options.

3. Set rows options.

4. Export MariaDB query results to TSV file.

After exporting, you can view output TSV files.


More about MariaDB to TSV converter

See also:

MariaDB → TSV reference

Type mapping

Value kindin MariaDBin TSV
IntINT1234
BigintBIGINT9007199254740993
DecimalDECIMAL(p,s)1234.56
FloatDOUBLE1.234e+10
TextVARCHAR(n)unquoted; a tab in the value splits the column
Long textLONGTEXTunquoted; newlines break the row
DateDATE2026-09-18
DatetimeDATETIME2026-09-18 14:30:00
BinaryLONGBLOBnot representable
BooleanTINYINT(1)TRUE / FALSE
JSONJSONthe whole JSON value as-is (its own quotes stay)

Dialect differences

MariaDB is a database server and TSV is a file format, so the gap is wider than a dialect difference - the rows below are where values and structure stop lining up.

Propertyin MariaDBin TSV
port3306—
identifiers`backtick`Rarely used, which is exactly why tabs in data break it
row limitLIMIT n—
datesDATETIME, TIMESTAMP, DATE, TIMEConventional text: 2026-09-18 or 2026-09-18 14:30:00
long textTINYTEXT / TEXT / MEDIUMTEXT / LONGTEXT—
binaryBLOB / TINYBLOB / LONGBLOBNot supported - must be encoded
separator—Tab
encoding—No declaration - UTF-8 works only with a BOM
typing—None - every field is text
shapeTables of rows and columnsFlat table, optional header row
ceiling—No formal limit

Command line

SideCommand
MariaDBmariadb-dump
MariaDB (load)mariadb-import, or LOAD DATA INFILE

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.

New to the format? Read what a TSV file is (and how it differs from CSV).