Free Online Tool

Database Table Mapping Tool
Rename Columns & Generate SQL

Upload a database file, visually rename tables and columns, exclude fields you don't need, and generate a clean SQL migration script — all in your browser, no signup required.

Visual column editor Exclude unwanted columns Generates SQL script 100% free
Upload Source Database

Upload your database file

SQL, SQLite, CSV, JSON — up to 50 MB

Features

Everything You Need to Map a Database Migration

Visual, fast and free — no SQL editing required to rename tables and columns.

✏️
Rename tables
Edit the table name directly in the mapping editor. The generated SQL uses your new name.
🔤
Rename columns
Rename any column by typing the new name. Original names are shown for reference.
☑️
Exclude columns
Uncheck any column to exclude it from the output. Useful for dropping deprecated fields.
🗑️
Exclude entire tables
Uncheck a table to skip it entirely. Only the tables you need end up in the migration script.
Instant preview
The mapping editor loads as soon as you upload your file. No waiting, no page reload.
📋
Copy & download
Copy the generated SQL to clipboard or download it as a .sql file ready to import.
🌐
Multiple formats
Works with SQL dumps, SQLite files, CSV spreadsheets and JSON data files.
🆓
Completely free
No account, no limits, no watermarks. Free for everyone, always.
Why Use Table Mapping?

Migrations Are More Than Just Format Conversion

When you migrate a database, you often need to do more than just change the file format. Legacy databases accumulate technical debt — columns named usr_nm instead of username, tables with deprecated fields that should be dropped, or naming conventions that do not match your new application.

The Table Mapping tool lets you clean all of that up visually before generating the migration script. No manual SQL editing, no risk of typos in column names, no hunting through a 500-line dump file.

Common use cases

  • Renaming legacy columns to match a new naming convention
  • Dropping deprecated columns before migrating to a new database
  • Cleaning up a messy inherited schema before a refactor
  • Generating a CREATE TABLE script with your preferred column names
  • Preparing a schema for import into a different database engine
Generated Migration SQL
-- DBConverter Table Mapping
-- Original: users → Mapped: members
CREATE TABLE `members` (
  `id` INT, -- was: user_id
  `username` VARCHAR, -- was: usr_nm
  `registered_at` DATETIME, -- was: reg_dt
  `is_active` TINYINT -- was: is_act
);
-- pwd_hash excluded (unchecked)
How It Works

Map Your Database in Four Steps

The whole process takes under a minute for most databases.

1
📤

Upload your file

Upload a SQL dump, SQLite file, CSV or JSON. The tool reads the schema and loads all tables and columns into the editor.

2
✏️

Rename tables & columns

Edit any table or column name directly in the mapping editor. Your changes are reflected in the generated SQL.

3
☑️

Exclude what you don't need

Uncheck any table or column to exclude it from the output. Only the fields you need end up in the migration script.

4
📋

Generate & download

Click Generate SQL to produce a CREATE TABLE script with your mapping applied. Copy it or download it as a .sql file.

FAQ

Common Questions

The Table Mapping tool generates a CREATE TABLE script based on your mapping choices. It handles the schema structure — table names, column names and types. To migrate the actual data rows, use the DB File Converter after mapping your schema.

SQL dump files, SQLite databases (.sqlite, .db, .sqlite3), CSV spreadsheets and JSON data files are all supported.

Yes. You can rename the table, rename any of its columns, and exclude any columns you do not need — all in the same mapping session before generating the SQL.

Excluded columns are simply omitted from the generated CREATE TABLE statement. They do not appear in the output SQL at all.

Yes. The output is a standard CREATE TABLE script you can import into MySQL, PostgreSQL or SQLite. You may need to adjust data types if you are targeting a different engine than the source.

No. The tool loads all tables from your uploaded file and lets you map all of them in a single session.

Ready to Map Your Database?

Upload your database file above, rename your tables and columns, and generate a clean migration script in under a minute. No account, no cost.

Start Mapping — Free Convert a Database File