Docs Menu

Realm Web SDK

The Realm Web SDK lets browser-based applications access data stored in Atlas and interact with App Services services like Functions and authentication. The Web SDK supports both JavaScript and TypeScript.

Web apps built with Realm can query Atlas using the following methods:

Unlike the other Realm SDKs, the Web SDK only support creating an in-memory Realm database, not one persisted to disk.

Learning Paths
Functions Icon

Quick Start

Minimal-explanation code examples of how to work with the Realm Web SDK.

See Code Examples

Realm Mobile Icon

Working Example App

Learn by example through dissecting a working React app that uses the Realm Web SDK and Atlas GraphQL API.

Explore an Example App

What You Can Do

Use the Realm Web SDK with Atlas App Services to query MongoDB directly, query a GraphQL API, invoke serverless functions, manage user authentication, and more.

Essential Documentation
Reference Icon

Realm JavaScript Reference

Explore reference docs for the Realm JavaScript SDKs.

Realm JavaScript Reference

React Logo Icon

Quick Start with React

Learn how to add the Realm Web SDK to your React application.

Add Realm to React project

Next.js Logo Icon

Next.js Integration Guide

Learn all the ways that you can use the Realm Web SDK with your Next.js application.

Integrate with Next.js

Share Feedback
© 2023 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.