/
/
JDBC

Microsoft Excel JDBC Driver

Easily connect live Excel data with Java-based BI, ETL, reporting, AI/ML & custom apps.

Other Microsoft Excel Technologies
Decorative Icon Excel Logo
Claude
Claude
GitHub Copilot
Gemini
New
CData Drivers now work with AI Coding tools

The Excel JDBC Driver enables users to connect with live Excel data, directly from any applications that support JDBC connectivity. Easily connect Java/J2EE applications with real-time data from Excel spreadsheets. Use Excel to manage the data that powers your applications.

JDBC architecture

Excel JDBC Connectivity Features

  • Access Excel data either as an entire worksheet or from discrete ranges of data within a worksheet
  • Represent discrete blocks of data as tables through automatic detection or by manually specifying ranges of data
  • Optionally specify if the first row of data should be used for field names
  • Read tables that are oriented horizontally or vertically
  • Support for Excel XLSX file format, 2007 and above
  • Connect to live Microsoft Excel data, for real-time data access with the Microsoft Excel ODBC Driver
  • Full support for data aggregation and complex JOINs in SQL queries
  • Secure connectivity through modern cryptography, including TLS 1.2, SHA-256, ECC, etc.
  • Generate table schema automatically based on existing Microsoft Excel data or manually for greater control of the content you need
  • Seamless integration with leading BI, reporting, and ETL tools and with custom applications via the Excel Connector.

Target Service, API

The JDBC driver can connect with data on Microsoft Excel. The Excel file can be the ones on your local machine. We also support Excel files stored on a remote environment such as Amazon S3, Azure Blob Storage, Azure Data Lake Storage Gen1, Azure Data Lake Storage Gen2, Azure Data Lake Storage Gen2 SSL, Azure Files, Box, Dropbox, FTP, FTPS, Google Cloud Storage, Google Drive, HDFS, HDFS Secure, HTTP, HTTPS, IBM Object Storage Source, OneDrive, OneLake, Oracle Cloud Storage, SFTP, or SharePoint.

Schema, Data Model

CData Microsoft Excel JDBC Driver supports the Office Open XML+ spreadsheets used by Microsoft Excel 2007 and later. currently supports .xlsx and .xlsm files. However, only read operations are supported for .xlsm files. Modifying data operations for .xlsm may cause loss of or damage to macros.

Key Objects

The JDBC Driver for Microsoft Excel allows you to manipulate Excel files in a variety of ways. The driver supports reading data vertically and horizontally as well as from user-defined ranges and named ranges. Refer to Selecting Data and Modifying Data for examples of different ways of querying and modifying spreadsheet data.

Operations

SELECT operations with filtering and JOINS are supported.

Supports UPDATE, INSERT, and DELETE operations for local Excel file. For Excel files stored on remote storage, only SELECT operations are supported.

Authentication

The driver supports multiple AuthScheme required to securely connect to Excel files in various remote services.

Specific feature or properties

AggregateFiles, Null handling, Formula handling, Recalculate, data type detection and many strong feature to deal with Excel data.

Start a 30-day free trial today

JDBC access to Microsoft Excel

Full-featured and consistent SQL access to any supported data source through JDBC


See what you can do with Excel JDBC Driver

ETL, Data Warehouse
Data integration & ETL

Integrate Excel into your systems and data warehouses through popular Java-based ETL/EAI tools. Supports both self-hosted environments and cloud service deployment.

BI, Reporting, Virtualization
BI, reporting & data virtualization

Connect to Excel from any JDBC-compatible BI, reporting, and data virtualization platform. Provides seamless integration using SQL as the standard query interface across all tools.

Custom Java Applications
Custom Java applications

Use the Excel JDBC Driver to rapidly deliver Java-based applications that connect with Excel. Universal SQL-based interactivity simplifies integration and speeds time to market.

Connect to Excel—empower every team

Management & Data Consumer
IT Department
ISVs & cloud service vendors

AI-assisted development with CData CLI

Build Excel integrations faster with AI that understands your schema

Schema-aware AI

CData CLI gives AI coding tools access to your Excel schema. No more guessing table names or column types—AI sees the same metadata in your JDBC Drivers.

Your AI knows SQL

How to find table names, column names, and how to generate SQL syntax are things that AI knows well from millions of training data. No need for customization, no hallucinations. Your AI acts like a domain specialist to Excel.

More accurate, more token-efficient

With CData CLI's queryable schema detection and highly efficient queries with filters, aggregation, joins with correct pushdown, your AI will achieve more accuracy with less token usage.

Supported AI Coding Tools
Download CData CLI
FAQs

Frequently asked Excel JDBC driver questions

Learn more about Excel JDBC drivers for data and analytics integration

Ready to get started? Try CData for free today