-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This application is a lightweight, user-friendly tool for executing SQLite database operations. You can create/open databases, run SQL commands, view outputs in tabular format, save notebooks, and customize your interface with themes and output styles.
- Create new or open existing SQLite databases (.db, .sqlite, .db3, .sqlite3).
- Write and execute SQL queries directly in the command editor.
- View formatted output using different table styles.
- Use an integrated Notepad to save and run SQL notebooks (.nbdb files).
- Switch between beautiful themes and change the table display format.
- Auto-clear input after running SQL commands (optional).
- Shortcut keys for faster operations.
Use the File menu:
- Open Database β Choose an existing database file to work with.
- New Database β Create a new empty SQLite database.
Type your SQL queries inside the Command Editor (upper text box).
Click the Run button or press F5 to execute commands. The output appears below.
Results are displayed in a readable table format using the selected tabulate style. If no data is returned, a success message is shown.
Use Edit > Clear Output to clear the output area. Enable Clear Input to automatically wipe the command editor after running a command.
Use New File or Open File from the File menu to manage .nbdb
notebook files. These are SQL script files that can be saved and reopened later.
Go to the Style menu:
- Themes β Switch between multiple UI themes (Dark, Light, Colorful, etc.).
- Format β Choose how your SQL output table looks (grid, fancy grid, github, psql, etc.).
- File Menu: Database and file operations.
- Edit Menu: Clear outputs, auto-clear input, adjust font size.
- Style Menu: Switch themes and output formats.
- Help Menu: Open Help and SQLite Tutorial pages.
- Ctrl + N β New database
- Ctrl + O β Open database
- Ctrl + S β Save notebook in Notepad
- F5 β Run SQL command
- F5 β Run SQL script inside Notepad editor
- Ctrl + Mousewheel β Zoom in/out editor and output text
-
Run multiple commands separated by
;
(semicolon). - Error Handling β Errors are shown clearly in the output.
- Tabulate Output β Output is neatly presented in different customizable styles.
- Integrated Notepad β Create, save, and execute long SQL scripts conveniently.
- Zoom Text β Quickly adjust text size using shortcuts.
Here is an example of different table output styles available in the app:
-
ββββββ¦ββββββββ¦βββββββββ¦ββββββββββ¦ββββββββββββ¦βββββββββββββββ¦βββββββ
β β cid β name β type β notnull β dflt_value β pk β
β βββββ¬ββββββββ¬βββββββββ¬ββββββββββ¬ββββββββββββ¬βββββββββββββββ¬βββββββ£
β 0 β 0 β id β INTEGER β 0 β β 1 β
β βββββ¬ββββββββ¬βββββββββ¬ββββββββββ¬ββββββββββββ¬βββββββββββββββ¬βββββββ£
β 1 β 1 β name β TEXT β 1 β β 0 β
β βββββ¬ββββββββ¬βββββββββ¬ββββββββββ¬ββββββββββββ¬βββββββββββββββ¬βββββββ£
β 2 β 2 β age β INTEGER β 0 β β 0 β
β βββββ¬ββββββββ¬βββββββββ¬ββββββββββ¬ββββββββββββ¬βββββββββββββββ¬βββββββ£
β 3 β 3 β email β TEXT β 0 β β 0 β
ββββββ©ββββββββ©βββββββββ©ββββββββββ©ββββββββββββ©βββββββββββββββ©βββββββ -
ββββββ¦ββββββββ¦βββββββββ¦ββββββββββ¦ββββββββββββ¦βββββββββββββββ¦βββββββ
β β cid β name β type β notnull β dflt_value β pk β
β βββββ¬ββββββββ¬βββββββββ¬ββββββββββ¬ββββββββββββ¬βββββββββββββββ¬βββββββ£
β 0 β 0 β id β INTEGER β 0 β β 1 β
β 1 β 1 β name β TEXT β 1 β β 0 β
β 2 β 2 β age β INTEGER β 0 β β 0 β
β 3 β 3 β email β TEXT β 0 β β 0 β
ββββββ©ββββββββ©βββββββββ©ββββββββββ©ββββββββββββ©βββββββββββββββ©βββββββ -
ββββββ€ββββββββ€βββββββββ€ββββββββββ€ββββββββββββ€βββββββββββββββ€βββββββ
β β cid β name β type β notnull β dflt_value β pk β
ββββββͺββββββββͺβββββββββͺββββββββββͺββββββββββββͺβββββββββββββββͺβββββββ‘
β 0 β 0 β id β INTEGER β 0 β β 1 β
ββββββΌββββββββΌβββββββββΌββββββββββΌββββββββββββΌβββββββββββββββΌβββββββ€
β 1 β 1 β name β TEXT β 1 β β 0 β
ββββββΌββββββββΌβββββββββΌββββββββββΌββββββββββββΌβββββββββββββββΌβββββββ€
β 2 β 2 β age β INTEGER β 0 β β 0 β
ββββββΌββββββββΌβββββββββΌββββββββββΌββββββββββββΌβββββββββββββββΌβββββββ€
β 3 β 3 β email β TEXT β 0 β β 0 β
ββββββ§ββββββββ§βββββββββ§ββββββββββ§ββββββββββββ§βββββββββββββββ§βββββββ -
ββββββ€ββββββββ€βββββββββ€ββββββββββ€ββββββββββββ€βββββββββββββββ€βββββββ
β β cid β name β type β notnull β dflt_value β pk β
ββββββͺββββββββͺβββββββββͺββββββββββͺββββββββββββͺβββββββββββββββͺβββββββ‘
β 0 β 0 β id β INTEGER β 0 β β 1 β
β 1 β 1 β name β TEXT β 1 β β 0 β
β 2 β 2 β age β INTEGER β 0 β β 0 β
β 3 β 3 β email β TEXT β 0 β β 0 β
ββββββ§ββββββββ§βββββββββ§ββββββββββ§ββββββββββββ§βββββββββββββββ§βββββββ -
<table>
<thead>
<tr><th></th><th> cid </th><th> name </th><th> type </th><th> notnull </th><th> dflt_value </th><th> pk </th></tr>
</thead>
<tbody>
<tr><td> 0 </td><td> 0 </td><td> id </td><td> INTEGER </td><td> 0 </td><td> </td><td> 1 </td></tr>
<tr><td> 1 </td><td> 1 </td><td> name </td><td> TEXT </td><td> 1 </td><td> </td><td> 0 </td></tr>
<tr><td> 2 </td><td> 2 </td><td> age </td><td> INTEGER </td><td> 0 </td><td> </td><td> 0 </td></tr>
<tr><td> 3 </td><td> 3 </td><td> email </td><td> TEXT </td><td> 0 </td><td> </td><td> 0 </td></tr>
</tbody>
</table> -
{| class=βwikitableβ style=βtext-align: left;β
|+ <!β caption->
|
! align=βrightβ| !! align=βrightβ| cid !! name !! type !! align=βrightβ| notnull !! dflt_value !! align=βrightβ| pk
|-
| align=βrightβ| 0 || align=βrightβ| 0 || id || INTEGER || align=βrightβ| 0 || || align=βrightβ| 1
|-
| align=βrightβ| 1 || align=βrightβ| 1 || name || TEXT || align=βrightβ| 1 || || align=βrightβ| 0
|-
| align=βrightβ| 2 || align=βrightβ| 2 || age || INTEGER || align=βrightβ| 0 || || align=βrightβ| 0
|-
| align=βrightβ| 3 || align=βrightβ| 3 || email || TEXT || align=βrightβ| 0 || || align=βrightβ| 0
|} -
||<style=βtext-align: right;β> βββ βββ ||<style=βtext-align: right;β> βββ cid βββ || βββ name βββ || βββ type βββ ||<style=βtext-align: right;β> βββ notnull βββ || βββ dflt_value βββ ||<style=βtext-align: right;β> βββ pk βββ ||
||<style=βtext-align: right;β> 0 ||<style=βtext-align: right;β> 0 || id || INTEGER ||<style=βtext-align: right;β> 0 || ||<style=βtext-align: right;β> 1 ||
||<style=βtext-align: right;β> 1 ||<style=βtext-align: right;β> 1 || name || TEXT ||<style=βtext-align: right;β> 1 || ||<style=βtext-align: right;β> 0 ||
||<style=βtext-align: right;β> 2 ||<style=βtext-align: right;β> 2 || age || INTEGER ||<style=βtext-align: right;β> 0 || ||<style=βtext-align: right;β> 0 ||
||<style=βtext-align: right;β> 3 ||<style=βtext-align: right;β> 3 || email || TEXT ||<style=βtext-align: right;β> 0 || ||<style=βtext-align: right;β> 0 ||;
-
--βββ--ββ-ββββ--βββββββββββ-β-
| | cid | name | type | notnull | dflt_value | pk |
=====+==================+
| 0 | 0 | id | INTEGER | 0 | | 1 |
--βββ--ββ-ββββ--βββββββββββ-β-
| 1 | 1 | name | TEXT | 1 | | 0 |
--βββ--ββ-ββββ--βββββββββββ-β-
| 2 | 2 | age | INTEGER | 0 | | 0 |
--βββ--ββ-ββββ--βββββββββββ-β-
| 3 | 3 | email | TEXT | 0 | | 0 |
--βββ--ββ-ββββ--βββββββββββ-β- -
--βββ--ββ-ββββ--βββββββββββ-β-
| | cid | name | type | notnull | dflt_value | pk |
=====+==================+
| 0 | 0 | id | INTEGER | 0 | | 1 |
| 1 | 1 | name | TEXT | 1 | | 0 |
| 2 | 2 | age | INTEGER | 0 | | 0 |
| 3 | 3 | email | TEXT | 0 | | 0 |
--βββ--ββ-ββββ--βββββββββββ-β- -
-ββ--ββββββ--βββββββββ--
| | cid | name | type | notnull | dflt_value | pk |
-ββ--ββββββ--βββββββββ--
| 0 | 0 | id | INTEGER | 0 | | 1 |
| 1 | 1 | name | TEXT | 1 | | 0 |
| 2 | 2 | age | INTEGER | 0 | | 0 |
| 3 | 3 | email | TEXT | 0 | | 0 |
-ββ--ββββββ--βββββββββ-- -
--βββ--ββ-ββββ--βββββββββββ-β-
| | cid | name | type | notnull | dflt_value | pk |
|ββ-ββββββ-ββββββββ--βββββ-βββ|
| 0 | 0 | id | INTEGER | 0 | | 1 |
| 1 | 1 | name | TEXT | 1 | | 0 |
| 2 | 2 | age | INTEGER | 0 | | 0 |
| 3 | 3 | email | TEXT | 0 | | 0 |
--βββ--ββ-ββββ--βββββββββββ-β- -
ββββββ¬ββββββββ¬βββββββββ¬ββββββββββ¬ββββββββββββ¬βββββββββββββββ¬βββββββ
β β cid β name β type β notnull β dflt_value β pk β
ββββββΌββββββββΌβββββββββΌββββββββββΌββββββββββββΌβββββββββββββββΌβββββββ€
β 0 β 0 β id β INTEGER β 0 β β 1 β
ββββββΌββββββββΌβββββββββΌββββββββββΌββββββββββββΌβββββββββββββββΌβββββββ€
β 1 β 1 β name β TEXT β 1 β β 0 β
ββββββΌββββββββΌβββββββββΌββββββββββΌββββββββββββΌβββββββββββββββΌβββββββ€
β 2 β 2 β age β INTEGER β 0 β β 0 β
ββββββΌββββββββΌβββββββββΌββββββββββΌββββββββββββΌβββββββββββββββΌβββββββ€
β 3 β 3 β email β TEXT β 0 β β 0 β
ββββββ΄ββββββββ΄βββββββββ΄ββββββββββ΄ββββββββββββ΄βββββββββββββββ΄βββββββ -
ββββββ¬ββββββββ¬βββββββββ¬ββββββββββ¬ββββββββββββ¬βββββββββββββββ¬βββββββ
β β cid β name β type β notnull β dflt_value β pk β
ββββββΌββββββββΌβββββββββΌββββββββββΌββββββββββββΌβββββββββββββββΌβββββββ€
β 0 β 0 β id β INTEGER β 0 β β 1 β
β 1 β 1 β name β TEXT β 1 β β 0 β
β 2 β 2 β age β INTEGER β 0 β β 0 β
β 3 β 3 β email β TEXT β 0 β β 0 β
ββββββ΄ββββββββ΄βββββββββ΄ββββββββββ΄ββββββββββββ΄βββββββββββββββ΄βββββββ
You can launch the SQLite App with special flags using the command line:
βportable: Launches the app in portable mode, saving settings locally.Example usage:
sqlite.exe --portable
Enjoy using the SQLite App! Feel free to experiment and explore your databases easily. π