Download
Visual H2 Database Workspace

H2 Database GUI Client for Windows, macOS, and Linux

VisuaLeaf is one visual workspace for H2, the Java database that most often turns up as the thing your tests and local environment run against: connect to a running H2 server, browse tables, auto-draw ER diagrams from your foreign keys, build SQL visually, and chart the results.

Free to start No credit card required Works on Windows, macOS and Linux
VisuaLeaf visual H2 Database workspace showing tables, an ER diagram from foreign keys, and a query builder side by side

The Database Your Tests Use Is the One Nobody Inspects

H2 is fast to start, easy to embed and usually invisible — which is exactly why a failing integration test is so hard to diagnose. VisuaLeaf gives you a real client for it: open the running database, look at what your migrations built, and query it like any other.

An embedded database has no front door

When H2 runs inside a JVM there is nothing to connect to, so the state your test just produced disappears the moment the test ends.

The bundled console is a web page

It works, and it is a browser tab with a text area — no schema tree, no diagram, no charts, and nothing saved between sessions.

Foreign keys never draw themselves

Your migrations create real constraints, and nothing shows you the schema they produced until something violates one.

Compatibility modes change the rules

H2 can pretend to be PostgreSQL or MySQL for a test suite, which means the SQL that works here is not always the SQL that works in production.

A visual workflow for H2

Connect to a running server, browse tables, map foreign keys into a diagram, build SQL, and chart results — all in one workspace.

Built Around What Makes H2 H2

Server-mode connections, standard SQL, foreign keys, and results, explored, queried, and visualized instead of typed into a browser text area.

Table Management

Manage tables visually instead of hand-writing DDL. Add, rename, and edit columns with their types, defaults, primary keys, and foreign keys, then work across tabbed panels for indexes and constraints. Hit Show DDL to read the full CREATE TABLE statement any time.

Table management on H2 Database

See What Your Migrations Built

Open the database your test suite or local environment just created and page through the tables, columns, indexes and constraints your migrations produced. It is the fastest way to answer whether a schema change did what its author intended.

Browsing tables created by migrations on H2 Database

ER Diagrams from Foreign Keys

Auto-draw an interactive ER diagram from the real foreign keys and constraints in your H2 database, then drill into columns, indexes, constraints and CREATE statements — a genuinely useful check that the model in your code matches the one in the database.

ER diagram from H2 Database foreign keys

A Visual Workflow for Everyday H2 Tasks

VisuaLeaf connects the steps H2 users usually handle separately: connect to a running server, explore tables, build SQL, and visualize the results.

Built for Different H2 Users

Whether you debug a failing test, review what a migration created, prototype a schema, or learn SQL, VisuaLeaf gives you a clearer way to work with H2.

Developers

Open the database your tests run against, check what a migration created, and debug SQL against real rows.

Test and Platform Engineers

Compare the schema H2 produced against the one in your production engine, and catch drift before it ships.

Data Analysts

Write JOINs and aggregations against a local dataset and chart the results without a separate tool.

Students and Beginners

Learn SQL on a database that starts in a second, see foreign keys as ER diagrams, and read the SQL the builder writes.

Frequently Asked Questions

Is VisuaLeaf a good H2 Database GUI?
Yes. VisuaLeaf connects to H2 over JDBC and gives it a real desktop client: browse tables and views, auto-generate ER diagrams from real foreign keys, build SQL visually, page through rows, and chart the results — instead of a browser text area with no schema tree and nothing saved between sessions.
How do I connect VisuaLeaf to H2?
Start H2 in TCP server mode and connect on port 9092 with your database name, user and password. VisuaLeaf downloads the H2 JDBC driver for you the first time you create the connection.
Can I connect to an in-memory or embedded H2 database?
Only if it is reachable over the network. An H2 database embedded inside a running JVM has no listener for another process to connect to. Starting H2 in server mode — which most frameworks can do with one configuration setting — makes the same database available to VisuaLeaf while your application uses it.
Can I inspect the database my tests created?
Yes, and it is the most useful thing to do with a GUI here. Point VisuaLeaf at the H2 server your test suite or local environment is using and look at the tables, columns, indexes and constraints your migrations actually produced, rather than inferring them from the migration files.
Does VisuaLeaf generate ER diagrams from an H2 schema?
Yes. VisuaLeaf reads foreign keys, primary keys, and constraints to auto-draw an interactive ER diagram, which is a quick way to check that the model your code describes is the model the database ended up with.
Does it matter which H2 compatibility mode I use?
For connecting, no — VisuaLeaf speaks to H2 over JDBC regardless. It is worth knowing for your own SQL, since a compatibility mode changes which syntax H2 accepts, and SQL that works under one mode may not be the SQL your production engine accepts.
Which platforms does VisuaLeaf run on?
VisuaLeaf ships native builds for Windows, macOS, and Linux, so your whole team can work with H2 in the same visual tool. It also connects to MongoDB, PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite from a single workspace.

More Than an H2 Client

VisuaLeaf started as a MongoDB workspace and grew into a multi-database visual environment. One app, one workflow, across the databases your team actually uses.

And VisuaLeaf does not leave you staring at a wall of SQL and grids. It visualizes everything — H2 schemas become interactive diagrams, queries become visual builders, and results become charts and dashboards.

MongoDB MySQL MariaDB SQL Server Azure Cosmos DB Amazon DocumentDB SQLite

Built by Developers, For Developers

VisuaLeaf is made by an independent software studio that ships often and listens to the developers who use it every day.

Ready to Work Visually with H2?

Download VisuaLeaf Community Edition and open the database your tests run against, draw ER diagrams from your foreign keys, build SQL visually, and chart results in one workspace.

Download Free Community Edition
No credit card required
VisuaLeaf H2 Database charts and dashboards built from query results