Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
Self-host KeeWeb
updated Aug 2026deployed by usprices checked · Jul 2026Install verified on Ubuntu 26.04 · Nov 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →
A self-hostable web and desktop client for KeePass kdbx vault files — not a sync server. You host a single-page app behind your own domain and point it at a vault stored on local disk, WebDAV, or a cloud drive, so there is no database and no account system to run.
KeeWeb solves a different problem from everything else in this category, and getting that straight is the whole decision: it is a client, not a server. It opens KeePass kdbx files that you already keep on disk, WebDAV, or a cloud drive, and it stores nothing itself — no accounts, no server-side vault, no sync of its own. Self-host it when you are already committed to the kdbx format and want a good browser and desktop client on your own domain instead of someone else's. If what you actually want is a vault your devices sync through, none of this applies and Vaultwarden is the pick.
What you need
Any VPS with at least 256 MB of RAM
A domain you control — most self-hosted setups need HTTPS in front of them
Paid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# KeeWeb — official container, serves the app over HTTPS on 443docker run -d --restart=unless-stopped -p 443:443 \ --name keeweb -v ${PWD}/keeweb:/config \ ghcr.io/keeweb/keeweb:latest# No database — your kdbx file lives on disk, WebDAV, or a cloud drive
It is the cheapest thing here to run, which makes it easy to overlook what you're taking on:
non-negotiableNo stable release since 2021. Commits still land and newer tags exist, but they are marked as prereleases, so the last release upstream actually calls stable is years behind the code a latest container pulls. Read the repository's recent activity yourself before you put it in front of your only vault, and pin whatever you deploy.
non-negotiableSync is entirely your storage backend's problem. KeeWeb reads and writes one file, so concurrent edits from two machines are a conflict it cannot resolve for you — whatever WebDAV share or cloud drive holds the kdbx is your sync layer, your versioning, and your backup, and none of that comes with the app.
non-negotiableYou own the integrity of the app you serve. Decryption happens in the browser, so anyone who can alter the JavaScript you're serving can read what your users unlock. Put it behind TLS, restrict who can write to the container's files, and treat the hosting itself as security-relevant rather than as a static site.
KeeWeb used 7 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.8.1 (first boot, measured Sep 2026). We list a minimum of 256 MB.
Is the KeeWeb install snippet verified?
The KeeWeb install snippet is marked verified on Ubuntu 26.04 (Nov 2026).
Is KeeWeb a self-hosted password server?
No — KeeWeb is a client, and that distinction matters before you deploy it. It opens and edits existing KeePass kdbx files (or creates new ones), but it stores nothing itself: there is no user database, no sharing model, and no server-side vault. Self-hosting KeeWeb means hosting the app, not your passwords.
Where does KeeWeb store my vault?
Wherever you point it: a local file you open in the browser, a WebDAV share, or a cloud drive such as Dropbox, Google Drive, or OneDrive. Sync is whatever that storage backend already does, so two people editing the same kdbx concurrently is on you to avoid.
Can I use KeeWeb with KeePass and KeePassXC?
Yes — it reads and writes the standard kdbx format, so the same file works across KeeWeb, KeePass, and KeePassXC. That is the main reason to pick it: it is a nicer front end for a vault format you may already be committed to.
How much does it take to run KeeWeb?
Very little — the container is a static web app plus a service worker for offline use, so a 256 MB box is comfortable and the smallest VPS tier will do. Put it behind TLS anyway, since it handles vault contents in the browser.