HXTT Word
Version
1.1.275
License
Shareware
Trial Limitations
30 days, at most 50 queries per session, SELECT returns the first 1,000 rows
Operating Systems
Windows, Linux, macOS, Unix, Solaris, AIX, FreeBSD and any OS with a Java VM
System Requirements
Any platform with a Java VM, JDK 1.8 (JDBC 4.2 package) or Java 9 to Java 14 (JDBC 4.3 package)
File Size
1.90 MB
Release Date
7/13/2026
Last Updated
11/22/2026
2 views 0 downloads
Pure Java JDBC driver that reads and edits Word .docx documents with SQL

HXTT Word: Read, Fill and Edit Word Documents with SQL from Java

HXTT Word is a pure Java (type 4) JDBC driver that opens Microsoft Word .docx files as a database: paragraphs, tables, headers, footers, comments, pictures and hyperlinks become tables you can query and change with SQL. It's for Java developers who generate or mine Word documents and would rather write SELECT and INSERT than work through a document object model. A Single Server License costs $339, one-time.

Contracts, reports, letters and forms often live as Word files, and getting data out of them, or filling a template from a database, usually means a library like Apache POI and a fair amount of code that walks runs, paragraphs and table cells. With HXTT Word, select STRING_AGG(text,'\r\n') from contract.paragraphs returns a document's text, and an UPDATE on contract.vtable1 changes the rows of its first table.

Quick facts

  • Version: 1.1.275, built July 13, 2026
  • Developer: Heng Xing Tian Tai Lab of Xi'an City (HXTT), which also makes JDBC drivers for Access, DBF, Excel, PDF and XML files
  • Formats: .docx documents from Microsoft Word 2007, 2010, 2013 and 2016
  • Platform: any operating system with a Java VM; JDBC 4.2 (JDK 1.8) and JDBC 4.3 (Java 11) packages
  • Price: $339 Single Server, $1,566 100 User Application, $2,328 Enterprise; perpetual, with one year of free upgrades and email support
  • Trial: free 30-day evaluation package; it runs at most 50 queries per session and returns only the first 1,000 rows of a SELECT
  • Refunds: requested through 2Checkout within 30 days of the order
  • What we checked: the evaluation download word.zip (1.9 MB), whose Word_JDBC42.jar reports version 1.1.275 of July 13, 2026; order page prices of $339, $1,566 and $2,328 for the three licenses, all lifetime, on November 22, 2026. We didn't run it against Word documents of our own.

Download Free TrialBuy Single Server LicenseBuy 100 User Application LicenseBuy Enterprise License

Overview

HXTT Word is a JDBC driver with a small database engine built in. Load com.hxtt.sql.word.WordDriver and connect with a URL such as jdbc:word:/c:/data; each .docx file in the folder is then a database. The file name alone (select * from report) returns all of its paragraphs, tables, headers and footers. Pseudo table names pick out one kind of object: report.paragraphs for every paragraph, report.paragraph3 for the third one, and headers, footers, comments, pictures, hyperlinks, properties (creator, title, keywords) and body for the rest.

Word tables get four views. tables or table1 uses generic column names, vtable1 treats the first row as column headings, htable1 treats the first column as headings, and celltable1 returns every cell as its own row with its row and column number. That lets you read an invoice table as ordinary records, or write rows into it from a result set.

HXTT DBAdmin Server Catalogs view running a SELECT query and showing the result grid

DBAdmin, the server manager inside every HXTT driver jar, in an older Windows look. The Server Catalogs view runs a SQL statement and shows the result; HXTT's sample connection here is a DBF folder, not a Word document.

Features

Read a document's text and tables

HXTT Word returns the text of paragraphs, tables, headers and footers as rows, with an object number and type for each, so you can search contracts for a clause, pull the figures from a report's tables, or read document properties such as creator, title and keywords.

Write and fill documents

HXTT Word changes documents with SQL: INSERT appends paragraphs, comments (with an author name) and hyperlinks, UPDATE replaces text or sets a paragraph's color, CREATE TABLE builds a new Word table with a size and alignment, and DELETE, TRUNCATE and PACK clear paragraphs or remove empty ones. Pseudo variables set the font, text format (size, color, bold, italic, underline), paragraph alignment and page size for the next write.

Copy content between documents

HXTT Word can copy a table, a header, every comment or every hyperlink from one document into another with CREATE TABLE ... SELECT __children__ FROM, a simple way to assemble a document from parts of others.

More than SQL-92

HXTT Word supports nearly full ANSI SQL-92 plus many SQL:2008 additions: every join type, UNION, INTERSECT and EXCEPT, subqueries, common table expressions, PIVOT and UNPIVOT, OFFSET and FETCH, multiple-table UPDATE, and more than 250 SQL functions, with an API for your own. JSON, XML and ARRAY types are built in too.

Documents wherever they live

HXTT Word reads documents from local folders, UNC paths, SMB shares (including Azure file shares), HTTP, HTTPS, FTP, FTPS and SFTP URLs, from inside ZIP, GZ, BZ2, 7z and TAR archives, from a Java InputStream, or as memory-only documents. It runs embedded in your application or as a server managed with DBAdmin, with all four transaction isolation levels and thread-safe concurrent connections.

Benefits

  • Less document code. One SQL statement replaces a walk through runs, paragraphs and cells in a document API.
  • Word data in reporting and ETL tools. Anything that speaks JDBC can read the tables in a folder of Word files.
  • Templates filled from a database. An INSERT ... SELECT moves rows from another source straight into a Word table.
  • A perpetual license with a year of upgrades included, rather than a subscription.

Real-World Uses

  • Contract review: a legal team's tool lists every contract on a share whose paragraphs mention a given clause, with the file name and paragraph number.
  • Report extraction: a monthly Word report from a partner arrives over SFTP, and its results table is read with vtable1 and loaded into a database.
  • Document generation: a Java service fills an order table and adds a comment for the reviewer in a .docx template before it's emailed.
  • Archive indexing: a script reads the title and creator properties of thousands of documents inside ZIP archives to build an index.

Who It's For, and Who Should Skip It

HXTT Word is for Java developers and integrators who need to read or write Word document content from Java code or JDBC-based tools, and who think in SQL more readily than in a document object model.

Skip it if you don't work in Java, or if you need full control over layout, styles and fields, where a document library such as Apache POI or docx4j (both free) gives you every detail. It works with .docx files, so old binary .doc files from Word 97-2003 need converting first. And if you only need to pull plain text out of documents once, a free text extractor is enough.

Usage Guide

  1. Download the evaluation package (word.zip) and unzip it. It holds the JDBC 4.2 jar and the documentation; the JDBC 4.3 package is available after registering on HXTT's site.
  2. Add the jar to your classpath, for example -cp Word_JDBC42.jar. The JDBC 4.2 package needs JDK 1.8; the JDBC 4.3 package needs Java 11.
  3. Load the driver com.hxtt.sql.word.WordDriver and connect with jdbc:word:/your/folder, or jdbc:word://host:port/folder for a remote server.
  4. Read a document with select * from report.paragraphs or select * from report.vtable1.
  5. Write to it with INSERT, UPDATE or CREATE TABLE on the same pseudo tables, and set CURRENT_TextFormat first if the new text needs a font size or color.
  6. Buy the license that fits how you'll deploy it before the evaluation period ends.

Where it falls short

  • The trial has limits. The evaluation jar runs at most 50 queries per session, returns only the first 1,000 rows of a SELECT, and stops after 30 days.
  • .docx from Word 2007 to 2016. HXTT lists no support for the old .doc format, and doesn't name Word versions after 2016, though they still save .docx.
  • Formatting control is basic. You can set fonts, colors, alignment and page size, but styles, fields, tracked changes and complex layouts are a job for a full document library.
  • Thin, recycled documentation. The help files in the package are shared with HXTT's XML and JSON drivers, so some chapters (XPath) don't apply to Word, and the Word-specific syntax is mostly shown by example.
  • Updates are included for one year. After that, upgrades and support are a yearly renewal. Redistributing it in your product needs the $1,566 license.

Comparisons

HXTT Word vs a document library such as Apache POI

Apache POI and docx4j are free and expose every part of a .docx file, from runs and styles to fields and section breaks, but you write the code to walk the document and find what you want. HXTT Word trades that detail for SQL: reading a table, appending paragraphs or copying a header from another document is one statement, and any JDBC tool can do it. For layout-heavy document generation, a library fits better; for getting data in and out of Word tables and text, HXTT Word is quicker to use.

Editions and Pricing

LicensePriceWhat it coversBuy
Single Server License$339Unlimited connections on a single serverBuy Single Server
100 User Application License$1,566Unlimited connections; redistribute 100 times with one commercial productBuy 100 User
Enterprise License$2,328Unlimited connections and servers, within one company in one countryBuy Enterprise

Every license includes one year of free online upgrades and technical support by email and forum. HXTT offers bulk discounts on request.

FAQs

Does HXTT Word need Microsoft Word installed?

No. HXTT Word is pure Java and reads and writes the .docx file itself, so it runs on servers and on Linux or macOS machines with no copy of Microsoft Office.

Can HXTT Word open old .doc files?

HXTT Word supports documents from Word 2007, 2010, 2013 and 2016, which use the .docx format. Save older .doc files as .docx in Word or another converter before querying them.

How do I get all the text of a Word document with HXTT Word?

HXTT Word's FAQ gives select STRING_AGG(text,'\r\n') as content from testdoc.paragraphs for the paragraphs only, and the same query on testdoc for paragraphs, tables, headers and footers together.

Can HXTT Word read documents from a web server or file share?

Yes. HXTT Word accepts HTTP, HTTPS, FTP, FTPS and SFTP URLs and SMB shares in the JDBC URL or directly in SQL, and it reads documents inside ZIP and other archives.

Does HXTT Word work with Hibernate, Tomcat and Crystal Reports?

Yes. HXTT Word is a standard JDBC driver with DataSource, connection pooling and RowSet support, and HXTT lists Hibernate, Tomcat, Crystal Reports, SQuirreL SQL Client, DBVisualizer and RazorSQL among the tools it works with.

Which license do I need to ship HXTT Word inside my own software?

To redistribute HXTT Word with a commercial product, the 100 User Application License covers 100 copies of one product. The Single Server and Enterprise licenses are for running it on your own servers.

How do I get a refund?

Orders for HXTT Word placed online are handled by 2Checkout, which accepts refund requests up to 30 days from the order date.

System Requirements

  • Any operating system with a Java VM: Windows, Linux, macOS, Unix, Solaris, AIX, FreeBSD and others
  • JDK 1.8 for the JDBC 4.2 package, Java 11 for the JDBC 4.3 package; HXTT lists support through Java 14
  • Documents in .docx format from Microsoft Word 2007, 2010, 2013 or 2016

Conclusion

HXTT Word is worth its $339 Single Server price if Java code or a JDBC tool has to pull text and table data out of Word documents, or fill tables and add paragraphs and comments to them, on a regular basis. The reason to buy it is SQL access to .docx content with no Office install and no document-model code, in a driver with a July 2026 build. The reason to skip it is control: for layout-heavy documents, free libraries like Apache POI do more. Try your own documents in the 30-day evaluation first.

Download Free TrialBuy Single Server LicenseBuy 100 User Application LicenseBuy Enterprise License

Other Software Products by HXTT:
1) HXTT Json
2) HXTT PDF
3) HXTT XML
4) HXTT Cobol
5) HXTT Excel
6) HXTT Paradox
7) HXTT Text (CSV)
8) HXTT DBF
9) HXTT Access

We may earn a commission when you buy through links on this page.
Copyright © 2026, Ivertech. All rights reserved.