Docs Menu

MongoDB with C

Build performant applications in MongoDB’s Atlas cloud database with the support of MongoDB’s C driver.

Get started with the MongoDB C Driver
C landing page hero image

The MongoDB C Driver consists of two libraries, libbson and libmongoc. The libbson library supports working with BSON documents, and the libmongoc library comprises the driver, which connects your C application to MongoDB.

Driver card icon

libbson

Provides an API to support building, parsing, and converting BSON documents, the native data format of MongoDB.

Driver card icon

libmongoc

Provides an API for working with MongoDB databases consistent with other MongoDB language drivers.

DevHub icon

View C developer resources

C Resources →

Learn icon

Take the Getting Started with C course

Learn about C and MongoDB →

Community icon

Join forums and discussions

MongoDB Community →