Browser-based PBKDF2 Utility
Start typing a password and the hash will be generated automatically. You can adjust the iteration count to match your Odoo configuration.
Reference
The Odoo documentation explains how to reset the master password, but doing it in the UI can expose the database manager on production systems. Use either the browser tool above or Python with Passlib instead.
Python alternative
Use passlib to generate the hash offline:
uv run --with passlib python
from passlib.hash import bcrypt
bcrypt.hash("mypassword")