How the Clipboard Works on Mac

How the Clipboard Works on Mac

The Mac clipboard feels simple — copy, paste, done — but understanding what happens underneath explains a lot of everyday frustrations: why pasted text brings unwanted formatting, why something you copied is suddenly gone, and why screenshots and files behave differently from plain text.

The pasteboard, not "the clipboard"

On macOS, what most people call the clipboard is technically the pasteboard. It's a system service that holds the most recent thing you copied so other apps can read it. There's a general pasteboard (the one Cmd+C and Cmd+V use) and a few special-purpose ones, like the find pasteboard that shares search terms between apps.

The key fact: the general pasteboard stores one item at a time. Every Cmd+C overwrites the previous contents. There's no built-in stack or history.

What actually gets stored

When you copy, the source app doesn't just hand over plain text. It writes the same content in multiple representations so the destination can pick whichever it understands best.

Multiple flavors of one copy

Copy a styled paragraph from a web page and the pasteboard may hold:

When you paste, the destination app chooses a flavor. A rich-text editor grabs the formatted version (hence the unwanted fonts), while a plain-text editor takes the stripped version. This is why Cmd+Shift+V ("paste and match style") works: it tells the app to use the plain-text flavor.

Files, images, and other data

The pasteboard isn't text-only. Copy a file in Finder and it stores a file reference; copy an image and it stores image data; take a screenshot with Cmd+Ctrl+Shift+3 and the image goes straight to the pasteboard instead of a file. Each of these is just another data type the system knows how to carry.

Why your clipboard "loses" things

Because there's only one slot, the clipboard loses data constantly — by design:

For one-off copy-paste this is fine. For real work — moving several values between apps, reusing snippets, keeping a code block from an hour ago — the single-slot model is the bottleneck.

Keeping more than one clip

A clipboard manager sits alongside the system pasteboard and records each copy as it happens, building a history you can browse and search.

ClipHistory does this locally on your Mac. When you copy, it captures the clip; when you press Cmd+Shift+V, it shows a searchable panel of recent items so you can paste any of them, not just the last. It keeps:

Local by default

A reasonable worry with clipboard tools is privacy — your clipboard sees passwords, tokens, and private text. ClipHistory keeps everything on the device: no cloud sync, no account, no server. The history lives on your Mac and nowhere else. The app is signed and notarized by Apple and runs natively on both Apple Silicon and Intel (macOS 12+).

Beyond storing: acting on clips

Once clips are captured, you can do more than paste them back verbatim. ClipHistory can run AI transforms on a clip before you paste it:

These run through your own API key for Anthropic, OpenAI, DeepSeek, Google, or a custom provider. The request goes from your Mac to the provider you chose — ClipHistory doesn't run an account or proxy in between.

The mental model

Think of the macOS clipboard as a single scratch slot the whole system shares, carrying several flavors of one item. It's reliable but forgetful. A history layer turns that one slot into a searchable record, and AI transforms turn it from a passive buffer into something that can reshape text on the way to its destination.

Get ClipHistory for macOS

ClipHistory is an AI-powered clipboard manager that runs entirely on your Mac — no cloud, no account. It keeps your last 150 unpinned clips plus unlimited pinned ones, brings them back with Cmd+Shift+V, and can summarize, rewrite, translate or clean any clip using your own AI provider key. It's a one-time $19.99 purchase (12-month license, no auto-renewal), signed and notarized by Apple, and runs natively on Apple Silicon and Intel (macOS 12+).

Get ClipHistory for macOS — $19.99