Skip to main content
Version: v2.0 RC

Introduction

FerretDB is an open-source alternative to MongoDB. It is a proxy that converts MongoDB 5.0+ wire protocol queries to SQL and uses PostgreSQL with DocumentDB extension as a database engine.

Why do we need FerretDB?

When MongoDB was initially created, it represented a welcome change from traditional relational databases with its ease of use and well-documented drivers that made it a popular choice among developers. However, as MongoDB moved away from its open-source roots to SSPL license, it introduced licensing complexities that made it unsuitable for many open-source and early-stage commercial projects.

FerretDB was created as an alternative to MongoDB – one that is easy to use (with familiar language and commands) and free from licensing restrictions. This makes it suitable for developers and organizations that need an open-source document database with MongoDB compatibility.

Scope and current state

FerretDB is compatible with MongoDB drivers and can be used as a direct replacement for MongoDB 5.0+. We are constantly adding features to increase compatibility based on user feedback. As with any database, before moving to production, please verify if it is suitable for your application.

See our public roadmap, a list of known differences with MongoDB, and contributing guidelines.

Community

If you want to contact FerretDB Inc., please use this form.