Liveblocks
Shared state / CRDT · Free + paid
A realtime collaboration SDK for presence, comments, and shared editing: it helps add collaboration to an application you are building.
Also known as: liveblocks/liveblocks; liveblocks; liveblocks-collaboration; liveblocks-realtime

What you can use for free
SDK code and hosted Free for personal development, prototyping, and testing within the allowance.
Paid features and costs
Production-oriented Pro/Team, usage credits, and enterprise/self-hosted offerings are paid for separately.
Access and limitations
SDK code and hosted Free for personal development, prototyping, and testing within the allowance. Production-oriented Pro/Team, usage credits, and enterprise/self-hosted offerings are paid for separately.
Use cases
- Add presence and collaboration to an application
- Connect presence, comments, or shared editing and test two clients
Example workflow
A possible workflow; this is not a report of hands-on testing.
Add presence and collaboration to an application.
Before you start
- A document model and concurrent updates.
- A client application and transport provider.
Steps
- Define a collaboration room and the data participants should exchange.
- Connect presence, comments, or shared editing and test two clients.
- Test offline edits, merging, and reconnecting.
Check your result
- Clients converge on one state after conflicting changes.
- Transport authorization and history size suit the project.
Choosing Liveblocks
Add presence and collaboration to an application
Choose this when
- Add presence and collaboration to an application
- Connect presence, comments, or shared editing and test two clients
Consider alternatives when
- When choosing for this topic, compare Liveblocks with Automerge. A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- When choosing for this topic, compare Liveblocks with PartyKit. A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Requirements
- Choose Sync, Comments, or Notifications and a package for your editor/framework.
Things to consider
- Costs and limits of free use: Production-oriented Pro/Team, usage credits, and enterprise/self-hosted offerings are paid for separately.
- Terms of use: Most SDKs Apache-2.0; packages/liveblocks-server and tools/liveblocks-cli AGPL-3.0-or-later; package notices take priority.
- Package licenses and hosted service allowances are different terms; a specific integration's offline/reconnect behavior is unconfirmed and should be checked in your project.
Frequently asked questions
What can you use for free in Liveblocks?
SDK code and hosted Free for personal development, prototyping, and testing within the allowance.
What additional costs might arise with Liveblocks?
Production-oriented Pro/Team, usage credits, and enterprise/self-hosted offerings are paid for separately.
What terms of use matter for Liveblocks?
Most SDKs Apache-2.0; packages/liveblocks-server and tools/liveblocks-cli AGPL-3.0-or-later; package notices take priority.
How do you get started with Liveblocks?
Define a collaboration room and the data participants should exchange. Connect presence, comments, or shared editing and test two clients. Test offline edits, merging, and reconnecting.
Which collaboration blocks and editor integrations does Liveblocks include?
Sync, Comments, and Notifications can be connected separately or together. Packages integrate with React, Tiptap, BlockNote, Lexical, CodeMirror, ProseMirror, Redux, and Zustand; REST API, Python SDK, and webhooks are available. The root LICENSE assigns @liveblocks/server and liveblocks CLI to AGPL-3.0-or-later, while other components are mainly Apache-2.0.
Related tasks and approaches
- Automerge
A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- PartyKit
A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- Yjs
A candidate to compare under the topic: APIs and server SDKs, Realtime and notifications. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
License
Most SDKs Apache-2.0; packages/liveblocks-server and tools/liveblocks-cli AGPL-3.0-or-later; package notices take priority.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsAGPL 3.0 — copyleft with a network-service condition
Use, modification, and commercial use cases are permitted. GPL obligations apply to distribution. If you modify an AGPL-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version. This applies to the covered program, not automatically to all your data or independent applications.
License termsTechnologies and topics
- Liveblocks
- collab
- Development