MySQL
SQLite

MySQL to SQLite Converter

Move MySQL or MariaDB data into a single-file SQLite database for embedded use, local snapshots, QA fixtures, or offline analysis. Review object selection and type mapping before generating the SQLite file.

Version
5.3.0
Release Date
Oct. 22, 2026
Size
19.7 MB
Platform
Windows 10 or later

Rather not run it yourself?

Let us do the migration →

Create a portable SQLite database from a MySQL server without manually editing dump files. DBConvert connects to MySQL, lets you select objects, type mappings and filters, then writes a ready-to-use SQLite file.

Runs on Windows as a desktop application: the source is a live MySQL connection, not a dump file, and nothing is uploaded to a web service.

Two modes, one download

Export once, or keep the SQLite file in step with MySQL

You choose the mode when you set up the job.

One-time SQLite export

Create a portable database file for QA fixtures, offline analysis, demos, desktop applications, or embedded deployments.

Repeat synchronization

The job keeps the connection, selected tables, filters, and output path. Run it on a schedule to keep the SQLite file in step with MySQL - in one direction or both - instead of rebuilding it by hand.

What needs attention

How DBConvert handles the MySQL → SQLite differences

MySQL is server-strict; SQLite is a permissive single-file database.

Type behavior

MySQL type SQLite default
DATE / DATETIME / TIMESTAMP / TIMEkept as declared
CHAR / VARCHAR / DECIMAL / FLOATkept as declared
TEXT / LONGTEXTTEXT
BLOB / LONGBLOBBLOB
TINYINT / YEARSMALLINT
MEDIUMINTINT
DOUBLEFLOAT
ENUM / SETNVARCHAR(n), sized to the longest allowed value
JSONLONGTEXT

The declared type is carried across wherever SQLite tolerates the name, and rewritten only for types SQLite does not have. SQLite treats the declaration as an affinity hint rather than a hard constraint.

Schema conversion

Generates SQLite-compatible DDL from MySQL table definitions - indexes, primary keys and foreign keys come across; engine-specific clauses (ENGINE=InnoDB, ROW_FORMAT, KEY_BLOCK_SIZE) are dropped because SQLite has no equivalent.

Identity and AUTO_INCREMENT

Maps MySQL AUTO_INCREMENT columns to SQLite INTEGER PRIMARY KEY AUTOINCREMENT on the PK column - the SQLite rowid mechanism takes over key generation natively on the target side.

File output

Writes a single self-contained SQLite database file (.sqlite, .sqlite3, .db or .db3) at the path you pick on Setup - ready for application packaging, mobile bundling, or distribution without a server runtime. Whether an existing file is replaced or added to is a job option.

Stored routines, events, and user permissions - out of scope

DBConvert's migration covers tables with their fields, types and indexes, and foreign keys between them. MySQL stored procedures, functions, triggers, events, and GRANT-based user permissions stay in the source database and are rewritten manually in SQLite's trigger language - or moved into application code, since SQLite has no stored-procedure layer and no server-side user model.

You see every column before a row moves

The review lists each source column and the type it is about to get in SQLite. Here the BIGINT primary key becomes SQLite's INTEGER rowid alias, LONGTEXT columns land as TEXT, and DATETIME keeps its name. Change any of them before the run.

DBConvert type-mapping review for a MySQL to SQLite conversion

Want to browse and query the MySQL source before you export it? DBConvert Streams includes a database explorer for MySQL and PostgreSQL →

Supported versions and services

MySQL

  • MySQL 5.x, 8.x; MariaDB; Percona Server
  • Amazon RDS / Aurora MySQL, Azure Database for MySQL, Google Cloud SQL

SQLite

  • SQLite 3.0 and later

How to migrate MySQL to SQLite

1

Setup: connect MySQL and SQLite

Pick Convert or Sync, then choose the source and destination connections side by side on one screen. A connection is saved once and reused by every job.

The Setup step in DBConvert: the mode, the source and destination connections side by side, and the job name

MySQL source

Use the MySQL connection guide for local MySQL, MariaDB / Percona, RDS / Aurora, Google Cloud SQL, or Azure Database for MySQL.

SQLite target file

The SQLite database file can be .sqlite, .sqlite3, .db or .db3; pick it in the connection dialog.

Move MySQL data into SQLite

Download the current build and run the first job against your own database.

Windows Windows 10 or later · 19.7 MB