# Yjs

> CRDT library for building realtime collaborative apps

Source: https://talira.ai/catalog/yjs-0t5yzxzh
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / crdt](https://talira.ai/categories/libraries/crdt)
- Platforms: web[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source; funded by sponsors.
- Free tier: yes[^1]
- Backed by: [Kevin Jahns](https://talira.ai/orgs/kevin-jahns.md)
- Creator: Kevin Jahns

Yjs is a CRDT library for realtime collaboration: it exposes shared types (maps, arrays, text and XML) that you change like ordinary data structures, and every change syncs automatically between peers and merges without conflicts. It works offline, storing state in a local database such as IndexedDB and syncing later, and needs no central server: providers sync it over WebSocket (y-websocket), WebRTC (y-webrtc), Matrix and more, and persist it in IndexedDB, LevelDB or Redis. An Awareness CRDT handles presence such as cursors, and bindings make editors collaborative, among them ProseMirror, Quill, CodeMirror and Monaco, and editors such as [Lexical](https://talira.ai/catalog/lexical-4p1yzh9p.md) build on it. It has ports to other languages (Yrs in Rust, with bindings for Python, Ruby, Swift and more), and hosted backends such as Y-Sweet, Liveblocks and Hocuspocus Cloud from the makers of [Tiptap](https://talira.ai/catalog/tiptap-j5qbgxa3.md). Kevin Jahns builds and manages it.

## Links

- Website: https://yjs.dev/
- GitHub: https://github.com/yjs/yjs
- Docs: https://docs.yjs.dev/

## Problems it solves

- let several people edit the same document at once in my web app, like Google Docs
- sync app state between browsers and keep working offline without merge conflicts
- add collaborative cursors and live editing to my rich text editor

## Features

- shared types: Map, Array, Text and XML
- automatic conflict-free merging
- offline support with IndexedDB persistence
- network agnostic: WebSocket, WebRTC and other providers
- Awareness CRDT for presence and cursors
- editor bindings for ProseMirror, Quill, CodeMirror, Monaco and more
- ports to Rust (Yrs) and other languages

## Trust

Overall: 0.71 out of 1.
Signals: maintenance 0.89, adoption 0.87, momentum 0.66, community 0.86, backing 0.50, extensibility 0.00.

- last commit today
- 44 commits in the last 90 days
- latest release v13.6.33 2 months ago
- 23.1k GitHub stars
- 138 contributors
- accepts sponsorship (Github, Open Collective)
- backed by Kevin Jahns
- created by Kevin Jahns

## Sources

[^1]: https://github.com/yjs/yjs/blob/main/LICENSE (checked 23 Nov 2026)
[^2]: https://yjs.dev/ (checked 23 Nov 2026)
