Clipboard history and passwords: staying private

Clipboard histories can capture passwords you copy. How password managers mark items as concealed, what a careful clipboard app skips, and habits that keep copies private.

On this page
  1. Why the clipboard is a privacy risk
  2. How password managers protect copies
  3. What a careful clipboard app should do
  4. How OneNotch handles it
  5. Habits that help
  6. FAQs

Anything you copy goes on the clipboard, including passwords, one-time codes and private messages. A clipboard history can keep those long after you've pasted them. To stay private, use a clipboard app that skips items password managers mark as concealed, keeps history in memory rather than on disk, and lets you clear it. Then build a few habits around copying secrets.

Why the clipboard is a privacy risk

On its own, the Mac clipboard holds one item, and it's replaced the next time you copy. The risks come from things that read or keep it:

  • Clipboard history apps save every copy, so a password copied this morning may still be in the list tonight.
  • Any running app can read the current clipboard.
  • Universal Clipboard makes the item available on your nearby Apple devices for a short time.
  • Screen sharing can expose a history window if you open it during a call.

How password managers protect copies

Password managers on the Mac usually mark what they copy with special pasteboard types. The most common is a concealed marker defined by the community convention at nspasteboard.org; there are also markers for transient items and items generated automatically. A well-behaved clipboard history checks for these markers and doesn't record the item.

Many password managers also clear the clipboard after a short delay. Check the setting in yours; it limits how long a copied password sits in the system clipboard.

What a careful clipboard app should do

BehaviourWhy it matters
Skips concealed, transient and auto-generated itemsPassword-manager copies never enter the history
Recognises known password-manager typesCovers apps that use their own markers
Keeps history in memory, not on diskNothing is left behind in files or backups
Doesn't sync or uploadCopies don't leave the Mac
Lets you clear and turn off historyYou stay in control after sensitive work

How OneNotch handles it

OneNotch's clipboard history, on its Shelf screen, was built around these rules:

  • It never records items marked org.nspasteboard.ConcealedType, TransientType or AutoGeneratedType, or the types known password managers use, such as 1Password's. Its settings name 1Password, Bitwarden and Keychain Access as examples.
  • History is memory only: never written to disk, erased when OneNotch quits, and never synced or uploaded.
  • Settings → Clipboard has Keep clipboard history (turn it off entirely) and Clear clipboard history.
  • On the Shelf, Delete removes a single item.

More in clipboard history on Mac and in OneNotch's privacy policy.

Habits that help

  1. Use autofill where you can. Filling a password directly into a sign-in form avoids the clipboard entirely.
  2. Paste once, then copy something harmless, so the secret doesn't sit on the clipboard. See how to clear the clipboard on Mac.
  3. Don't copy secrets from plain notes or chats. Those copies aren't marked as concealed, so clipboard histories will record them. Delete them from the history afterwards.
  4. Close clipboard windows before sharing your screen, or share a single window.
  5. Review your history now and then, and clear it after handling anything sensitive.

FAQs

Will a clipboard manager save my passwords?

A careful one skips items password managers mark as concealed. Passwords copied from elsewhere, such as a text file, aren't marked and may be saved.

Does macOS clear the clipboard on its own?

Not on a timer. The clipboard is replaced when you copy something new and emptied when you restart or log out.

Is clipboard history encrypted?

OneNotch keeps its history in memory only and never writes it to disk, so there's no stored file. It's erased when the app quits.

Can other apps read my clipboard?

Apps you run can read the current clipboard. That's another reason to keep secrets on it for as short a time as possible.