How to Recover Copied Text You Accidentally Lost
How to recover copied text you lost: check clipboard history on Mac and Windows, find the text in app drafts and undo, and stop losing copies for good.

You copied a long paragraph, an API key, or a link you spent ten minutes finding. Then you copied something else — and the first thing vanished. If you're trying to figure out how to recover copied text you lost, the honest answer is: sometimes you can, and it depends almost entirely on what you do in the next few minutes.
The default clipboard on both macOS and Windows holds one item at a time. Copy something new and the old content is overwritten in memory, with no prompt and no trash can. But "overwritten" doesn't always mean gone — the text you lost usually still exists somewhere else on your machine. Here's where to look, in the order most likely to work.
Step 1: Check Your System Clipboard History
Start with the built-in history, because it's the only place your copied text is stored as copied text.
On macOS 26 Tahoe and later. Apple finally added a clipboard history to Spotlight. Press ⌘Space to open Spotlight, then ⌘4 to switch to the clipboard view, and you'll see recent items you've copied. Two important limits: entries expire after roughly eight hours, and it only covers your Mac — nothing older, nothing organized. On any macOS version before Tahoe there's no built-in history at all. We covered the full picture in how to see your clipboard history on Mac.
On Windows 10 and 11. Press Win + V. If clipboard history was already enabled, your recent copies are sitting right there. If it wasn't enabled, this is the bad news moment: the feature is off by default, and turning it on now won't retroactively recover anything. Windows also caps history at 25 items and clears unpinned entries when you restart. More detail in clipboard history on Windows.
If you already run a clipboard manager, open it first. This is the one scenario where lost copied text is a non-event: the item is in your history, searchable by a keyword you remember from it.
Step 2: Go Back to the Source and Undo
If the clipboard itself is empty, the next best route is the place you copied from.
- Press ⌘Z / Ctrl+Z in the source app. This matters most when you cut instead of copied. Cut text that never got pasted is genuinely destructive — but a single undo in the original document usually puts it right back.
- Reopen the document or page. Google Docs, Notion, and most modern editors autosave continuously. The text you copied is almost certainly still in the original.
- Use version history. Google Docs (File → Version history), Notion (page history), Apple Notes, and Microsoft 365 all keep timestamped revisions. If you copied text and then deleted the source, this is where it lives.
Step 3: Look Where the Text Was Going
Sometimes the copy survived in the destination, not the source.
- Browser form restore. If you pasted into a web form and navigated away, hit Back. Browsers often restore field contents. Chrome and Firefox also keep the text in the page's session state until the tab is closed.
- Draft autosave. Email clients, CMS editors, and chat apps save drafts aggressively. Check your Drafts folder, or the message box of the conversation you were typing in.
- Your terminal scrollback. If the lost text was a command, a token, or a path, search your shell history (
history | grep <fragment>, or Ctrl+R for a reverse search). Pasted commands are recorded like typed ones. - Recently opened temp files. Editors like VS Code restore unsaved buffers after a crash or restart — reopen the editor before clearing anything.
Step 4: If the Text Is Truly Gone
Occasionally none of the above works: the source was a disappearing message, a locked PDF preview, an expiring page, or a screen you can no longer get back to. At that point the realistic options are to regenerate the text or reconstruct it from what you still have.
One thing worth checking: do you have a screenshot? If any part of what you copied appeared on screen while you were working, and you or your screenshot tool captured it, the text is recoverable from the image. Copaste's text capture (⇧⌘2) pulls selectable text straight off anything on screen — an image, a PDF, a video frame, a page that blocks selection — which turns a screenshot back into copyable text.
The Real Fix: Stop Relying on Recovery
Recovering lost copied text is always a scramble. It's also entirely avoidable, because the underlying problem isn't user error — it's that a one-slot clipboard was designed in 1984 and never meaningfully changed. The built-in histories help, but an eight-hour window on macOS or a 25-item buffer on Windows still means the useful things fall off the end.
A dedicated clipboard manager removes the failure mode instead of mitigating it:
- Unlimited history. Everything you copy stays, so "I lost it" stops being possible. If you want the reasoning behind that, we wrote about it in how to save your clipboard history permanently.
- Real search. You rarely remember when you copied something, but you almost always remember a word from it. Searching beats scrolling.
- Pins and tags. The values you reach for constantly — signatures, connection strings, standard replies — get promoted out of the stream entirely.
- Text, images, and files. Screenshots and design assets are copies too, and they're the ones the built-in tools handle worst.
- Local by default. Your history is a record of everything you've copied, so where it lives matters. Copaste keeps it on your device.
The Two-Minute Version
If you've just lost something:
- ⌘Space → ⌘4 on Mac, or Win + V on Windows.
- ⌘Z / Ctrl+Z in the app you copied from.
- Check version history, drafts, and browser Back.
- Check your screenshots and shell history.
And then set up a clipboard history that persists, so step one is the only step you ever need again.
Stop losing what you copy.
Copaste remembers everything — texts, images, files, passwords. Local-only, keyboard-first, always instant.