Offline Editing (management of writeable vault items)

First, thank you for building such a robust and secure password manager. Bitwarden continues to impress with its transparency and feature set.

One important feature that would significantly improve usability is full offline support. Currently, when the app is used without internet connectivity, functionality is limited to read-only mode. This creates challenges in restricted or offline environments, where creating, editing, or deleting vault items becomes impossible.

Enabling a true offline mode with full vault editing capabilities would bring Bitwarden in line with other leading password managers and greatly enhance usability in low- or no-connectivity scenarios.

Many users - including myself - would benefit greatly from the ability to manage vault items offline. Once connectivity is restored, the app could automatically sync any changes with the Bitwarden servers, ensuring consistency without compromising security.

Thank you for considering this feature.

@bw-rocks I moved your post into the existing feature request to the same topic.

1 Like

Dear Bitwarden support,

I read this whole thread, but unfortunately I haven’t found an answer for my particular use-case yet. So I hope that you might have some ideas.

I’m running the Bitwarden unified self-hosted deployment on my Raspberry Pi 4 at home which works like a charm. I’ve been travelling for three months now and although I had some doubts at the beginning, I never got logged out within Bitwarden’s Android app, i.e. I could use it without any issues :ok_hand:t2:
What I’ve been missing, however, is the possibility to create a new vault entry while being offline during my vacation. Instead, I had to use a temporary KeePass file and do all the stuff manually after coming back home :face_with_diagonal_mouth:

I don’t have any sophisticated needs, I’m more on the very basic end of Create a very new vault entry or edit an existing one, and sync it when being online again back home. In my case, there won’t be any sync conflicts (since nobody else is at home and can change the online vault entry meanwhile :wink:), etc. A simple “last one wins” approach would be totally sufficient.

As a software developer I’m fully aware that the whole topic of replication and synchronization is a beast on it’s own when looking at it with a holistic approach. So you probably have a lot of things to take into account.
Nonetheless, I’d like know what you’d suggest in this case. The very important thing for me is that everything happens offline, i.e. I neither want to temporarily move my passwords into the cloud nor I want to expose my Raspberry Pi (hosting Bitwarden at home) to the internet.

Thank you and best regards!

Very friendly ping :heart_hands:t2::wink: maybe someone can raise the awareness of somebody from the Bitwarden team to answer my question :index_pointing_up:t2:

Yeah I don’t see the logic for this. If you want to be able to do everything offline, then don’t use an online password manager. Simple.

There are valid use-cases for the proposed functionality, and if you (or anybody else) is confused about the rationale for this feature request, you can read through the thread to find various examples that have been provided.

You’re correct, I was a bit hasty in my post and hadn’t read everything in the thread. I’ll do better.

1 Like

+1 vote for this functionality!
Offline editing is a must have - there are many situations where network access to the outside world is not possible.
Thank you!

As I really would like to see this feature come to live I implemented the server side and submitted a PR to the Bitwarden team. Currently waiting for a reply what the team thinks of my approach. Really would like to bring offline editing to everyone here :slight_smile:

11 Likes

Now that bitwarden login servers are down, I can’t edit my passwords, this is why such a basic functionality must be implemented.

1 Like

I support this request.

I’d also like Bitwarden to allow creating and editing vault items while offline, especially in the Browser Extension and Android app. Changes could be stored locally in encrypted form and automatically synchronized when a connection becomes available.

I understand that certain actions would still require an internet connection and that users shouldn’t expect everything to work offline (for example, logging out and back in, account-related operations, or other server-dependent actions). However, being able to save and update vault items offline would make Bitwarden much more useful in situations with limited or no internet access.

I’m also curious whether there are specific technical or security challenges that have prevented this feature from being implemented so far.

1 Like

The only problem I can see is synchronizing — how to handle multiple people updating/creating an item. The user ID’s would — by definition — be identical with possible password differences, Resolution would have to be that the first to reconnect, “wins” unless the item was updated online after the offline update.

If multiple creations were present with different ID’s, then create each entry with the ID appended to the name?

I think conflicts can be handled without forcing users to resolve them immediately.

When syncing, if Bitwarden detects that the same item was changed both offline and online, it could keep both versions instead of choosing a winner. The online version would remain in the vault, and the offline version would be saved as a conflict copy.

These conflicts could be listed in a separate “Conflicts” section, allowing users to review and resolve them later when convenient.

This would prevent data loss, avoid interrupting the sync process, and remove the need for a “first reconnect wins” approach.

The problem is - do they share the same UUID? How does programmatic access work?

It sounds easy for personal vaults. But I don’t think it’s that easy with organizational vaults, and let’s just say for example 200 users have write access to a vault item and could have changed something. This certainly has to be considered as well.

No, UUIDs don’t get shared or duplicated across contexts. Each vault item keeps a single unique UUID. The difference is in scope: in personal vaults it’s single-user ownership, while in organizational vaults multiple users can access and modify the same item through that same UUID, controlled by permissions.

Many self-hosting users like myself use vpns like tailscale to access their home servers remotely (like their bitwarden server). However I don’t like leaving my vpn connection on constantly as it drains a lot of battery on android. So I only connect when a new password was added on the server that I need, etc. (Or when I get home)

Currently when you cannot reach your server, offline viewing of passwords and notes works great. However when you try to save something you get a timeout error when the client tries to save to the server.

It would be ideal if it gets placed in a queue of some kind to be added to the server when the client next connects instead of erroring out. Alternative implementations to achieve the same functionality is welcome.

2 Likes

@frightenedwolf Welcome to the forum!

I’ve merged your request with this existing feature request on the same topic.

Okay, so I have 2 or more users that have edited an item while offline - how do I distinguish them programmatically? Do we now have change history for all fields? Which does a program accessing them use? Who gets notified to resolve the conflict? Who has permission to resolve the conflict?

None of these are intractable, but they’re also not trivial either and can make for a terrible UX.

As I mentioned, the best approach is ‘last-write-wins’ (where the newest entry is kept, while older ones are ignored or moved to history), all based on the timestamp of the password stored offline

1 Like