Solve the toughest challenges in mobile app dev

Learn More

Realm Platform 2.0

Everything you love about the Realm Platform just got better:

  • New Realm Studio: easily manage your Realms, users, and config
  • Easy and simple NPM install
  • Improved, fully pluggable authentication system
  • A host of stability, performance, and usability enhancements

Watch the webinar or try 2.0 today

Introducing Realm Studio

The tooling you’ve always wanted from Realm.

Manage Realms, data, users, and config all from an elegant interface that works on Mac, Windows, and Linux.

Download Realm Studio

Your apps deserve a better mobile stack

Stop relying on a stack of complex networking code and kluged together web-era technology. Realm was designed from the ground up for realtime mobile apps, and realtime mobile teams. It’s never been easier to build modern reactive apps, live collaborative features, and offline-first experiences.

Start a free trial

Join us on the Realm World Tour

We’re going city to city bringing the Realm Platform experience to the global mobile developer community.

Join us

CUSTOMER HIGHLIGHT

Cartasite delivers industrial IoT

Using Realm Platform, Cartasite built an offline-first app for heavy industries that seamlessly syncs field data with backend systems. Read more

View more customer stories >
 
CUSTOMER HIGHLIGHT

Integral Studio brings creative ideas to life

Digital management company uses Realm Platform to build innovative, reactive apps that bring musicians and their fans closer together. Read more

View more customer stories >
 
CUSTOMER HIGHLIGHT

Thread Learning brings education into the digital age

Realm Platform helps special education teams coordinate care by syncing data in real-time across multiple devices. Read more

View more customer stories >
 
CUSTOMER HIGHLIGHT

Arccos Golf ups its game with Realm

Arccos delivers a fast, responsive app experience with both online and offline availability for golfers around the world. Read more

View more customer stories >
 
Two‑way data sync, real‑time collaboration, offline‑first applications, API bridge, data push

World‑class apps have world-class features

The Realm Platform enables any development team, no matter the size, to include difficult-to-build features like two‑way data sync and realtime collaboration. Devote more time to what makes your app truly unique and less time to maintaining services.

Learn More

Realtime collaboration in as little as 10 lines of code

See the Realm Platform demo app in action and the developer experience

Play Video

Realm Platform

Deploy data sync for your mobile apps and creative reactive app experiences in as little as 10 lines of code. Realm Object Server and Realm Database combine to make the Realm Platform.

Learn More
// Authenticating the User
[RLMSyncUser logInWithCredentials:[RLMSyncCredentials credentialsWithGoogleToken:@"google token"]
                    authServerURL:[NSURL URLWithString:@"http://realm.example.com:9080"]
                     onCompletion:^(RLMSyncUser *user, NSError *error) {
  if (user) {
    // Opening a remote Realm
    NSURL *realmURL = [NSURL URLWithString:@"realm://realm.example.com:9080/~/userRealm"];
    RLMRealmConfiguration *config = [[RLMRealmConfiguration alloc] init];
    config.syncConfiguration = [[RLMSyncConfiguration alloc] initWithUser:user realmURL:realmURL];
    RLMRealm *realm = [RLMRealm realmWithConfiguration:config error:nil];
    // Any changes made to this Realm will be synced across all devices!
  } else if (error) {
    // handle error
  }
}];
// Authenticating the User
SyncUser.logIn(with: .google(token: "google token"),
               server: URL(string: "http://realm.example.com:9080")!)
{ user, error in
  if let user = user {
    // Opening a remote Realm
    let realmURL = URL(string: "realm://realm.example.com:9080/~/userRealm")!
    let config = Realm.Configuration(syncConfiguration: SyncConfiguration(user: user, realmURL: realmURL))
    let realm = try! Realm(configuration: config)
    // Any changes made to this Realm will be synced across all devices!
  } else if let error = error {
    // handle error
  }
}
// Authenticating the User
User user = User.login(Credentials.google("google token"),
                       "http://realm.example.com:9080/auth");
// Opening a remote Realm
String realmURL = "realm://realm.example.com:9080/~/userRealm";
SyncConfiguration config = new SyncConfiguration.Builder(user, realmURL).build();
Realm realm = Realm.getInstance(config);
// Any changes made to this Realm will be synced across all devices!
// Authenticating the User
Realm.Sync.User.registerWithProvider('http://realm.example.co:9080', 'google', googleAccessToken, (error, user) => {
  if (!error) {
    // Opening a remote Realm
    var realm = new Realm({
      sync: {
        user: user,
        url: 'realm://realm.example.co:9080/~/userRealm',
      }
    });
    // Any changes made to this Realm will be synced across all devices!
  }
})
var user = await User.LoginAsync(Credentials.Google("google token"),
                                 new Uri("http://realm.example.com:9080"));

var realmUrl = new Uri("realm://realm.example.com:9080/~/userRealm");
var config = new SyncConfiguration(user, realmUrl);

var realm = Realm.GetInstance(config);
// Any changes made to this Realm will be synced across all devices!

Realm Database

A better mobile database means better apps. Use the Realm Database to save data in minutes so you can build mobile apps in a fraction of the time. Our object database is a simple alternative to SQLite and Core Data and proudly open source.

Learn More
class Dog {}

Dog.schema = {
  name: 'Dog',
  properties: {
    name: 'string',
    age: 'int',
  }
};

let realm = new Realm();
realm.write(() => {
  realm.create('Dog', {name: 'Rex', age: 1});
});

let pups = realm.objects('Dog').filtered('age < 2');
@interface Dog : RLMObject
@property NSString *name;
@property NSInteger age;
@end
@implementation Dog
@end

Dog *dog = [Dog new];
dog.name = @"Rex";
dog.age = 1;

RLMRealm *realm = [RLMRealm defaultRealm];
[realm transactionWithBlock:^{
  [realm addObject:dog];
}];

RLMResults<Dog *> *allDogs = [Dog allObjects];
RLMResults<Dog *> *pups = [allDogs objectsWhere:@"age < 2"];
class Dog: Object {
  @objc dynamic var name = ""
  @objc dynamic var age = 0
}

let dog = Dog()
dog.name = "Rex"
dog.age = 1

let realm = try! Realm()
try! realm.write {
  realm.add(dog)
}

let pups = realm.objects(Dog.self).filter("age < 2")
public class Dog extends RealmObject {
  public String name;
  public int age;
}

Dog dog = new Dog();
dog.name = "Rex";
dog.age = 1;

Realm realm = Realm.getDefaultInstance();
realm.beginTransaction();
realm.copyToRealm(dog)
realm.commitTransaction();

RealmResults<Dog> pups = realm.where(Dog.class)
                               .lessThan("age", 2)
                               .findAll();
public class Dog : RealmObject 
{
  public string Name { get; set; }
  public int Age { get; set; }
}

var realm = Realm.GetInstance();
realm.Write(() => 
{
  realm.Add(new Dog
  {
    Name = "Rex",
    Age = 1
  });
});

var pups = realm.All<Dog>().Where(d => d.Age < 2);
Logos of companies using Realm, including Amazon, Google, Hipmunk, Starbucks, and more

Over 2 billion users rely on Realm

Trusted by Fortune 500 mainstays, innovative startups, and #1‑ranked app store successes, Realm is built into apps used by hundreds of millions of people every day.

Hand-curating content for your community

Our community pages help you discover what's new and important in your language. By recording talks at the top developer conferences and running local meetups and events, we're helping you spread knowledge of what works to make even better apps.

See why over 100,000 developers choose Realm


Start Building