# Mongonaut: Self-Hosted MongoDB Web GUI

## Overview

---

## Pages

- [Overview](https://mongonaut.org/about-mongonaut)
- [Installation](https://mongonaut.org/installation)
- [Docker setup](https://mongonaut.org/mongodb-gui-docker)
- [mongo-express Alternative](https://mongonaut.org/mongo-express-alternative)
- [phpMyAdmin for MongoDB](https://mongonaut.org/phpmyadmin-for-mongodb)
- [MongoDB Compass Alternative](https://mongonaut.org/mongodb-compass-alternative)

### Compare

- [Mongonaut vs mongo-express](https://mongonaut.org/compare/mongonaut-vs-mongo-express)
- [Mongonaut vs MongoDB Compass](https://mongonaut.org/compare/mongonaut-vs-mongodb-compass)

### Guides

- [Migrate from mongo-express](https://mongonaut.org/guides/migrate-from-mongo-express)
- [Read-only configuration](https://mongonaut.org/guides/read-only-configuration)
- [Troubleshooting](https://mongonaut.org/guides/troubleshooting)

### Security

- [Authentication](https://mongonaut.org/security/authentication)
- [Cloudflare Zero Trust Tunnel](https://mongonaut.org/security/zero-trust-tunnel)

### Community

- [FAQ](https://mongonaut.org/community/faq)
- [Contributing](https://mongonaut.org/community/contributing)

---

![Mongonaut database browser screenshot](https://cdn.zupost.com/wiki-images/iMTjXuOgyKgCzx3LP2OWXbXA0BSn2xpA/940f6374-8ee4-41ca-84a8-5889ecd35f60/2026-05-08-11-40-55-96cf2029.webp "Mongonaut MongoDB web GUI database browser")

# A modern, self-hosted web GUI for MongoDB

Mongonaut is a MongoDB web interface that runs as one container next to your database. Your team opens a URL instead of installing a desktop client, and there is no hosted service or vendor account in between.

![screenshot](https://cdn.zupost.com/wiki-images/iMTjXuOgyKgCzx3LP2OWXbXA0BSn2xpA/940f6374-8ee4-41ca-84a8-5889ecd35f60/screenshot-5cfb1699.webp "screenshot.webp")

<BookShelf>
<Book title="Get started" href="/installation" color="#A66D2B" icon="rocket" />
<Book title="Docker setup" href="/mongodb-gui-docker" color="#184E77" icon="fab:docker" />
<Book title="Compare tools" href="/compare/mongonaut-vs-mongodb-compass" color="#240021" icon="scale-balanced" />
<Book title="View on GitHub" href="https://github.com/withzu/mongonaut" color="#0FBF3E" icon="fab:github" />
</BookShelf>

## What you can do

- Browse databases and collections with sizes and document counts.
- Filter, sort and aggregate with MongoDB queries and pipelines.
- Edit documents as Extended JSON, so ObjectIds, dates and 64 bit integers keep their types.
- Import and export JSON, and manage indexes and collections.
- Decide who may do what: built in accounts with per database and per collection grants, OpenID Connect, a shared password, or a global read only mode.

## Run it

```bash
docker run -it --rm \
  -p 8081:8081 \
  -e MONGO_CONNECTION_URL="mongodb://mongo:27017/" \
  -e MONGONAUT_AUTH_SECRET="$(openssl rand -base64 32)" \
  ghcr.io/withzu/mongonaut
```

Open `http://localhost:8081/setup` and create the first administrator. The hostname `mongo` only resolves if both containers share a Docker network, see [Docker setup](/mongodb-gui-docker) for a complete Compose file.

## Where it fits

Mongonaut is for teams that run MongoDB in Docker or on a private network and want one shared interface for it. Everyone uses the same URL and the same version, and grants decide who can write.

If you are replacing mongo-express, read the [alternative guide](/mongo-express-alternative). If you are weighing it against a desktop client, see [Mongonaut vs MongoDB Compass](/compare/mongonaut-vs-mongodb-compass).

## Before you expose it

The interface can modify production data. Keep the default account login, or put it behind a VPN or an access gateway such as [Cloudflare Zero Trust](/security/zero-trust-tunnel). Details are in [Authentication](/security/authentication).

*A [The Zu Company](https://thezucompany.com) Product.*
