SurrealDB stores relational, document, graph, time-series, vector and full-text data in one engine, queried through SurrealQL and reachable from ten official SDKs. It runs embedded in your application, as a single node, or as a distributed cluster, and SurrealDB Cloud runs it for you, on dedicated instances or serverless on SurrealDB Earth.
Where do you want to start?
Your first query
SurrealQL is SQL-shaped, so most of it reads as you would expect. What it adds is the ability to relate records directly and traverse those relations in the same statement, without a join table or a second database. Edit and run this:
The querying guide covers the language properly, and data models covers what else the engine stores.
Connect from your language
Each SDK has a quickstart that gets you connected, and a reference covering every method.
Community SDKs cover further languages, and the Expo and React Native guides cover mobile.
Run it somewhere


SurrealDB Cloud
A managed instance with scaling, backups and monitoring handled for you.
SurrealDB Earth
Serverless SurrealDB on the Cloudflare network, which scales to zero when idle.


Self-hosted
Run and operate SurrealDB on your own infrastructure.
Docker
A container for local development and consistent environments.


Embedded
The engine in-process, natively or through WebAssembly.
Studio Sandbox
A database in the browser for trying SurrealQL, with nothing to install.
The rest of the documentation


Learn
Querying, schema, data models and security.


Build
Embedding, migrating, integrations and AI agents.


Manage
Instances, organisations, observability and self-hosting.
Explore
SurrealDB Studio, tutorials, demos and labs.


Reference
SurrealQL, protocols, CLI tools and SDK methods.


Agent Memory
The memory and knowledge layer for AI agents.




