Sqlime is an online SQLite playground for debugging and sharing SQL snippets.
Here are some notable features:
🔋 Full-blown database in the browser
Sqlime is backed by the latest version of SQLite via the WASM project. It provides a full-featured SQL implementation, including indexes, triggers, views, transactions, CTEs, window functions and execution plans.
🔌 Connect any data source
Connect any local or remote SQLite database. Both files and URLs are supported. For example, try loading the Employees database from the GitHub repo.
🔗 Save and share with others
Sqlime saves both the database and the queries to GitHub so that you can revisit them later or share them with a colleague. The database is stored as a plain text SQL dump, so it's easy to read the code or import data into PostgreSQL, MySQL, or other databases.
For example, here is the gist for the Employees database, and here is the sharing link for it.
🤖 Ask AI
Connect an OpenAI account to get help with your queries from the state-of-the-art ChatGPT assistant.
✨ Interactive examples
📱 Mobile friendly
Most playgrounds are not meant for small screens. Sqlime was specifically designed and tested on mobile devices.
🔒 Secure and private
There is no server. Sqlime works completely in the browser. GitHub and OpenAI credentials are also stored locally. Queries are saved as private GitHub gists within your account. Your data is yours only.
⌨️ Dead simple
Sqlime has zero third-party dependencies other than SQLite. Good old HTML, CSS, and vanilla JS — that's all. No frameworks, no heavy editors, no obsolete and vulnerable libraries. Just some modular open-source code, which is easy to grasp and extend.
Here are some quick actions:
||save and share|
Last but not least
⭐️ Star the project on GitHub if you like it
🚀 Follow @ohmypy on Twitter to keep up with new features
🍋 Use Sqlime to debug and share SQL snippets