How the Windows Clipboard Works: What Happens on Copy
By Khushi Yadav
When you copy something on Windows, the app you're in clears the clipboard and puts the selection there in one or more formats, such as plain text, formatted HTML, an image or a list of files. Windows holds that data until the next copy replaces it. When you paste, the receiving app looks through the available formats and uses the best one it understands, which is why the same copy can paste as formatted text in Word and plain text in Notepad.
Clipboard history (Win+V) is a separate, optional feature that saves a copy of each text, HTML or image item so you can paste older ones later.
What happens when you press Ctrl+C
Microsoft's developer documentation describes the same sequence for every app:
- The app opens the clipboard. Only one app can have it open at a time.
- It empties the clipboard, which discards the previous contents and makes this app the clipboard's new owner.
- It places the data in as many formats as it can, starting with the most detailed and ending with the simplest.
- It closes the clipboard.
- Windows notifies apps that have asked to be told about clipboard changes, such as clipboard history and clipboard managers.
Step 2 is why there's only one live clipboard: every copy replaces the last one. Clipboard history vs the single live clipboard explains how the two fit together.
Why one copy contains several formats
Apps offer several versions of the same data so that whatever you paste into can use one of them. Some typical examples:
| You copy | Formats usually offered |
|---|---|
| Formatted text on a web page | HTML (with fonts and links) and plain text |
| A paragraph in Word | Word's own formats, rich text, HTML and plain text |
| A screenshot | A bitmap image |
| Files in File Explorer | A list of file locations (not the file contents) |
| Cells in Excel | Excel's own format, HTML, and tab-separated plain text |
Apps can also register their own named formats, and many do. You never see these lists in Windows Settings, but they decide what each paste looks like. A plain-language tour of the common format names is in the Windows clipboard glossary.
What happens when you press Ctrl+V
The app you paste into checks which formats are on the clipboard and usually takes the first one it recognizes. Because the source app listed its most detailed format first, that's normally the richest version the destination can handle:
- Notepad takes plain text, so formatting disappears.
- Word takes rich text or HTML, so fonts and links come along.
- Paint takes an image; if there's no image, nothing pastes.
- File Explorer takes a file list; text or images don't paste into a folder.
Windows also converts between a few closely related formats on request, for example between different text encodings and between different bitmap types, so older and newer apps can still exchange data.
This is why Ctrl+Shift+V (paste as plain text, where supported) exists: it asks for the simplest text format on purpose. How Windows treats rich text versus plain text goes deeper.
Why paste is sometimes slow, or fails after you close an app
An app doesn't have to hand over every format immediately. It can promise a format and produce the data only when something asks for it, which Microsoft calls delayed rendering. It saves work when a format is expensive to create and might never be used.
Two side effects follow:
- The first paste can lag. The source app is generating the data at that moment.
- Closing the source app can lose formats. Before closing, the app is supposed to produce all the formats it promised. Any it doesn't produce stop being available. If a paste fails after you closed the app you copied from, reopen it and copy again.
Where clipboard history fits
Clipboard history is off until you turn it on with Win+V or in Settings > System > Clipboard. Once it's on, Windows saves qualifying copies to a list:
- It stores text, HTML and images, up to 4 MB per item and 25 items.
- It doesn't store files copied in File Explorer, because a file list isn't one of its formats.
- Unpinned items are cleared when you restart the PC; pinned items stay.
- With sync turned on, text can be sent to your other devices signed in with the same account.
Apps can mark what they copy as private. Microsoft defines special clipboard formats that tell Windows to keep an item out of clipboard history, out of cloud sync, or away from clipboard monitors entirely. Password managers commonly use them, which is why a copied password may never show up in Win+V. What sensitive formats should monitors ignore lists them.
Other apps can see what you copy
The clipboard is shared by every app running in your session. Any app can read it, and apps can register to be notified each time it changes. That's how clipboard managers work: Edge Drop, the clipboard shelf made by the team behind this site, uses the same change notification and skips items carrying the "exclude from history" formats above. It's also why a malicious app could read your clipboard. Can other apps read everything you copy? covers the privacy side.
FAQ
Where is the clipboard stored?
The live clipboard is held by Windows in memory for your sign-in session. It isn't a file you can open, and it's empty after a restart. To see what's on it right now, try the methods in how to see what is currently on your clipboard.
Can the clipboard hold more than one item?
The live clipboard holds one copied item, though that item can be in several formats. To keep several items, turn on clipboard history or use a clipboard manager.
Why didn't my copy work?
Usually nothing was selected, the app blocked copying, or the destination doesn't accept any of the formats on offer. Paste into Notepad: if text appears, the copy worked and the problem is the destination. What the Windows clipboard can and cannot store lists the common limits.
Related reading
- What the Windows Clipboard Can and Cannot Store
- Clipboard vs Clipboard History in Windows (Ctrl+V vs Win+V)
- Clipboard vs File Copy in Windows: What's the Difference?
- Windows Clipboard Terms Explained: A Plain-English Glossary
Sources
- Clipboard Operations (Microsoft Learn) — open, empty, set data, ownership and delayed rendering.
- Clipboard Formats (Microsoft Learn) — multiple formats per copy, registered formats, automatic conversions and the clipboard history exclusion formats.
- Standard Clipboard Formats (Microsoft Learn) — text, bitmap and file list formats.
- AddClipboardFormatListener (Microsoft Learn) — how apps are notified of clipboard changes.
- Using the clipboard (Microsoft Support) — clipboard history formats, limits, restart and sync.
Khushi Yadav writes Edge Drop's workflow and design guides and is a B.Tech Computer Science Engineering student. Khushi's posts are checked against Microsoft's documentation and the Edge Drop fact sheet.
GitHub · LinkedInCopy. Stack. Drop.
Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.
Download for Windows Get from Microsoft Store
How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support
Free · Lightweight · Privacy First