Yjs is a high-performance, open-source CRDT (Conflict-free Replicated Data Type) implementation for building collaborative, real-time applications. It enables multiple users to edit shared data structures—such as text documents, arrays, maps, and XML trees—synchronously and offline. Yjs is network-agnostic and works with WebRTC, WebSocket, or any other transport layer, making it ideal for collaborative editors, whiteboards, and design tools. Its compact updates and powerful reconciliation system make it one of the most efficient and developer-friendly CRDT libraries available.

Features

  • Real-time collaborative editing using CRDTs
  • Supports rich data types like text, arrays, and maps
  • Network-agnostic with adapters for WebSocket, WebRTC, and more
  • Offline support with automatic conflict resolution
  • Efficient binary update encoding and syncing
  • Works in browsers, Node.js, and embedded environments
  • Integrates with editors like ProseMirror, Quill, and CodeMirror
  • Built-in awareness protocol for user cursors and presence

Project Samples

Project Activity

See All Activity >

Categories

Collaboration

License

MIT License

Follow Yjs

Yjs Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Yjs!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Collaboration Software

Registered

2025-04-04