MySQL Workbench Manual  /  ...  /  Table Data Export and Import Wizard

6.5.1 Table Data Export and Import Wizard

This wizard supports import and export operations using CSV and JSON files, and includes several configuration options (separators, column selection, encoding selection, and more). The wizard can be performed against local or remotely connected MySQL servers, and the import action includes table, column, and type mapping.


This wizard only exports/imports tables using the JSON or CSV format. For an overview of the data export and import options in MySQL Workbench, see Section 6.5, “Data Export and Import”.

The wizard is accessible from the object browser's context menu by right-clicking on a table and choose either Table Data Export Wizard or Table Data Import Wizard, as the next figure shows.

Figure 6.11 Table Data Wizards: Open

Content is described in the surrounding text.

Table Data Export Wizard

Export table data to either a JSON or CSV file. The following figures show an example of an export sequence of the table to a CSV file.

Figure 6.12 Table Data Export: Source

Select data for export.

Figure 6.13 Table Data Export: CSV Configuration

Select output file location.

Figure 6.14 Table Data Export: Results

Export data.

Table Data Import Wizard

You can import table data from either a JSON or CSV file. The following figures show an example of an import sequence of the table from a CSV file.

Figure 6.15 Table Data Import: CSV Source

Select file to import.

Figure 6.16 Table Data Import: Destination Table

Select destination.

Figure 6.17 Table Data Import: CSV Configuration

Configure import settings.


The Encoding field should correspond with your CSV file.

Figure 6.18 Table Data Import: Results

Import data.