Free, open-source clipboard manager for Mac

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

Free · Apple silicon and Intel · macOS 14+
Signed and notarized by Apple. Installation guide

No account. No subscription. Stored on your Mac.

Clips
⌘1
⌘2
⌘3
⌘4
⌘5
⌘6
Capturing · On this Mac only · 6 items↑↓ select ↵ copy

Try searching, pinning, or previewing a sample clip.

A Tuesday, 4:52 PM

The tracking link you copied at lunch is gone.

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.

  1. Tracking link from the shipping email
  2. git switch -c fix/checkout-total
  3. #b43a9e for the new banner
  4. A teammate’s Slack reply you meant to reuse
  5. A screenshot of the error. The only thing left on your clipboard.
  6. ⌘⇧Space, “ups”, Return. All five are still in On Hand.
The problem

Your Mac’s clipboard holds one thing.

Every 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

What it does

A clipboard manager for Mac that remembers what you copied.

Find the link you lost.

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.

Keep the clips you reuse.

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.

Keep your hands on the keys.

Press ⌘⇧Space to open history. Choose a clip with the arrow keys and Return, or use ⌘1–9. Paste with ⌘V.

How it works

Three steps, then you just copy.

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.

  1. Install it

    Download the app and drag it to Applications, or run brew install --cask coreyhaines31/tap/onhand. A clipboard icon appears in your menu bar.

  2. Choose “Start keeping my clipboard”

    On Hand saves what you copy from that moment on. It never imports what was on your clipboard before you said yes.

  3. Copy as usual, then press ⌘⇧Space

    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.

Install in one line.

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 options

Homebrew

brew install --cask coreyhaines31/tap/onhand

Coding agent prompt

Install 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.
Text in images

Search the text inside screenshots.

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.

  • Copy the text out. Preview an image to select and copy its text, without retyping an error message or an order number.
  • Nothing leaves your Mac. Recognition runs locally, once for each new image.
  • Secrets in screenshots count too. If the text in an image looks like a key or a card number, On Hand doesn’t keep it.
How search in screenshots works
Pinned clips

Pin snippets, replies, and addresses to boards.

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.

  • Pin with ⌘P, or right-click a clip and choose Pin to Board to file it on a board like Snippets or Addresses.
  • Open a board under the Pinned tab to see only its clips. Rename or delete a board from its menu.
  • Copy several clips into one form. Turn on Keep Window Open While Switching Apps, and history stays put while you paste into another app.
  • Pinning something that looks like a secret warns you first, so a key doesn’t end up kept forever by accident.
Keyboard

Keyboard shortcuts, so you never reach for the mouse.

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.

ShortcutWhat it does
⌘⇧SpaceOpen or close history from any app. Change it in Settings.
↑ ↓ then ReturnSelect a clip and copy it back.
⌘1 – ⌘9Copy one of the first nine results.
⌘FJump to search.
⌘OPreview the selected clip, including the text in an image.
⌘PPin or unpin the selected clip.
EscLeave 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.

Sent messages · optional

Find a message you already sent.

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.

  • Saved when the box empties. When a message box clears after you send, what was in it is saved as a clip labeled Sent.
  • Bring it back. Click into a message box and press ⌃⌥↑ to fill in the last message you sent from that app. Press it again for older ones, or ⌃⌥↓ to go forward.
  • Off until you turn it on. It needs Accessibility access, reads only the message box in apps you listed, never records keystrokes, and skips password fields.
  • Works with standard text fields. Some apps don’t share their text fields with macOS, and On Hand can’t see messages sent from those. Deleting a whole draft at once looks the same as sending it, so that draft may be saved too.
What it keeps

What On Hand saves, skips, and clears.

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.

Saved
  • Text up to 1 MB. Rich text is saved as plain text.
  • Links: any copied http or https address, so the Links tab can find them.
  • Images up to 10 MB, with the text in them recognized for search.
  • Where and when: the app you copied from and the time, shown on each clip.
  • Sent messages, only if you turn them on, only from apps you choose.
Skipped
  • Anything marked concealed, temporary, or auto-generated, the signals password managers put on what they copy.
  • Copies from 10 password managers by default: 1Password, Bitwarden, Apple Passwords, Keychain Access, Dashlane, LastPass, KeePassXC, Proton Pass, Enpass, Strongbox. Add any other app in Settings.
  • Card numbers, US Social Security numbers, and secret keys: more than 25 kinds of keys and tokens (GitHub, Stripe, AWS, OpenAI, Anthropic, Slack, npm and more), database URLs with a password, and .env lines like API_SECRET=…. In screenshots too.
  • Copied files, text over 1 MB, and images over 10 MB.
  • Anything copied while capture is paused, or before you chose to start.

Concealed in a quarter second

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.

Cleared after 90 seconds

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.

It tells you what it skipped

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

Storage

Where your clipboard history lives.

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.

  • Only your user can open it. The folder and the file are readable by your macOS account alone.
  • Kept out of Time Machine and local snapshots, so a clip you delete doesn’t live on in a backup.
  • Unpinned clips expire after 1, 7, 30, or 90 days. Seven is the default.
  • History holds up to 500 clips or 50 MB. When it’s full, the oldest unpinned clips go first.
  • Clear it anytime from Settings, with or without your pinned clips.
History~/Library/Application Support/OnHand/history.sqlite
Settings~/Library/Preferences/com.onhandformac.OnHand.plist

Delete those two to erase everything On Hand has kept. With Homebrew, brew uninstall --zap --cask onhand does it for you.

Let your agent find it.

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.

How the command works

Add to CLAUDE.md or AGENTS.md

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.

Or run it yourself

onhand search invoice
onhand get 3f2a91c0
onhand copy 3f2a91c0
onhand pin 3f2a91c0 --board Snippets
Command line

A clipboard history your coding agent can search.

You 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.
  • It reads only what it asks for. Search returns one-line previews. The full text comes from get, one clip at a time.
  • Short IDs. Any unique start of a clip’s ID works, like a short Git hash.
  • JSON for scripts. --json works on search, get, boards, and status.
  • Works with the app open or closed. The command edits the same history file, and a running app picks up changes right away.
  • Your agent’s provider sees what it reads. The command sends nothing anywhere itself, but whatever an agent reads goes to its AI provider, like any file it opens.
CommandWhat it does
onhand search [words]Newest clips containing every word, one line each. --kind --pinned --sent --board --limit
onhand get IDThe full text of one clip. For a screenshot, the text in it. --image FILE
onhand copy IDPut a clip back on the clipboard.
onhand pin ID --board NAMEPin a clip so it never expires, on a board you name.
onhand unpin ID · delete IDUnpin a clip, or delete it from history.
onhand boardsYour boards and how many clips each holds.
onhand forget-lastClear the clipboard and delete what On Hand saved from it.
onhand pause · resume · statusStop 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.

Who it’s for

For developers, writers, and anyone who answers messages all day.

Developers

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.

Writers, editors, and marketers

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.

Support, sales, and ops

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.

Alternatives

Mac clipboard managers, honestly compared.

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.

FeatureOn HandSpotlight (macOS Tahoe)RaycastPasteMaccyAlfred
PriceFreeFree, built inFreePro $10/month or $96/year$2.49/month or $29.99/yearlifetime $89.99 on the App StoreFree on GitHub$9.99 on the Mac App StorePowerpack from £34one-time
Source code publicYesMITNoNoNoYesMITNo
How long history lasts1, 7, 30, or 90 days500 clips or 50 MB; pins stayNot stated by AppleUp to 3 months freeunlimited with ProNo limit200 clips by default24 hours to 3 months
Pinned clipsYes, on named boardsNot in Apple’s guideYesYes, Pinboardsshareable with a teamYesNot documented
Search text in screenshotsYes, on your MacNot in Apple’s guideYesYesYesNot documented
Skips password managersYes, 10 by defaultNot in Apple’s guideYesPasswords and Keychain AccessYesconcealed itemsYesconcealed items and 1PasswordYesKeychain Access and 1Password
Spots keys and card numbers copied from anywhereYes25+ kinds of keys, cards, SSNsNot documentedNot documentedNot documentedNot documentedNot documented
Pastes into the app for youNo, you press ⌘VNot in Apple’s guideYesYeswith Accessibility accessOptionaloff by defaultYeson by default
Sync across devicesNo, by designNot in Apple’s guidePro onlyYes, iCloudMac, iPhone, iPadNot documentedNot documented
RequiresmacOS 14+Apple silicon or IntelmacOS Tahoe 26Raycast 2: macOS Tahoeand Apple siliconmacOS 14+macOS 14+macOS 10.14+

Where they’re better

  • Paste syncs history to your iPhone and iPad, keeps it with no limit, shares Pinboards with a team, and has an MCP server for Claude, Codex, and Cursor.
  • Raycast and Alfred are whole launchers. If you live in one already, its clipboard history is right there, with snippets and much more beside it.
  • Maccy is the closest match: free, MIT, and local, with years of releases, a compact popup, and optional paste-on-select.
  • Most of them paste for you. On Hand puts the clip back on your clipboard and you press ⌘V.

Where On Hand is different

  • It checks what you copy, not just where. Keys, card numbers, and SSNs are caught in any app, concealed, and cleared.
  • It’s free and open everywhere, with no paid tier for longer history or sync, because there’s no server.
  • Unlike Spotlight and Raycast 2, it runs on macOS 14 and 15 and on Intel Macs, and agents can use it through a plain Terminal command.

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 history. On your Mac.

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 policy

What it touches

  • The clipboard. Four times a second it checks whether anything new was copied, and reads it only when something was.
  • One history file in your Library folder, and its own settings.
  • Message boxes in apps you list, only if you turn on Sent messages.

What it never does

  • Upload anything. No account, no sync, no analytics. Its only network request checks for updates.
  • Record keystrokes, read password fields, or import what you copied before you started.
  • Paste on its own. Choosing a clip copies it, and you press ⌘V. Only ⌃⌥↑ fills a message box, when you press it.

Permissions it asks for

  • Clipboard access. If macOS asks whether On Hand can paste from other apps, choose Allow. It can’t keep history without it.
  • Accessibility, only for Sent messages, to read the message box in apps you chose.
  • Login item. It starts with your Mac. Turn off Launch at login in Settings to stop that.
Settings

Every setting fits on one screen.

Open ⋯ › Settings from the history window. This is all of it, so there’s nothing hidden to find later.

General

  • The shortcut that opens On Hand, and the one that forgets your last copy
  • Keep history open while switching apps
  • Launch at login
  • Keep unpinned clips for 1, 7, 30, or 90 days

Privacy

  • Pause capture
  • Don’t save card numbers, Social Security numbers, or secret keys
  • Clear them from the clipboard after 90 seconds
  • Apps whose copies are never kept
  • Clear history, with or without pinned clips

Sent messages

  • Save messages you send, off by default
  • The apps to save them from
  • The shortcuts that step through what you sent
  • Below them: your version, Check for updates, and Quit
New in 1.6.0

A new look, history kept out of backups, and safer pins.

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

Price

Free. No account. No subscription.

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.

System requirements

  • macOS 14 Sonoma or later, including Sequoia and Tahoe
  • Apple silicon or Intel
  • Signed and notarized by Apple
  • Updates itself, or with Homebrew
  • Source on GitHub under the MIT license

Questions before you download.

Is On Hand free?

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.

Will it run on my Mac?

On Hand supports Apple silicon and Intel Macs running macOS 14 or later. It is signed and notarized by Apple. Read the installation guide.

What does On Hand save?

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.

Does it capture passwords?

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.

Does it paste for me?

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.

Will it slow down my Mac or drain the battery?

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.

Can AI agents use my clipboard history?

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.

Can it save messages I send?

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.

Does it sync between Macs?

No. Your history stays on the Mac where you copied it. On Hand has no cloud sync.

How does it update?

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.

How do I uninstall it?

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.

I’m on macOS Tahoe. Do I still need a clipboard manager?

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.

Can I inspect or build the code?

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.

Free. Open source. On your Mac.

For macOS 14 or later, on Apple silicon and Intel. Installation guide

Corey Haines
Why it exists

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 apps