Download Elasticsearch JDBC Driver

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

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

About the Elasticsearch JDBC driver

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

The Elasticsearch JDBC driver

Elasticsearch is a distributed search and analytics engine built on Apache Lucene. While primarily a full-text search store, it also functions as a document database for log analytics (the ELK stack), APM, and near-real-time search applications.

The Elasticsearch JDBC URL

  • Required File(s): x-pack-sql-jdbc-xxx.jar
  • Java Driver Class: org.elasticsearch.xpack.sql.jdbc.EsDriver
  • JDBC URL: jdbc:es://https:HOST:PORT/DB
  • Website: Elasticsearch

License Requirement

Note: The Elasticsearch JDBC driver requires a Platinum or higher Elastic license. It is a commercial feature of Elastic Stack. For open-source alternatives, consider community-built drivers.

Download Elasticsearch JDBC Driver

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

DbSchema and Elasticsearch

DbSchema connects to Elasticsearch using the official x-pack-sql JDBC driver and renders index mappings as table schemas. Use the SQL Editor to run Elasticsearch SQL queries against your indices and export results to CSV.

Test the driver with DbSchema

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

1
Download driver & DbSchema

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

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

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

Other drivers teams often configure alongside Elasticsearch.

Browse all JDBC driver downloads

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

Browse all 100+ supported databases