talira

Record and replay the web

open coreMITself-hostablefree

rrweb (record and replay the web) is an open source TypeScript library for session replay. It snapshots a page's DOM into JSON, records every later change and user interaction as events, and rebuilds them to replay what the user saw, with a ready-made player that pauses, skips and seeks. Inputs can be masked and elements blocked so sensitive data never enters a recording. Its maker says it runs on more than 700,000 websites, and products such as Sentry and PostHog build their replays on it. You can store the events yourself, or send them to rrweb Cloud, the maker's hosted backend, which ingests, stores, indexes and serves recordings through an API under your own brand.

Problems it solves

  • record what users do on my website and replay their sessions, the way Hotjar or Smartlook does
  • add session replay to my own product under my brand
  • see exactly what a user did before they reported a bug
  • record what a browser automation or AI agent actually saw on the page
  • take a static HTML snapshot of the current state of a web page
  • build my own session replay without paying for FullStory or LogRocket
  • mask passwords and personal data in session recordings

Features

  • DOM snapshot and rebuild (rrweb-snapshot)
  • records DOM mutations and user interactions as JSON events
  • replay package and rrweb-player UI with pause, fast-forward and seek
  • chains several page loads into one recording
  • input masking and element blocking for privacy
  • plugin API
  • rrweb Cloud: hosted ingest, storage, indexing, search, replay and screenshots, with an API

Ways to run it

rrweb

You run it, MIT

free12

You arrange

  • a backend that stores the events in order, with compression, retention and deletion

Self-hosting docs

rrweb Cloud

Hosted by rrweb

$50 of free usage a month, then $1.60 per 1,000 sessions; AI analysis $0.009 per session3

Pricing

Capabilities

Has an APIplan not known
Takes pluginsplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what rrweb does.

  1. OpenReplay Session replay, co-browsing and product analytics you can self-host
  2. PostHog Product analytics, session replay, feature flags, experiments and more in one platform
  3. LogRocket AI session replay that catches issues before your users do
  4. Contentsquare AI-first experience platform
  5. Heap Better insights. Faster.

Compare rrweb with the top 3