vs

BaseX vs eXist-db

BaseX: Lightweight, fast native XML database and XQuery 3.1/4.0 processor with a GUI. eXist-db: Open-source native XML database and XQuery application platform for documents and digital editions.

key differences

  • Licensing: BaseX is open source (permissive) (BSD 3-Clause); eXist-db is open source (copyleft) (GNU LGPL 2.1).
  • Only BaseX has transactions, json, in-memory.
  • Only eXist-db has triggers, stored procedures.

choose basex for

  • +XML transformation and querying pipelines
  • +Digital humanities and archival corpora
  • +Embedded XQuery processing in Java applications
  • +Small document-centric web services

best at · Content, Search, Scientific

choose exist-db for

  • +TEI digital editions and scholarly archives
  • +XML publishing pipelines
  • +Metadata repositories with full-text search

best at · Content, Search, Scientific

overview
Primary model
XML
XML
Also supports
Document, Search Engine
Document, Search Engine
Type
Database engine
Database engine
Status
Active
Active
Developer
BaseX GmbH
eXist-db Open Source Initiative
First release
2007
2000
Latest version
12.4 (May 28, 2026)
6.4.1 (Mar 5, 2026)
License
Open source (permissive)BSD 3-Clause
Open source (copyleft)GNU LGPL 2.1
Free tier
✓
✓
popularity
WhichDB Score
17.5
19.3
Rank
#189
#170
GitHub stars
769
473
Stack Overflow questions
499
545
scale & guarantees
Comfortable data size
Small (≤ 100 GB)
Small (≤ 100 GB)
Horizontal scaling
None
None
Multi-region
None
None
ACID
Limited
Limited
Consistency
Strong
Strong
Schema
Schemaless
Schemaless
Architecture
Single node, Embedded, Client server, In memory
Single node, Embedded, Client server
deployment
Self-hosted
✓
✓
Vendor-managed cloud
—
—
Serverless
—
—
Embedded
✓
✓
Edge
—
—
Clouds
–
–
capabilities
Transactions
✓
—
Joins
✓
✓
Secondary indexes
✓
✓
Full-text search
✓
✓
Vector search
—
—
Geospatial
—
—
JSON
✓
—
Change data capture
—
—
Triggers
—
✓
Stored procedures
—
✓
Materialized views
—
—
TTL / expiry
—
—
Pub/Sub
—
—
Columnar storage
—
—
In-memory
✓
—
Durable persistence
✓
✓
Compression
—
—
Encryption at rest
—
—
Role-based access
✓
✓
Time travel
—
—
Branching
—
—
Online schema changes
✓
✓
Streaming ingest
—
—
Offline sync
—
—
Runs in WebAssembly
—
—
interfaces
Query languages
XQuery 3.1/4.0, XPath, XQuery Full Text, XQuery Update, XSLT
XQuery 3.1, XPath, XSLT, XQuery Update (eXist dialect)
Client languages
Java, Python, C#, JavaScript, PHP, Ruby
Java, Python, JavaScript
Best for
Content, Search, Scientific, Embedded
Content, Search, Scientific, Metadata

BaseX vs eXist-db: FAQ

What is the difference between BaseX and eXist-db?

BaseX: Lightweight, fast native XML database and XQuery 3.1/4.0 processor with a GUI. eXist-db: Open-source native XML database and XQuery application platform for documents and digital editions. Licensing: BaseX is open source (permissive) (BSD 3-Clause); eXist-db is open source (copyleft) (GNU LGPL 2.1). Only BaseX has transactions, json, in-memory. Only eXist-db has triggers, stored procedures.

When should I choose BaseX over eXist-db?

Choose BaseX for XML transformation and querying pipelines; digital humanities and archival corpora; and embedded XQuery processing in Java applications. Choose eXist-db for TEI digital editions and scholarly archives; XML publishing pipelines; and metadata repositories with full-text search.

Is BaseX or eXist-db more popular?

eXist-db ranks #170 on the WhichDB Score (19.3/100) and BaseX ranks #189 (17.5/100). Popularity is not fit: check the requirements that matter for your project.

Are BaseX and eXist-db open source?

Yes. BaseX is open source. License: BSD 3-Clause. Yes. eXist-db is open source. License: GNU LGPL 2.1.