PostgreSQL JDBC Driver Download

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

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

About the PostgreSQL JDBC driver

A JDBC driver is a Java .jar library that lets applications connect to PostgreSQL. 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 PostgreSQL driver uses its own syntax — see the connection details below.

The PostgreSQL JDBC driver

PostgreSQL is the world's most advanced open-source relational database, known for its support for complex data types, JSON/JSONB, full-text search, PostGIS, and a rich extension ecosystem. It is the database of choice for data-intensive applications, SaaS platforms, and teams that need SQL compliance.

The PostgreSQL JDBC URL

  • Required File(s): postgresql-nn.jdbc3.jar
  • Java Driver Class: org.postgresql.Driver
  • JDBC URL: jdbc:postgresql://HOST[:PORT]/DB
  • Website: PostgreSQL

Download PostgreSQL JDBC Driver

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

SSL Connections and Heroku PostgreSQL

If you want to connect to Heroku Postgresql web-based database, please edit the JDBC driver URL (in Driver Manager dialog) and append ?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory to the end. This SSL parameter is also useful for any PostgreSQL host that requires SSL, such as managed cloud instances.

DbSchema and PostgreSQL

DbSchema supports PostgreSQL schemas, extensions, and custom types natively. Use the Query Builder to compose complex joins across multiple schemas, and the Schema Documentation feature to generate HTML reference docs for your PostgreSQL data model.

Have a question about the driver version? Contact the DbSchema team — we keep the bundled driver up to date.

Test the driver with DbSchema

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

1
Download driver & DbSchema

Get the PostgreSQL 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 PostgreSQL, edit the model visually, and publish schema documentation.

Use PostgreSQL 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 PostgreSQL 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 PostgreSQL guide

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

Setup guides

JDBC driver FAQ

Use the driver zip on this page or the official PostgreSQL JDBC site. Extract the jar and register it in DbSchema Driver Manager.

jdbc:postgresql://host:5432/database — append SSL parameters such as ?sslmode=require when needed.

Yes. On first connection DbSchema can download the PostgreSQL JDBC driver for you.

Other drivers teams often configure alongside PostgreSQL.

Browse all JDBC driver downloads

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

Browse all 100+ supported databases