Stop Clipboard Manager from Saving Passwords
In this article
Clipboard managers are handy tools that store everything you copy, but that convenience becomes a liability when they quietly save passwords, credit card numbers, and other private text. This guide shows you how to configure popular clipboard managers to ignore sensitive data, so you keep the clipboard history feature without the security risk. You'll need access to your clipboard manager's settings and, in some cases, the ability to edit a configuration file.
What You'll Need
- Your clipboard manager installed and running (e.g., Ditto, ClipClip, CopyQ, or the built-in Windows clipboard history).
- Administrator rights on your computer (to change settings that affect all users, if needed).
- Optional: A text editor like Notepad or VS Code to edit configuration files.
Step-by-Step
- Open your clipboard manager's settings. Right-click the clipboard manager's icon in the system tray (near the clock) and select Options, Settings, or Preferences. For Windows built-in clipboard history, press Win + V and click the ellipsis (…) in the top-right corner, then choose Settings.
- Look for a “filter” or “ignore” section. Most clipboard managers have a way to exclude certain apps or content types. In Ditto, it's under Filters; in ClipClip, it's under Rules; in CopyQ, it's under Commands or Configuration. If you don't see such a section, check the documentation or move to step 4.
- Add a filter for password fields. If your clipboard manager can filter by window class or application, add an entry to ignore all copies made from your password manager (e.g., LastPass, 1Password, Bitwarden) or from your browser's password field. For example, in Ditto, create a new filter with the rule
Application = 'chrome.exe'andWindow Text contains 'password'(if supported). - Enable “clear on copy” or “don't store” for sensitive apps. Some managers let you set a hotkey to copy without saving. For instance, in CopyQ, you can create a command that copies text but prevents it from being stored. Alternatively, use a third-party tool like CopyQ's “Temporary item” feature to copy sensitive text without saving it to history.
- Use a password manager's built-in clipboard clearing. Most password managers have a setting to automatically clear the clipboard after a few seconds. Enable this in your password manager's settings. This doesn't stop the clipboard manager from capturing the text, but it reduces the window of exposure.
- Edit the configuration file manually (if needed). For advanced users, locate the clipboard manager's config file. For Ditto, it's
Ditto.db(a SQLite database) and you can use a SQLite editor to add a filter. For CopyQ, the config is in~/.config/copyq/copyq.ini. Add a line likeignore_clipboard_data = trueif the option exists. Refer to the specific manager's documentation for exact syntax. - Test the filter. Copy a password from your password manager or type a fake password into a form and copy it. Check your clipboard history to see if it was captured. If it was, adjust the filter rules.
- Clear existing history. After setting up filters, clear the current clipboard history to remove any previously saved sensitive data. Right-click the tray icon and choose Clear History or similar.
Common Mistakes
- Filtering by app name only: Many users filter by the browser name (e.g., Chrome), but that blocks all copies from the browser, not just passwords. This defeats the purpose of a clipboard manager. Instead, filter by window title or use a more specific rule.
- Ignoring the clipboard manager's own hotkey: Some managers have a “copy without saving” hotkey, but users forget to use it. Make sure you know the hotkey and use it for sensitive text.
- Not updating filters after a password manager update: If your password manager changes its window class or process name, the filter stops working. Regularly review your filters.
- Assuming the built-in Windows clipboard history is safe: Windows clipboard history (Win+V) also stores passwords if you copy them. You must disable it or use a filter (though Windows doesn't offer filters, so you need to disable it entirely).
Tips
- Use a dedicated password manager: Password managers like Bitwarden or KeePass have built-in auto-clear and can be configured to not even put the password on the clipboard (some use direct typing).
- Set a short clipboard history retention time: If your clipboard manager allows, set the history to clear every few minutes. This limits the damage if a password is captured.
- Use a virtual keyboard for extremely sensitive data: For critical passwords, consider typing them manually or using your password manager's “type” feature that simulates keystrokes, bypassing the clipboard entirely.
- Regularly audit your clipboard history: Every week or so, open your clipboard manager and delete any entries that look sensitive.
Troubleshooting
Filter not working: If the filter doesn't catch the password, check the filter's regex or matching logic. Test with a simple rule like “ignore all copies from app X” to see if the app is correctly identified. If not, use a different method like the “copy without saving” hotkey.
Clipboard manager still saves after clearing history: Some managers save to disk immediately. Make sure you've cleared the database file (e.g., Ditto.db) or the history file in the config folder. Also, check if the manager has a “sync” feature that re-imports old items.
Can't find the settings: Some clipboard managers have a minimal UI. Check the official documentation or search online for “
Built-in Windows clipboard history can't be filtered: Windows doesn't offer app-based filters. The only option is to disable clipboard history entirely (Settings > System > Clipboard > turn off “Clipboard history”). If you need history, use a third-party manager with filters.
Frequently Asked Questions
Q: Can I make my clipboard manager never store anything from my password manager?
A: Yes, by adding a filter rule that ignores copies from the password manager's process or window. Most managers support this.
Q: Does disabling clipboard history in Windows stop third-party managers?
A: No, third-party managers have their own storage. You need to configure each one separately.
Q: Is it safe to use a clipboard manager at all?
A: Yes, if you configure it properly. The risk comes from unmonitored storage of sensitive data. With filters and auto-clear, you can minimize it.
Q: What if my clipboard manager doesn't have a filter feature?
A: You can use a different manager that does, or use a “copy without saving” hotkey if available. Alternatively, use a password manager that types directly without using the clipboard.
Q: How do I clear the clipboard history in Windows 11?
A: Go to Settings > System > Clipboard, and click “Clear” under “Clear clipboard data.” This clears the built-in history, but not third-party managers.
Q: Will these steps work on macOS clipboard managers?
A: Yes, most macOS managers like Paste or Flycut have similar filtering options. The exact menu names differ, but the concept is the same.