- 📰 Project news
- 💬 Frequently Asked Questions
- 🚧 TODOs and (un)planned features
- ☎ Technical support is provided, and feedback gladly accepted, via the sqlite forum. Those with commercial SQLite support contracts may use their usual support channels.
Making use of this project:
💾 Downloads are available via the main project downloads page.
🛠 Building sqlite3 WASM and its associated JS code.
- Emscripten build specifics
📇 The API index describes the various API variants and how to load and access them.
- 🧑🍳 Cookbook of recipes for client-level code
- 💾 Persistent storage options
- 🤓 Using C-structs in the JS API
- 🧱 Creating virtual tables and table-valued functions in JS
- 💣 API changes which might affect clients
About this documentation:
In the Wild
Third-party projects known to be using this project include (in order of their addition to this list)...
- SQLime provides a database browser interface.
- Evolu is a React Hooks library for local-first apps.
- SQLiteNext provides a demo of integrating this project with next.js.
- sqlite-wasm-esm demonstrates how to use this project with the Vite toolchain.
- sqlite-wasm-http provides an SQLite VFS with read-only access to databases which are served directly over HTTP.
(In the order in which we became aware of them...)
- Alon Zakai's sql.js is the first known direct usage of sqlite3 in a web browser, dating back to 2012, not counting WebSQL (which was a native-level feature and has long since been removed from most browsers).
- Roy Hashimoto's wa-sqlite is home to the first known implementation of OPFS storage of sqlite3 databases.
- James Long's absurd-js demonstrates storing sqlite3 databases inside IndexedDB databases.
- postgres-wasm runs a Postgres database server in a browser.
- Jaccwabyt is a small JS library for manipulating WASM-hosted C structs via JS code, created specifically to support the OPFS sqlite3_vfs implementation in this project. This project embeds a copy but does not expose it to client applications.
- CoWasm is "Collaborative WebAssembly for Servers and Browsers". Their demo app includes a WASM build of the sqlite3 shell application.
- Evan Brass's build uses a WASI SDK build, instead of Emscripten, and demonstrates some novel features which this project's WASM build does not.
Third-party Documentation and Articles
The following links reference articles and documentation published about SQLite WASM by third parties: