Last modified: January 24, 2026

This article is written in: 🇺🇸

Operational Transform (OT)

Operational Transform is a technique in distributed systems for real-time collaborative editing of shared documents.

[User 1]      [User 2]       [User 3]
      | Edit       | Edit         | Edit
      |            |              |
      v            v              v
    [OT Engine]--[OT Engine]--[OT Engine]
      \            |            /
       \           |           /
        \          |          /
         \         |         /
          \        |        /
       +----------------------------+
       |      Shared Document       |
       |  (Real-time Collaboration) |
       +----------------------------+

Collaborative Editing Challenges

Collaborative editing can be difficult in distributed systems because:

How OT Works

OT transforms a sequence of edits by:

Types of Operations

OT can transform operations like:

Implementing OT

Implementing OT can be challenging due to:

Popular OT implementations include: