What is Relational Migrator
MongoDB Relational Migrator is a free tool to help you migrate data from a relational database to MongoDB. With Relational Migrator, you can:
Transform your data
Define a new MongoDB schema for your data, or start with a recommended one and customize it to suit your needs.
Easily migrate to MongoDB
Migrate data from popular relational databases like Oracle, SQL Server, MySQL, PostgreSQL, and others to MongoDB Atlas or a self-managed deployment.
Generate application code
Get MongoDB-compatible code for entity classes, persistence layers, and APIs.
Convert SQL database objects with Generative AI
Convert SQL queries, procedures, and views -- then, validate them.
Migrate Your Relational Workloads to MongoDB
Design Your New Schema
Use the Mapping screen's entity-relationship diagrams to define a new schema, or start with a recommended schema and customize it. Define new fields, split or merge table data, or denormalize foreign key relationships as embedded documents and arrays.
Apply Custom Mapping Rules
Use custom mapping rules to denormalize your relational schema, or incorporate multiple tables into a single MongoDB collection for improved data access and query performance.
Migrate From Your Relational Database
Migrate data from relational databases like Oracle, SQL Server, MySQL, PostgreSQL, and others to MongoDB Atlas or a self-managed deployment.
Select a Language and Framework
Choose from languages like C#, Java, and JavaScript. Code generation templates support JSON output and common application frameworks like Spring Data, Node, Mongoose, and more.
Use Generative AI to Convert SQL Database Objects
Convert SQL queries, views, and stored procedures into MongoDB-compatible code for C#, Java, or JavaScript.
Go Further with MongoDB
Explore libraries and tools for MongoDB.
Use MongoDB in your application’s language
Visually explore your data with MongoDB Compass
Manage and monitor your deployments