DbSchema connects to Couchbase over JDBC, infers the JSON field structure of your collections, and renders the bucket-scope-collection hierarchy as ER diagrams — with N1QL editing, data browsing, and shareable documentation in the same desktop app.
Trusted by teams at
Couchbase doesn't impose a schema, so the schema moves into application code — and every "which field holds that?" becomes a code-reading exercise. A year in, the collections outnumber the people who can explain them.
DbSchema infers the field structure from the documents themselves and draws buckets, scopes, and collections as diagrams anyone on the team can read and annotate.
The hierarchy on a canvas, N1QL in the editor, documents in the grid.
Connect once and DbSchema draws scopes and collections — plus the JSON field structure inferred for each — as an ER model you navigate instead of memorize.
The editor completes bucket, scope, and collection identifiers while you write joins and UNNEST expressions, then flattens nested JSON results into a readable grid you can export to CSV.
Filter and page through collection contents in the data explorer to verify the document shape your application actually produced — no N1QL required.
Export the model as interactive HTML5 documentation: zoomable diagrams, field lists, and the descriptions you added per collection. New developers learn the document shapes from a link — without cluster credentials, and without reading application source.
Explore the Documentation Tool
DbSchema uses the Couchbase JDBC driver (com.couchbase.jdbc.CouchbaseDriver),
registered once in the driver manager — the Couchbase JDBC
driver page covers the setup. The URL takes the form jdbc:couchbase://host:8093,
and the cluster must have the Analytics Service enabled, since JDBC connectivity depends on it.
Authenticate with a Couchbase user holding the necessary RBAC roles. XDCR replication is
configured separately in the Couchbase console and has no effect on this connection.
Free Community Edition — the 15-day Architect trial ships in the same download.
Teams working with Couchbase often use these engines too. Explore dedicated guides and JDBC setup for each.