“I literally just copied that.”
You copied an address, then copied a name to go with it, and the address is gone. Now you’re switching windows to find it again.
Copy it once.
Find it again.
Press ⌘⇧Space and search what you’ve copied: text, links, and the words inside screenshots. Your history stays on your Mac.
Installing with Claude Code or Codex? See it
No account. No subscription. Stored on your Mac.
Try searching, pinning, or previewing a sample clip.
A customer asks where their order is. You copied the tracking link at 12:40, meaning to send it later. Since then you’ve copied a Git command, a hex color, a reply from Slack, and a screenshot of an error.
Your Mac kept one of those: the screenshot. So you dig back through Mail for the shipping email, again, and copy the link a second time.
With On Hand, you press ⌘⇧Space, type “ups”, press Return, and paste. The link was there the whole time, along with everything else you copied that afternoon.
git switch -c fix/checkout-total#b43a9e for the new bannerEvery copy replaces the one before it. Nothing warns you, and nothing keeps the old one. You only notice when you need it back.
“I literally just copied that.”
You copied an address, then copied a name to go with it, and the address is gone. Now you’re switching windows to find it again.
“Where did I see that link?”
It was in a tab, or a message, or a doc, sometime this morning. You remember a word from it. You don’t remember where it lived.
“I’ll just take the screenshot again.”
Error dialogs close and receipts scroll away. A screenshot you copied but didn’t save is gone the moment you copy anything else.
macOS Tahoe added clipboard history to Spotlight, which helps with “what did I just copy?” Apple’s guide covers opening and clearing it, and nothing about pinning clips or skipping apps. Before Tahoe, macOS keeps only your last copy. How clipboard history works on a Mac
Search a word you remember or the app you copied from, even text inside a screenshot. Filter by type and preview a clip before you copy it back.
Pin a reply, an address, or a useful snippet, and group pins into boards. They stay until you remove them. Leave history open to reuse clips across apps.
Press ⌘⇧Space to open history. Choose a clip with the arrow keys and Return, or use ⌘1–9. Paste with ⌘V.
There’s nothing new to learn. You copy the way you always have. On Hand keeps each copy, and brings any of them back when you ask.
Download the app and drag it to Applications, or run brew install --cask coreyhaines31/tap/onhand. A clipboard icon appears in your menu bar.
On Hand saves what you copy from that moment on. It never imports what was on your clipboard before you said yes.
Type a word to search, press Return to copy a clip back, and paste with ⌘V. On Hand switches you back to the app you were in.
Use Homebrew, or paste the prompt into Claude Code, Codex, or another coding agent. It checks your Mac, verifies the download, and opens On Hand.
More install optionsbrew install --cask coreyhaines31/tap/onhandInstall On Hand, a free, open-source clipboard manager for Mac (https://github.com/coreyhaines31/onhand).
1. Run `sw_vers -productVersion` and stop if macOS is older than 14.
2. If /Applications/On Hand.app already exists, tell me its version and ask before replacing it.
3. If Homebrew is installed (`command -v brew`), run `brew install --cask coreyhaines31/tap/onhand` (add `--force` when replacing a copy that wasn't installed with Homebrew). Otherwise, in a new temporary folder: download https://onhandformac.com/download with `curl -fsSL -o OnHand.zip`, unzip it with `ditto -x -k OnHand.zip .`, make sure `codesign --verify --deep --strict "On Hand.app"` and `spctl --assess --type execute "On Hand.app"` both pass, then move any existing /Applications/On Hand.app to the Trash and install with `ditto "On Hand.app" "/Applications/On Hand.app"`.
4. Open it with `open -a "On Hand"`.
5. Tell me to click "Start keeping my clipboard" in the window that opens, and that ⌘⇧Space opens my clipboard history from any app.
6. Ask me whether future agent sessions should be able to search my clipboard history, and tell me that anything an agent reads from it goes to its AI provider. Only if I say yes, append this to your own global instructions file (~/.claude/CLAUDE.md for Claude Code, ~/.codex/AGENTS.md for Codex), unless it's already there, and tell me which file you changed:
On Hand keeps my clipboard history. When I mention something I copied earlier, find it with `onhand search <words>` and read it with `onhand get <id>`. Ask before deleting anything.Type a word or two and the list narrows as you type. A clip matches when every word appears somewhere in it: the text, the app you copied it from, or the text On Hand found in an image.
When you copy a screenshot, On Hand reads the words in it, on your Mac, with the text recognition built into macOS. Search for any of those words later and the screenshot comes up, like any other clip.
Some text you paste every week: a support reply, a shipping address, a code snippet, a bank reference. Pin them once and they stay until you remove them, no matter how long history is set to keep everything else.
On Hand is built to use without the mouse. Open it from any app, find the clip, copy it, and you’re back where you were.
| Shortcut | What it does |
|---|---|
| ⌘⇧Space | Open or close history from any app. Change it in Settings. |
| ↑ ↓ then Return | Select a clip and copy it back. |
| ⌘1 – ⌘9 | Copy one of the first nine results. |
| ⌘F | Jump to search. |
| ⌘O | Preview the selected clip, including the text in an image. |
| ⌘P | Pin or unpin the selected clip. |
| Esc | Leave a preview, or close history. |
| ⌃⌥⌘⌫ | Forget your last copy: delete it from history and clear the clipboard. |
| ⌃⌥↑ / ⌃⌥↓ | In a message box, step back and forward through what you sent from that app. |
You can change the open, forget, and message shortcuts in Settings. The message shortcuts are only active while Sent messages is on, so other apps keep them otherwise.
Like pressing ↑ in Terminal, but for the apps you choose. Turn on Sent messages, add Slack, Messages, or Claude, and On Hand keeps what you send so you can find it again or send it again.
A clipboard manager sees everything you copy, so it should be exact about what it keeps. This is the full list, straight from the code.
.env lines like API_SECRET=…. In screenshots too.When you copy a key or a card number as text, On Hand tags it as private within about a quarter second. Other clipboard managers that honor that tag usually skip it too.
Then it clears the secret from your clipboard after 90 seconds, long enough to paste it once. You can turn that off in Settings › Privacy.
The menu bar icon briefly shows a raised hand when it skips something, and its tooltip says what it found, like “GitHub token”, so you know why a copy is missing.
These checks can’t catch everything. Addresses, passwords you type yourself, and other private details can still be saved. Pause capture first, or press ⌃⌥⌘⌫ to forget a copy. See every key it recognizes
Your history is one database file on your Mac. There’s no server, no account, and no sync, so there’s no copy of it anywhere else.
Delete those two to erase everything On Hand has kept. With Homebrew, brew uninstall --zap --cask onhand does it for you.
The onhand command lets Claude Code, Codex, or any script search your history, read the text in a screenshot, and copy a clip back, right from Terminal. Add one line to your agent’s instructions and it knows where to look.
On Hand keeps my clipboard history. When I mention something I copied earlier, find it with `onhand search <words>` and read it with `onhand get <id>`. Ask before deleting anything.onhand search invoice
onhand get 3f2a91c0
onhand copy 3f2a91c0
onhand pin 3f2a91c0 --board SnippetsYou copied the error, the webhook URL, or the snippet an hour ago. Instead of pasting it into the chat, tell your agent you copied it. With the line above in its instructions, it runs onhand search, finds the clip, and reads it.
> Use the Stripe webhook URL I copied this morning. ⏺ Bash(onhand search webhook --kind link) ⎿ ID TYPE COPIED FROM PINNED PREVIEW 3f2a91c0 link 3h ago Safari example.com/hooks/stripe ⏺ Bash(onhand get 3f2a91c0) ⎿ example.com/hooks/stripe ⏺ Found it. Adding it to .env.example and the webhook setup in README.md.
get, one clip at a time.--json works on search, get, boards, and status.| Command | What it does |
|---|---|
onhand search [words] | Newest clips containing every word, one line each. --kind --pinned --sent --board --limit |
onhand get ID | The full text of one clip. For a screenshot, the text in it. --image FILE |
onhand copy ID | Put a clip back on the clipboard. |
onhand pin ID --board NAME | Pin a clip so it never expires, on a board you name. |
onhand unpin ID · delete ID | Unpin a clip, or delete it from history. |
onhand boards | Your boards and how many clips each holds. |
onhand forget-last | Clear the clipboard and delete what On Hand saved from it. |
onhand pause · resume · status | Stop saving copies, start again, or check which it’s doing. |
Homebrew links the command for you. If you installed another way, link it once from the app bundle.
Commands, branch names, stack traces, and the URL from the last deploy. Pin the snippets you type every day. Tokens you copy aren’t saved, and your coding agent can search the rest with onhand.
Links, quotes, headlines, and the paragraph you cut “for later”. Search by a word you remember, and pull text out of a screenshot instead of retyping it.
The same five replies, order numbers, and addresses, all day. Pin them to boards, keep the window open while you work through a form, and find what you sent yesterday under Sent.
On Hand isn’t the only way to get clipboard history on a Mac, and it isn’t the best fit for everyone. Here’s how it compares with what people usually weigh it against, from each one’s own site and docs. Deeper comparisons: Maccy, Raycast, Paste, Alfred, and more.
| Feature | On Hand | Spotlight (macOS Tahoe) | Raycast | Paste | Maccy | Alfred |
|---|---|---|---|---|---|---|
| Price | Free | Free, built in | FreePro $10/month or $96/year | $2.49/month or $29.99/yearlifetime $89.99 on the App Store | Free on GitHub$9.99 on the Mac App Store | Powerpack from £34one-time |
| Source code public | YesMIT | No | No | No | YesMIT | No |
| How long history lasts | 1, 7, 30, or 90 days500 clips or 50 MB; pins stay | Not stated by Apple | Up to 3 months freeunlimited with Pro | No limit | 200 clips by default | 24 hours to 3 months |
| Pinned clips | Yes, on named boards | Not in Apple’s guide | Yes | Yes, Pinboardsshareable with a team | Yes | Not documented |
| Search text in screenshots | Yes, on your Mac | Not in Apple’s guide | Yes | Yes | Yes | Not documented |
| Skips password managers | Yes, 10 by default | Not in Apple’s guide | YesPasswords and Keychain Access | Yesconcealed items | Yesconcealed items and 1Password | YesKeychain Access and 1Password |
| Spots keys and card numbers copied from anywhere | Yes25+ kinds of keys, cards, SSNs | Not documented | Not documented | Not documented | Not documented | Not documented |
| Pastes into the app for you | No, you press ⌘V | Not in Apple’s guide | Yes | Yeswith Accessibility access | Optionaloff by default | Yeson by default |
| Sync across devices | No, by design | Not in Apple’s guide | Pro only | Yes, iCloudMac, iPhone, iPad | Not documented | Not documented |
| Requires | macOS 14+Apple silicon or Intel | macOS Tahoe 26 | Raycast 2: macOS Tahoeand Apple silicon | macOS 14+ | macOS 14+ | macOS 10.14+ |
Checked on November 16, 2026 on each product’s own pages: support.apple.com/guide/mac-help/mchl40d5b86b/mac, manual.raycast.com/clipboard-history, raycast.com/pricing, raycast.com/new, pasteapp.io/pricing, apps.apple.com/us/app/paste-limitless-clipboard/id967805235, pasteapp.io/help/what-paste-captures, pasteapp.io/help/paste-on-mac, maccy.app, github.com/p0deje/Maccy, alfredapp.com/help/features/clipboard/, alfredapp.com/powerpack/buy/. “Not documented” means we couldn’t find it on their site, not that it’s missing.
Your clips stay local, with no app analytics or clipboard uploads. Card numbers, Social Security numbers, and secret keys aren’t saved, and they’re cleared from your clipboard after 90 seconds. Pause capture anytime, choose apps to exclude, and set how long unpinned clips stay.
Read the privacy policyOpen ⋯ › Settings from the history window. This is all of it, so there’s nothing hidden to find later.
On Hand 1.6.0 shipped on November 16, 2026. The history panel is redesigned to match my other free Mac apps, with a new app icon and menu bar icon, and every feature and shortcut works as before. History is now kept out of Time Machine backups and local snapshots. On Hand skips copies from an excluded app even when another app is in front, and pinning a clip that looks like a secret warns you first. All release notes
There’s no server behind On Hand, so there’s no monthly bill to pass on to you. There’s no trial, no feature held back for a paid tier, and nothing to sign up for. The source is MIT-licensed on GitHub, so you can read exactly what it does with your clipboard, build it yourself, or send a fix. Optional paid services may come later.
Yes. On Hand is free, with no account, trial, or subscription. The local app’s source is available under the MIT license. Optional paid services may come later.
On Hand supports Apple silicon and Intel Macs running macOS 14 or later. It is signed and notarized by Apple. Read the installation guide.
Text, web links, and images you copy after turning on capture. On Hand reads the text in images on your Mac so you can search screenshots. History holds up to 500 clips or 50 MB. Unpinned clips expire after seven days by default. Text over 1 MB, images over 10 MB, and copied files are skipped; rich text is saved as plain text.
On Hand skips concealed and temporary clipboard items and excludes several common password managers by default. It also won’t save card numbers, Social Security numbers, or secret keys, including in screenshots. When you copy one as text, it marks it so other clipboard managers that respect the concealed signal skip it too, and clears it from your clipboard after 90 seconds. It can’t recognize every secret, so pause capture before copying other private information, or press ⌃⌥⌘⌫ to forget your last copy. See which secrets it recognizes.
No. Choosing a clip puts it back on your clipboard and switches you to the app you were in, and you press ⌘V. That keeps On Hand from typing into the wrong window, and it’s why On Hand doesn’t need Accessibility access unless you turn on Sent messages.
It shouldn’t. Four times a second, On Hand checks one number macOS keeps for the clipboard, which changes only when something new is copied. It reads the clipboard only when that number changes. Text recognition runs once for each new image, on your Mac.
Yes, when you let them. On Hand includes the onhand command, so Claude Code, Codex, or a script can search your history, read a clip or the text in a screenshot, copy it back, or pause capture from Terminal. Whatever an agent reads goes to its AI provider, so search shows only one-line previews and the full text comes one clip at a time. See how the command works.
Yes, if you turn on Sent messages in Settings. In apps you choose, like Slack or Messages, On Hand saves what you send so you can find it again, and ⌃⌥↑ brings your last message back into the box, like ↑ in Terminal. It needs Accessibility access, reads only the message box, never records keystrokes, and skips password fields.
No. Your history stays on the Mac where you copied it. On Hand has no cloud sync.
On Hand checks for updates with Sparkle, which downloads signed releases from GitHub. That update check is the only network request the app makes. You can also check by hand in ⋯ › Settings, or update with Homebrew if you installed it that way.
Quit On Hand from ⋯ › Settings and drag On Hand.app to the Trash. To delete your history and settings too, remove ~/Library/Application Support/OnHand and ~/Library/Preferences/com.onhandformac.OnHand.plist. With Homebrew, brew uninstall --zap --cask onhand does all of it.
Maybe not. If you only need what you copied a few minutes ago, Spotlight’s clipboard history on macOS Tahoe may be enough. On Hand adds pinned clips and boards, search inside screenshots, secret-key detection, and a command for scripts and agents, and it works on macOS 14 and 15 too. How to see clipboard history on a Mac.
Yes. The source is MIT-licensed, so you can inspect the code, build the app, report an issue, or contribute. View the source on GitHub.
For macOS 14 or later, on Apple silicon and Intel. Installation guide

I copy things all day, from code and links to addresses and screenshots, and I kept losing the one I needed a few copies back. The clipboard managers I tried either sent my history somewhere or cost a subscription, and some happily saved my passwords. So I built the one I wanted: it keeps everything on my Mac, skips passwords and keys, and finds any clip in a second. And it's free.
Corey Haines, maker of On Hand and more free Mac appsSmall, free menu bar apps that each answer one question about your Mac. Same look, same rules: nothing leaves your Mac, no account, no subscription.








