Download H2 JDBC Driver

Download the H2 JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.

Connect H2 in DbSchema Install the driver, open a connection, reverse engineer your schema, and sync changes visually.

About the H2 JDBC driver

A JDBC driver is a Java .jar library that lets applications connect to H2. DbSchema uses JDBC to reverse engineer schemas, run SQL, and generate documentation. Driver files are usually published by the database vendor or an open-source project.

JDBC URL format

Host, port, database name, and SSL options are passed in a URL starting with jdbc:. Each H2 driver uses its own syntax — see the connection details below.

The H2 JDBC driver

H2 is a fast, embedded Java SQL database engine, widely used for unit testing, Spring Boot applications, and lightweight embedded use cases. It supports in-memory mode for tests that need a clean database on every run and file-based mode for persistence.

The H2 JDBC URL

  • Required File(s): h2-1.1.108.jar
  • Java Driver Class: org.h2.Driver
  • JDBC URL: jdbc:h2:file:FILE or jdbc:h2:tcp://HOST/~/DB
  • Website: H2

Download H2 JDBC Driver

The driver archive is a zip file. Extract it and load the .jar files using DbSchema's Driver Manager.

DbSchema and H2

DbSchema connects to H2 in both in-memory and persistent modes. Use DbSchema's Query Builder to explore H2 schemas during development, and the Schema Synchronization feature to compare H2 test schemas against production database schemas.

Test the driver with DbSchema

Connect H2, build your first ER diagram in minutes. No account required.

1
Download driver & DbSchema

Get the H2 driver zip below and install DbSchema for Windows, macOS, or Linux.

2
Register the .jar

In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.

3
Design & document

Reverse engineer H2, edit the model visually, and publish schema documentation.

Use H2 visually in DbSchema

After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.

ER diagrams

Reverse engineer H2 into an interactive diagram and edit structures visually.

SQL & query builder

Run SQL with autocomplete or compose queries without writing every join by hand.

Schema documentation

Export HTML docs your team can browse without installing DbSchema.

Full H2 guide

Connection tips, ports, SSL, and schema design workflows on the database landing page.

Other drivers teams often configure alongside H2.

Browse all JDBC driver downloads

Teams working with H2 often use these engines too. Explore dedicated guides and JDBC setup for each.

Browse all 100+ supported databases