A powerful, 100% client-side SQLite database viewer that runs entirely in your browser. No server, no installation, and no data ever leaves your computer.
- 🖥️ Purely Browser-Based: Operates entirely on the client-side. Your data stays private.
- 📂 Open Local
.db
Files: Directly open and view SQLite database files from your computer. - 🔍 Browse Data & Schema: Intuitively navigate through tables and view their structure.
- ✏️ Powerful Query Editor: Execute custom SQL queries with syntax highlighting.
- 💾 Works Offline: Fully functional without an internet connection after the initial page load.
- 🚀 Powered by WebAssembly: Leverages the power of SQLite compiled to WebAssembly for native-like performance.
- 📱 Responsive Design: Use it on your desktop, tablet, or mobile device.
- Navigate to the live demo.
- Click "Open Database" and select a SQLite (
.db
,.sqlite
,.sqlite3
) file from your local machine. - Explore your data:
- Click on a table name in the sidebar to view its contents.
- Switch to the "Schema" tab to inspect the table's structure.
- Run Custom Queries:
- Go to the "Query" tab.
- Write your SQL query in the editor.
- Click "Run Query" to see the results.
Interested in contributing or running the project locally?
- Clone the repository:
git clone [https://github.com/bjmdevelopers/SQLite-Viewer.git](https://github.com/bjmdevelopers/SQLite-Viewer.git)
- Navigate to the project directory:
cd SQLite-Viewer
- Open
index.html
in your favorite web browser. That's it!
- SQLite compiled to WebAssembly (WASM): This is the core of the application, allowing us to run the SQLite engine directly in the browser with near-native speed.
- Vanilla JavaScript: No frameworks were used, keeping the application lightweight and fast. All interactions and logic are handled with plain JavaScript.
- HTML5 & CSS3: For the application's structure and styling, including the use of Flexbox and Grid for a responsive layout.
We have a lot of exciting features planned:
- [ ] ✍️ Table Data Editing: Allow users to directly edit, add, and delete rows.
- [ ] 📤 Data Export/Import: Support for exporting tables or query results to formats like CSV and JSON.
- [ ] 📊 Data Visualization: Basic charting capabilities for query results.
Have an idea? Feel free to open an issue!
This project was made possible by these incredible open-source technologies:
- sql.js (MIT License) - SQLite compiled to WebAssembly, created by Alon Zakai (@kripken) and contributors
- SQLite (Public Domain) - Embedded database engine developed by D. Richard Hipp and team
- Emscripten (MIT License) - C/C++ to WebAssembly compiler
- WebAssembly - For enabling native-speed execution in browsers
Contributions are welcome! If you'd like to help improve SQLite-Viewer, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
MIT © bjmdevelopers