Download GoogleCloudSpanner JDBC Driver

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

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

About the GoogleCloudSpanner JDBC driver

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

The GoogleCloudSpanner JDBC driver

Google Cloud Spanner is a globally distributed, horizontally scalable relational database service that provides strong consistency and ACID transactions across geographic regions. It combines the benefits of relational databases (SQL, transactions) with the scale of NoSQL systems.

The Google Cloud Spanner JDBC URL

  • Required File(s): google-cloud-spanner-jdbc-xx.jar
  • Java Driver Class: com.google.cloud.spanner.jdbc.JdbcDriver
  • JDBC URL: jdbc:cloudspanner:/projects/PROJECTID/instances/INSTANCEID/databases/DATABASEID
  • Website: Google Cloud Spanner

Download Google Cloud Spanner JDBC Driver

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

DbSchema and Google Cloud Spanner

DbSchema connects to Cloud Spanner using the Google JDBC driver and renders interleaved tables and foreign key relationships in the schema diagram. Use the SQL Editor to write Spanner SQL with array and struct type support.

Test the driver with DbSchema

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

1
Download driver & DbSchema

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

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

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

Other drivers teams often configure alongside GoogleCloudSpanner.

Browse all JDBC driver downloads

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

Browse all 100+ supported databases