Docs Menu

Welcome to The MongoDB Docs

MongoDB is a document-oriented, operational database built from the ground up as an alternative to the relational database for modern applications. Unlike relational databases, MongoDB allows developers to store rich JSON-like documents that map naturally to the objects they use in their code:

{
first name: "Bob"
lastname: "Smith"
email: "bob@smith.com"
address: {
street: "100 Main St"
city: "Anytown"
state: "MO"
zip: "11111"
}
}

Which you can retrieve with queries such as this:

users.find({ address.zip : "11111"})

MongoDB also offers

  • Strong consistency with ACID transactions.

  • Modern additional built-in query capabilities such as geo search, lexical search, and vector search.

  • Serverless horizontal scaling with geo-aware fault tolerance across all major clouds.

  • Security primitives that allow MongoDB to operate in the most demanding of enterprise environments.

Homepage illustration
Atlas icon

MongoDB Atlas →

The modern multi-cloud database that accelerates and simplifies how you build with data.

MongoDB Database Manual

Database Manual →

Learn core MongoDB concepts, including data modeling, querying data, aggregations, sharding, and more.

Migrators, Tools, and Connectors

Migrators, Tools, and Connectors →

Explore tools and integrations for MongoDB, from data visualization and development to migration and management.

Client libraries icon.

Client Libraries →

Connect your application to your database with one of the official MongoDB libraries.

Take Free Courses on MongoDB University

Join Forums and Discussions

View Developer Resources