License and Disclaimers
KeePassXC is licensed with the GNU General Public License Version 3. All copyrights and additional licenses are recorded in COPYING.
Disclaimer of Warranty
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. Except when otherwise stated in writing the copyright holders and/or other parties provide the program "as is" without Warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of Merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program Is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.
Limitation of Liability
In no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party Who modifies and/or conveys the program as permitted above, be liable to you for damages, including any general, Special, incidental or consequential damages arising out of the use or inability to use the program (including but not Limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of The program to operate with any other programs), even if such holder or other party has been advised of the possibility Of such damages.
Interface Overview
Application Layout
The KeePassXC interface is designed for simplicity and easy access to your information. The main database view is split into four main partitions detailed below. You can open multiple databases at the same time, they will appear in tabs.
(A) Groups – Organize your entries into discrete groups to bring order to all of your sensitive information. Groups can be nested under each other to create a hierarchy. Settings from parent groups get applied to their children. You can hide this panel on the View menu.
(B) Tags – Dynamic groups of entries that can be quickly displayed with one click. Any number of custom tags can be added when editing an entry. This panel also includes useful pre-defined searches, such as finding expired and weak passwords.
(C) Entries – Entries contain all the information you want to store for a website or application you are storing in KeePassXC. This view shows all the entries in the selected group. Each column can be resized, reordered, and shown or hidden based on your preference. Right-click the header row to see all available options.
(D) Preview – Shows a preview of the selected group or entry. You can temporarily hide this preview using the close button on the right hand side or completely disabled in the application settings.
| You can enable double-click copying of entry username and password in the Application Security Settings. This is turned off by default starting with version 2.7.0. |
Toolbar
The toolbar provides a quick way to perform common tasks with your database. Some entries in the toolbar are dynamically disabled based on the information contained in the selected entry. Every common action in KeePassXC can be controlled with a keyboard shortcut as well.
(A) Database – Open Database, Save Database, Lock Database
(B) Entries – Create Entry, Edit Entry, Delete Selected Entries
(C) Entry Data – Copy Username, Copy Password, Copy URL, Perform Auto-Type
(D) Tools – Password Generator, Application Settings
(E) Search
Application Settings
Users can configure KeePassXC to their personal tastes with a wide variety of general and security settings that apply to the whole application. These settings are accessible from Tools → Settings or the cog wheel icon from the toolbar. Settings include: startup options, file management, entry management, user interface, language, security timeouts, and convenience.
Setting the Theme
KeePassXC ships with light and dark themes specifically designed to meet accessibility standards. In most cases, the appropriate theme for your system will be determined automatically, but you can always set a specific theme by using the View menu. When a new theme is selected you will be prompted to restart KeePassXC to apply the theme immediately.
Compact Mode
For users with smaller screens or those who desire seeing more entries at once, KeePassXC offers a compact view mode. This mode shows smaller toolbar, group, and entry icons. The effect of compact mode (left side) can be seen below.
Screenshot Security
By default, KeePassXC prevents recordings and screenshots of the application window on Windows and macOS. This prevents inadvertent spillage of information during meetings and disallows other applications to capture the window contents. If you would like to enable screen capture, you must start the application with the --allow-screencapture command line flag.
Keyboard Shortcuts
On macOS please substitute Ctrl with Cmd (aka ⌘).
|
| Action | Keyboard Shortcut |
|---|---|
Settings |
Ctrl + , |
Open Database |
Ctrl + O |
Save Database |
Ctrl + S |
Save Database As |
Ctrl + Shift + S |
New Database |
Ctrl + Shift + N |
Close Database |
Ctrl + W ; Ctrl + F4 |
Lock All Databases |
Ctrl + L |
Database Settings |
Ctrl + Shift + , |
Database Reports |
Ctrl + Shift + R |
Quit |
Ctrl + Q |
New Entry |
Ctrl + N |
Edit Entry |
Enter ; Ctrl + E |
Delete Entry |
Delete |
Clone Entry |
Ctrl + K |
Copy Username |
Ctrl + B |
Copy Password |
Ctrl + C |
Copy URL |
Ctrl + U |
Open URL |
Ctrl + Shift + U |
Copy TOTP |
Ctrl + T |
Copy Password and TOTP |
Ctrl + Y |
Show TOTP |
Ctrl + Shift + T |
Trigger AutoType |
Ctrl + Shift + V |
Add key to SSH Agent |
Ctrl + H |
Remove key from SSH Agent |
Ctrl + Shift + H |
Minimize Window |
Ctrl + M |
Hide Window |
Ctrl + Shift + M |
Select Next Database Tab |
Ctrl + Tab ; Ctrl + PageDn |
Select Previous Database Tab |
Ctrl + Shift + Tab ; Ctrl + PageUp |
Select the nth database |
Ctrl + n, where n is the number of the database tab |
Toggle Passwords Hidden |
Ctrl + Shift + C |
Toggle Usernames Hidden |
Ctrl + Shift + B |
Focus Groups (edit if focused) |
F1 |
Focus Entries (edit if focused) |
F2 |
Focus Search |
F3 ; Ctrl + F |
Clear Search |
Escape |
Show Keyboard Shortcuts |
Ctrl + / |
Command-Line Options
You can use the following command line options to tailor the application to your preferences:
Usage: keepassxc.exe [options] [filename(s)] KeePassXC – cross-platform password manager Options: -?, -h, --help Displays help on commandline options. --help-all Displays help including Qt specific options. -v, --version Displays version information. --config <config> path to a custom config file --localconfig <localconfig> path to a custom local config file --lock lock all open databases --keyfile <keyfile> key file of the database --pw-stdin read password of the database from stdin --debug-info Displays debugging information. --allow-screencapture Allow screen recording and screenshots Arguments: filename(s) filenames of the password databases to open (*.kdbx)
Additionally, the following environment variables may be useful when running the application:
| Env Var | Description |
|---|---|
KPXC_CONFIG |
Override default path to roaming configuration file |
KPXC_CONFIG_LOCAL |
Override default path to local configuration file |
KPXC_INITIAL_DIR |
Override initial location picking for databases |
SSH_AUTH_SOCK |
Path of the unix file socket that the agent uses for communication with other processes (SSH Agent) |
QT_SCALE_FACTOR [numeric] |
Defines a global scale factor for the whole application, including point-sized fonts. |
QT_SCREEN_SCALE_FACTORS [list] |
Specifies scale factors for each screen. See https://doc.qt.io/qt-5/highdpi.html#high-dpi-support-in-qt |
QT_SCALE_FACTOR_ROUNDING_POLICY |
Control device pixel ratio rounding to the nearest integer. See https://doc.qt.io/qt-5/highdpi.html#high-dpi-support-in-qt |
Database Operations
Creating Your First Database
To start using KeePassXC, you need to first create a database that will store the password and other details.
To create a database, perform the following steps:
-
Open your KeePassXC application. Click the create new database button (A):
Figure 5. Create database – Welcome screen -
The database creation wizard appears. Enter the desired database name and a short description (optional):
Figure 6. Create database – General information -
Click Continue. The Encryption Settings screen appears, we don’t recommend making any changes besides increasing or decreasing the decryption time using the slider. Setting the Decryption Time slider at higher values means that the database will have higher level of protection but the time taken by the database to open will increase.
Figure 7. Create database – Encryption settings -
Click the Continue button. The Database Credentials screen appears, enter your desired database password. We recommend using a long, randomized password.
Figure 8. Create database – Database credentials(A) Open the password generator
(B) Toggle password visibilityKeep this password for your database safe. Either memorize it or note it down somewhere. Losing the database password might result in permanent locking of your database and you will not be able to retrieve information stored in the database. -
Click Done. You will be prompted to select a location to save your database file. The database file is saved on to your computer with the default
.kdbxextension. You can store your database wherever you wish, it is fully encrypted at all times preventing unauthorized access.
Opening an Existing Database
To open an existing database, perform the following steps:
-
Open your KeePassXC application. Click the Open existing database button (A) or select a recent database from the Recent Databases list (B).
Figure 9. Open an existing database -
Navigate to the location of the database on your computer and open the database file. The database unlock screen will appear:
Figure 10. Database unlock screen -
Enter the password for your database.
-
(Optional) Browse for the Key File if you have chosen it as an additional authentication factor while creating the database. Refer to the KeePassXC User Guide for more information on setting a Key File as an additional authentication factor.
-
Click OK. The database opens and the following screen is displayed:
Figure 11. Unlocked database
Quick Unlock
On Windows and macOS, subject to hardware availability, your credentials can be securely stored to enable subsequent unlocking of your database through biometric authentication. This is enabled by default on Windows using Windows Hello and on macOS using Touch ID or Apple Watch services. You can disable this feature in the Application Settings under the Security section.
| On Windows, you will be prompted to authenticate to Windows Hello after unlocking your database with full credentials. This is required to setup Quick Unlock. If you cancel this prompt then Quick Unlock will not be enabled and your database will continue to unlock. |
When your database is locked, you will see the following unlock dialog. Simply press Enter or click on Unlock Database to initiate the biometric authentication process. If you are using a hardware key (e.g. Yubikey), it must be connected to your computer to complete the unlock.
Expired Entries
By default, KeePassXC will show entries that are expired or will be expiring within 3 days after unlocking the database. This feature allows you to change your passwords before they expire and be aware of passwords that are no longer valid. You can disable or change this feature in the Application Settings.
Advanced Save Options
There are three ways that KeePassXC can handle database files. This behavior is set in the Application Settings under File Operations.
-
(Default) Safe saves create a temporary database file alongside the existing one and atomically move it into place when all writing is complete. This prevents database corruption in the case of application crashes, loss of power, or other interruptions.
-
Temporary file saves create a database in the temporary files folder. This database is then moved into place overtop of the existing file. Although rare, interruptions in this move process could leave your database in an unknown state. This option is useful for overcoming poorly behaved cloud sync tools.
-
Direct-write saves write directly to the existing database file. This is an unsafe operation since any interruption can leave your entire database inaccessible. We only recommend using this option when interfacing with Linux GVFS services (e.g. Google Cloud on Gnome) and other types of storage services that host a virtual drive system.
In addition to these save options, KeePassXC can create a backup of your existing database file just prior to saving. This backup will be saved at the path specified in the Backup destination field. This path can be absolute or relative. The latter will be resolved according to the databases path. It is possible to specify a custom naming scheme with placeholders. See Backup Path Placeholders for available placeholders and examples.
Adding an Entry
All the details such as usernames, passwords, URLs, attachments, notes, and so on are stored in database entries. You can create as many entries as you want in the database.
To add an entry, perform the following step:
-
Navigate to Entries > New Entry (Or, press Ctrl+N). The following screen appears:
Figure 14. Adding a new entry -
Enter a desired title for the entry, username, password, URL, and notes on this screen.
-
Your most frequently used usernames will automatically be available in the username drop-down menu. They will also auto-complete for you when typing.
-
You can generate a secure random password by clicking the dice icon in the password field to launch the password generator. Reveal the password by clicking the eye icon.
-
After you add a URL to an entry you can press the download button to automatically download the website’s icon for this entry.
-
-
(Optional) Add tags to the entry to quickly search for it using the tags panel on the main database view. You can easily add new tags or select existing ones from the drop-down list.
-
(Optional) Select the Expires check-box to set the expiry date for the password. You can manually enter the date and time or click the Presets button to select an expiry date and time for your password.
-
Click OK to add the entry to your database.
Editing an Entry
To edit the details in an entry, perform the following steps:
-
Select the entry you want to edit.
-
Press
Enter, click the edit toolbar icon, or right-click and select Edit Entry from the menu. -
Make the desired changes.
-
Click OK.
Adding TOTP to an Entry
Timed One-Time Passwords (TOTP) are a popular choice for two-factor authentication methods. These codes are typically six digits long and change every 30 seconds. They are derived from a shared secret value and the current time. Once set up, KeePassXC can calculate TOTP codes like any authenticator app, such as Google Authenticator. The codes can be used with copy/paste, browser extension, and Auto-Type.
| Your computer time must be synchronized with an internet time source to generate valid TOTP codes, read more here. |
| Storing TOTP codes in the same database as the password will eliminate the advantages of two-factor authentication. If you desire maximum security, we recommend keeping TOTP codes in a separate database that you only unlock when needed. |
To add TOTP to a database entry, you must first retrieve the secret string from the website or application you are authenticating to. Often this secret is accompanied with a QR code and can be copy/pasted below. Example:
Once obtained, right-click the desired entry (1), choose TOTP → Set up TOTP… (2), and the setup dialog will appear. In that dialog, paste the secret code from the website (3), setup any custom settings (rare) (4), then press OK to save the settings.
After an entry is configured with TOTP, you will see a clock icon in that entry’s row and have the ability to reveal the current code in the preview pane. Additionally, you can navigate to the entry’s TOTP menu to show the code in a separate window. You can also view the secret and configuration as a QR code for exporting to a mobile device. TOTP codes can be entered into forms with the browser extension, with Auto-Type by using the {TOTP} placeholder, or via menu options in the Auto-Type selection dialog.
Deleting an Entry
To delete an entry, perform the following steps:
-
Select the entry you want to delete and press the
Deletebutton on your keyboard. -
You will be prompted to move the entry to the Recycle Bin (if enabled).
You can disable the recycle bin within the Database Settings. If the recycle bin is disabled then deleted entries will be permanently removed from the database. -
To permanently delete the entry, navigate to the Recycle Bin, select the entry you want to delete and press the
Deletebutton on your keyboard.
Clone an Entry
Creating a clone of an entry provides you a ready-to-use template for creating new entries with similar details of a master entry.
To create a clone of an existing entry, perform the following steps:
-
Right-click on the entry for which you want to create a clone and select Clone Entry. Alternatively, select the desired entry and press
Ctrl+K.Figure 18. Clone entry from context menu -
The clone dialog will appear.
Figure 19. Clone entry dialog-
Select the Append ‘ - Clone’ to title check-box to create a new entry with the word Clone as the suffix to the name of the new entry.
-
Select the Replace username and password with references check-box to create the new entry where the username and the password fields contain the references to the username and password to the master entry.
-
Select the Copy history checkbox to copy the history of the master entry to the clone.
-
-
If you chose to replace username and password entries with references, then the new entry will point these fields to the original entry’s values. Changing the original entry will automatically change the resolved value of the cloned entry. This is useful if you have multiple accounts for the same service that use a similar username or password combination.
Figure 20. References in a cloned entry -
You can create your own references using the Entry Reference Syntax
Searching the Database
KeePassXC provides an enhanced and granular search features the enables you to search for specific entries in the databases using the different modifiers, wild card characters, and logical operators.
Modifiers and Fields
| Modifier | Description |
|---|---|
- |
Exclude this term from results |
! |
Exclude this term from results |
+ |
Match this term exactly |
* |
Term is handled as a regular expression |
The following fields can be searched along with their abbreviated name in parentheses:
-
Title (t)
-
Username (u)
-
Password (p, pw)
-
URL
-
Notes (n)
-
Attribute names and values (attr)
-
Attachment (attach)
-
Group (g)
-
Entry State (is:expired, is:weak)
Wild Card Characters and Logical Operators
| Wild Card Character | Description |
|---|---|
* |
Match anything |
? |
Match one character |
| |
Logical OR |
Sample Search Queries
The following tables lists a few samples search queries for your reference:
| Query | Description |
|---|---|
|
Searches the Username field for johnsmith and the URL field for www.google.com. |
|
Searches the Username field for john OR smith. |
|
Search the username field for exactly johnsmith, the URL must not contain www.google.com, and notes contains secret note [digit]. |
|
Searches all additional attributes for any name OR value equal to mystring123. |
|
Searches for all expired entries with weak passwords. |
Advanced Entry Options
Additional Attributes
A lot of applications and web sites now require providing additional information when you create accounts. The additional information is used to block hackers if any suspicious activity is detected. In addition, the additional information you provide can be used to reset passwords if you forget them. You can also store arbitrary information here that can be copied to the clipboard or Auto-Typed using the {S:<ATTR_NAME>} action code.
To protect an attribute from being displayed by default, activate the Protect checkbox (A). To show the contents of the attribute while keeping it protected, press the Reveal button (B).
Attachments
You can attach files to any entry in your database by pressing the Add button (A). These files are added to the database and stored as encrypted binaries. You can open, save, or delete attachments from this interface (B).
| When you try to open the attached file, KeePassXC extracts the attachment to a temporary file and opens it using the default application associated with the file type. After finishing viewing or editing the file, you can choose between importing or discarding the changes that you made to the temporary file. KeePassXC securely deletes the temporary file by overwriting it. |
Foreground and Background Color
You can change the foreground (A) and/or background (B) color that this entry will use in the entry lists. Click the corresponding box to open the color picker dialog.
Icons
You can select an icon to be displayed with each entry for easy identification. KeePassXC comes with a set of default icons that you can use or you can use your own custom icons. If you defined a URL with an entry, you can also download the favorite icon for that particular website.
| To delete a custom icon, go to Database Maintenance where you can purge unused icons and delete one or more icons at a time. |
| Each KeePass application has different default icons. If you use a mobile app or KeePass2, be aware that the default icons may not be exactly correspond to the KeePassXC icons. |
Properties
KeePassXC lets you view the basic properties such as date and time of creation, modification, and when last accessed. This is also where you can retrieve an entry’s UUID for use in references.
History
KeePassXC maintains a history of changes you make to your entries. Each time you change an entry, KeePassXC automatically creates a backup copy of the current, non-modified entry before saving the new values. You can view the changes you made previously, restore, and delete the history of changes you made. The age of the history item, the changes that were made, and the entry’s size are shown in the table view.
-
Show: Display this history item for review, a read-only copy of the entry will be shown.
-
Restore: Reinstate the selected history item as the active entry details.
-
Delete: Delete the selected history item.
-
Delete All: Delete the entire history for this entry.
| Restoring an old history item will store the current entry settings as a new history item. |
Automatic Database Opening
You can setup one or more databases to open automatically when you unlock a single database. This is done by (1) defining a special group named AutoOpen with (2) entries that contain the file path and credentials for each database that should be opened. There is no limit to the number of databases that can be opened.
Case matters with auto open, the group name must be exactly AutoOpen and it must be a child of the root group.
|
To setup an entry for auto open perform the following steps:
-
Create a new entry and give it any title you wish.
-
If your database has a key file, enter its absolute or relative path in the
usernamefield. -
If your database has a password, enter it in the
passwordfield -
Enter the absolute or relative path to the database file in the
urlfield. You can also use the{DB_DIR}placeholder to reference the absolute path of the current database file. -
To restrict auto open to particular devices, go to the advanced category and enter the following:
-
Create a new attribute named
IfDevice. -
Enter hostnames in a comma separated list to define computers that will open this database.
-
Prepend an exclamation mark (
!) to explicitly exclude a device. -
Examples:
LAPTOP, DESKTOPwill auto open on a computer named LAPTOP or DESKTOP.!LAPTOPwill auto open on all devices not named LAPTOP.
-
You can setup an entry to open on double click of the URL field by prepending kdbx:// to the relative or absolute path to the database file. You may also have to add file:// to access network shares (e.g., kdbx://file://share/database.kdbx).
|
Database Settings
At any point of time, you can change the settings for your database. To make changes to the general settings, perform the following steps:
-
Navigate to Database → Database settings. The following screen appears:
Figure 29. Database settings -
Click the General button in the left-hand menu bar to access the following settings:
-
Database name: This is the default identifier for your database and is shown in the tab bar and title bar (when active). You can change this name as desired.
-
Database description: Provide some meaningful description for your database.
-
Default username: Provide a default username for all new entries that you create in this database.
-
Max history items: This is the maximum number of history items that are stored for each entry. When you set this to 0, no history will be saved. Set this value to a low value to prevent the database from getting too large (we recommend no more than 10).
-
Max. history size: When the history of an entry gets above this size, it is truncated. For example, this happens when entries have large attachments. Set this value small to prevent the database from getting too large (we recommend 6 MiB).
-
Use recycle bin: Select this check-box if you want deleted entries to move to the recycle bin instead of being permanently removed. The recycle bin will be created if it does not already exist after your first deletion. To delete entries permanently, you must empty the recycle bin manually.
-
Enable compression: KeePassXC databases can be compressed before being encrypted. Compression reduces the size of the database and does not have any appreciable affect on speed. It is recommended to always save databases with compression.
-
-
Click the Security button in the left-hand menu bar to change your database credentials and change encryption settings.
Figure 30. Database security -
Here you can change your database password or add/remove additional credentials to protect your database. KeePassXC supports adding a randomly generated, static key file and hardware keys such as YubiKey and OnlyKey. To add a key file, click Add Key File and either browse for an existing file or generate a new one (A). To add a hardware key, click Add YubiKey Challenge-Response, plug in your hardware key, then click refresh (B).