Skip to content
B077ASPublic

About

A fast, free desktop client for working with relational databases. MySQL | MariaDB | PostgreSQL | SQL Server | H2 | SQLite

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

125 Commits

Folders and files

Repository files navigation

QueryExe icon
QueryExe

A fast, free desktop client for working with relational databases.
MySQL | MariaDB | PostgreSQL | SQL Server | H2 | SQLite

Java 25 Built on Jolt Windows | Linux License: MIT

QueryExe: SQL editor, schema tree and result grid


Download for Windows or Linux

Your databases, one window, no fuss. Connect, explore, query, edit and export in an app that stays light and starts quickly. QueryExe is a desktop app: no account, no subscription, no telemetry.

What you can do

Write SQL comfortably

  • Autocomplete that knows your tables and columns, and suggests what fits where you are in the statement
  • Run a whole script, a selection or just the statement under the cursor, with a tab for each result
  • Format SQL, find and replace, open .sql files or drop them onto the window
  • Pick up where you left off: tabs and unsaved SQL come back at the next start
  • Each tab has its own database session, with auto-commit or manual commit and rollback
  • Open the execution plan to see why a query is slow (with measured timings on PostgreSQL, MySQL and MariaDB)

Edit data right in the grid

  • Change cells, add and delete rows, then apply everything in one transaction, or revert
  • Search, filter by column, and select cells to get sums, averages and counts
  • Open long text, JSON, XML and binary values in a dedicated viewer
  • Export to CSV, JSON or XML, or copy a result as a command-line style text table

Editing cells in the result grid with the pending changes bar

Understand and shape your schema

  • Browse databases, schemas, tables, views and columns, with keys and indexes
  • Draw an ER diagram and save it as PNG or SVG
  • Create and change tables in a visual editor that shows the SQL before it runs
  • Generate SELECT, INSERT and CREATE scripts
  • Fill a table with test data: realistic values, links to existing rows, repeatable with a seed

ER diagram of the demo shop schema

Visual table editor

Stay connected and in control

  • Organise connections in colour-coded folders, pin your favourites, drag them into order
  • Reach private servers through an SSH tunnel
  • Passwords are kept in your system's credential store
  • Move to another computer with connection export and import (encrypted when passwords are included)
  • Watch a server live: activity charts, running sessions and blocking locks

Explore Redis

  • Browse keys grouped by prefix, loaded in batches so large databases stay responsive

  • Open a key to see it as a table: strings, hashes, lists, sets, sorted sets and streams

  • Type Redis commands with suggestions, and read replies as a grid or redis-cli style text

  • Press Enter in the filter box to search the server, with patterns such as cart:10*

  • Edit values in the grid and apply them in one transaction, or change a key's expiry, rename it and delete it

Single servers only for now (no Cluster or Sentinel).

Make it yours

Light, dark or system theme, nine accent colours, and keyboard shortcuts for the common actions.

The light theme Appearance settings with the accent colours

Supported databases

Drivers are included, so you can connect right away. Redis is supported too, as described above.

Database Included JDBC driver
MySQL Connector/J 26.10.0
MariaDB 4.0.0
PostgreSQL 42.7.15
SQL Server 13.6.3.jre11
H2 2.5.252
SQLite 3.54.1.0
  • Need a different driver? Pick another version, or your own JAR, in the connection dialog. The included MySQL driver officially supports MySQL 8.4 and later.
  • MariaDB over TLS: it is off unless you ask for it. Use a custom connection URL with ?sslMode=verify-full.
  • H2 files: back up important databases before opening them with a newer H2 version.

H2 and SQLite get the most automated testing. The server databases have seen less real-world use, so please report any rough edges.

Get started

Grab the latest build from the Releases page:

Download How to run it
Windows: QueryExe-Setup.exe Run the installer (per user, no admin rights needed)
Linux: QueryExe.AppImage chmod +x QueryExe.AppImage, then run it

Java is included and the app updates itself. You can ignore the other files on the release page.

  • The Windows installer is not code-signed, so SmartScreen may warn you on first run.
  • Linux needs WebKitGTK and libsecret from your system, and has had less testing than Windows.

Where your data lives

On your computer, in %APPDATA%\QueryExe (Windows) or ~/.config/QueryExe (Linux): connections, settings, custom drivers, logs and your open tabs, whose SQL is saved as plain text.

FAQ

Is it really free? Yes. MIT-licensed, with no ads and no paid tiers.

Why not Electron? QueryExe uses the system's own web view, so there is no bundled browser: a smaller download and less memory.

For developers

Java 25 handles connections, SQL and storage. The interface is Vue 3 and TypeScript (CodeMirror 6, Reka UI), shown in a native window by Jolt, all in a single process with no local HTTP server.

Build, run and test

You need JDK 25 (with JAVA_HOME pointing to it), Maven and Node.js.

git clone https://github.com/B077AS/query-exe
cd query-exe

# build the interface (type-checks, then writes it to src/main/resources/ui)
cd frontend
npm install
npm run build
cd ..

mvn compile exec:exec   # run the app
mvn test                # run the tests
mvn clean package       # build target/query-exe-<version>.jar
  • UI hot reload: run npm run dev in frontend/, then mvn compile exec:exec -Dqueryexe.dev=true in another terminal.
  • Keep your real connections safe: add -Dqueryexe.data=<folder> to use a separate data folder.
Project layout
Part Responsibility
frontend/ The page: editor, result grid, dialogs
app/, api/ The bridge between the page and Java
engine/ The SQL dialect and schema reader of each database
connection/ Saved and open connections, credentials, SSH, drivers
schema/ The structure shown in the connection tree
query/ Script execution, editable results, plans, export
generate/ Test data generation
redis/ Redis connections, key browsing and commands
monitor/ The server monitor
store/ Settings, tabs and recent files

Contributing

Bug reports and pull requests are welcome. Fork the repository, create a branch and open a pull request.

Acknowledgments

Jolt · Vue · CodeMirror · Reka UI · Material Design Icons

License

This project is licensed under the MIT License.


Made with Java
If you find QueryExe useful, consider giving it a star!

About

A fast, free desktop client for working with relational databases. MySQL | MariaDB | PostgreSQL | SQL Server | H2 | SQLite

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages