Converts Microsoft Access .mdb files (97-2003) to SQLite databases via a simple CLI command. Stable v1.0.2, no system dependencies, runs on Node.js ≥16. Lightweight and cross-platform, no ODBC or Access installation needed. Converts all tables, normalizes Access types to SQLite types, and provides clear exit codes for automation. Limitations: no .accdb support, no table filtering or custom output paths yet. Active development with planned features.
npm install mdb-to-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Convert a Microsoft Access .mdb file to SQLite database with one command using npx.
Ensure the input file has .mdb extension and is in the older Access format. Use Access to convert .accdb to .mdb first.
Migrate OLE objects manually or use a different tool that handles them, such as mdb-tools (Linux) or mdbtools.
If you need to exclude certain tables, consider splitting the .mdb file into multiple files or use an alternative converter.
Copy or move the output .sqlite file after conversion, or run the command from a directory where you want the output.
When querying boolean fields, compare with 0 or 1 instead of true/false, or cast to boolean in your application.
Run the command with a valid .mdb file path: npx mdb-to-sqlite /path/to/file.mdb
Verify the file path and ensure the file exists. Use absolute or relative path correctly.
Convert .accdb to .mdb using Microsoft Access or a compatible tool, then run the converter.
No dependency data recorded yet.