Download Supabase JDBC Driver

What Is a JDBC Driver?

A JDBC driver is a Java library file (.jar) that enables Java applications — including DbSchema — to communicate with a database over a standard API. The driver translates generic JDBC calls into the network protocol understood by Supabase, so you never have to write low-level socket code. Drivers are typically distributed by the database vendor or as open-source projects.

Understanding the JDBC URL

Every JDBC driver identifies the target database through a connection URL. The URL encodes the hostname, port, database name, and any driver-specific parameters as a single string. The exact syntax varies per driver — the details for Supabase are listed in the section below.

Download the Supabase JDBC Driver

Supabase is an open-source Firebase alternative built on top of PostgreSQL, providing a full backend-as-a-service platform with a hosted database, authentication, real-time subscriptions, and storage. It exposes the underlying PostgreSQL database directly, giving developers full SQL access and the ability to use any PostgreSQL-compatible tool. Supabase supports extensions such as pgvector for AI embeddings and PostGIS for geospatial data.

Supabase JDBC Driver Details

  • Required File(s): postgresql-xxx.jar
  • Java Driver Class: org.postgresql.Driver
  • JDBC URL: jdbc:postgresql://{HOST}:{PORT}/{DB}
  • Website: Supabase

Supabase provides both a direct PostgreSQL connection string and a connection pooler URL (via PgBouncer). For DbSchema, use the direct connection: jdbc:postgresql://db.xxxxx.supabase.co:5432/postgres?sslmode=require. Avoid the pooler URL for schema introspection as it may limit certain metadata queries.

DbSchema and Supabase

DbSchema connects to Supabase PostgreSQL using the standard JDBC driver, visualizing tables, Row Level Security policies, foreign key relationships, and pgvector extension columns, making it easier to design and document your Supabase database schema.

Have connection issues? Contact the DbSchema team for help.

DbSchema Database Designer

Explore Supabase Visually with DbSchema

Once the JDBC driver is configured, DbSchema connects to your Supabase database and gives you a full graphical workbench — no command-line required. Available as a free Community Edition and a full-featured PRO Edition. No registration needed to get started.

Interactive ER Diagrams

Reverse-engineer your Supabase schema into a drag-and-drop ER diagram. Arrange tables visually, add new columns, define foreign keys, and let DbSchema generate the DDL — all without writing SQL by hand.

Interactive ER diagram for Supabase in DbSchema

Visual Query Builder

Compose Supabase queries by clicking on tables and columns — no SQL knowledge required. Add joins, filters, groupings, and aggregations through a point-and-click interface, then copy the generated SQL or run it directly against the live database.

Visual query builder for Supabase in DbSchema

Relational Data Explorer

Browse Supabase table data and follow foreign key relationships across tables in a single view. Edit cells inline, filter rows, and paginate through large datasets — all without leaving the explorer.

Relational data explorer for Supabase in DbSchema

Schema Synchronization

Compare your Supabase schema across development, staging, and production environments. DbSchema generates the exact ALTER statements needed to close the gap and lets you review every change before executing — reducing the risk of unintended schema drift.

Schema synchronization for Supabase in DbSchema

SQL Editor

Write and execute Supabase queries in the integrated SQL editor with schema-aware autocomplete, syntax highlighting, and instant result display. Run scripts, inspect execution plans, and export results to CSV or JSON from a single interface.

SQL editor for Supabase in DbSchema

HTML Schema Documentation

Generate a static HTML site documenting every table, column, type, index, and relationship in your Supabase schema. Share it with your team or embed it in your project wiki — no extra tooling required.

Schema documentation generator for Supabase in DbSchema

For the full feature list and edition comparison, visit the DbSchema PRO Edition page.

Go deeper with Supabase in DbSchema — ER diagrams, Git-based versioning, random data generator, and HTML schema docs. See the full Supabase guide →