Password managers are the safest way to keep track of your passwords, as they allow you to use stronger passwords without needing to memorize anything.
KeePass is a free open source password manager, which helps you to manage your passwords in a secure way. You can store all your passwords in one encrypted database, which is locked with a master key. So you only have to remember one single master key to unlock the whole database.
Bitwarden is a free and open-source password management service that stores sensitive information such as website credentials in an encrypted vault. Bitwarden offers a cloud-hosted service as well as the ability to deploy the solution on-premises.
KeePassXC can store your passwords safely and auto-type them into your everyday websites and applications. It is an open source and community fork of KeePassX, the cross-platform port of KeePass. The complete database is always encrypted.