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
3.0.13
Release Date
Aug. 24, 2026
Size
18.3 MB

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

  • Read MySQL, MariaDB, Percona Server, or managed MySQL sources.
  • Choose objects, type mappings, and filters before writing the 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.
  • Export once, or keep MySQL and the SQLite file synchronized on a schedule - in one direction or both.
Two modes, one download

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

One download covers both. 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

Save the connection, selected tables, filters, and output path once, then run the job 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. DBConvert proposes a SQLite type for every column in the wizard and you review or override them per column before the run.

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, and the type-mapping review lets you change any of it per column before the run.

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 in the wizard - ready for application packaging, mobile bundling, or distribution without a server runtime. Overwrite / append behavior is a wizard 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
Why move

Why move from MySQL to SQLite?

Portable data snapshots

SQLite is useful when data from a MySQL server needs to ship as a local file for demos, QA fixtures, offline analysis, desktop apps, mobile apps, or embedded deployments.

Repeatable exports

When the SQLite file must be rebuilt from the same MySQL tables, filters, and destination path, a saved DBConvert job is easier to operate than rebuilding a manual dump pipeline every time.

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

DBConvert opens in GUI mode and walks the job from connection to commit:

1

Connect to MySQL source database

Specify the username/password and host/port parameters if your source database requires login credentials.

Connect to MySQL source database from DBConvert

MySQL source

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

2

Connect to SQLite destination database

Choose where the SQLite file goes. DBConvert creates it, or writes into the one you point at.

Connect to SQLite target database from DBConvert

SQLite target file

Choose the destination SQLite database file - .sqlite, .sqlite3, .db or .db3 - in the target step. DBConvert creates or overwrites the local SQLite database according to the saved job settings.

Steps 3-6: the same for every database pair

Source and target are connected - steps 1 and 2 above. What follows is identical whichever two databases you picked, so it lives in one place. Each step below opens at its own section.

Open the full guide

All four steps in one page, plus software features, command-line mode, scheduler, and system requirements.

See all features

Move MySQL data into SQLite

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

Windows Windows 10 or later · 18.3 MB