# Write a string to the system's copy paste buffer?

**URL:** <https://forums.unrealengine.com/t/write-a-string-to-the-systems-copy-paste-buffer/48200>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub, Engine-Source-GitHub\
**Created:** [November 23, 2015, 12:33am UTC](https://forums.unrealengine.com/t/write-a-string-to-the-systems-copy-paste-buffer/48200 "2015-11-23T00:33:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dannington](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dannington](https://forums.unrealengine.com/u/Dannington)\
**Post date:** [November 23, 2015, 12:33am UTC](https://forums.unrealengine.com/t/write-a-string-to-the-systems-copy-paste-buffer/48200/1 "2015-11-23T00:33:44Z")

</div>

Is this possible do you think. I’d like to be able to send a string (or anything for that matter) to the os’s copy/paste buffer so I can paste data out of the system.

Cheers!

---

<div class="post-metadata">

**Author:** ![szyszek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@szyszek](https://forums.unrealengine.com/u/szyszek)\
**Post date:** [November 23, 2015, 2:43pm UTC](https://forums.unrealengine.com/t/write-a-string-to-the-systems-copy-paste-buffer/48200/2 "2015-11-23T14:43:39Z")

</div>

```auto

const FString MyString = "I'll be in clipboard soon!";
// Copy text to clipboard
FPlatformMisc::ClipboardCopy( *MyString );

```

---

<div class="post-metadata">

**Author:** ![Dannington](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dannington](https://forums.unrealengine.com/u/Dannington)\
**Post date:** [November 23, 2015, 4:28pm UTC](https://forums.unrealengine.com/t/write-a-string-to-the-systems-copy-paste-buffer/48200/3 "2015-11-23T16:28:51Z")

</div>

Wow! I’m such a C++ lamer that i’m kind of wowing myself that I actually managed to get this to work - even if it’s a pure node and have to drag the data through it. Thanks so much!

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [October 26, 2020, 2:14am UTC](https://forums.unrealengine.com/t/write-a-string-to-the-systems-copy-paste-buffer/48200/4 "2020-10-26T02:14:22Z")

</div>

Does this work on Android too? It’s particularly more needed for android since Android users can’t press Ctrl+C to copy to their clipboard.

---

<div class="post-metadata">

**Author:** ![ShadowBr0kerz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadowbr0kerz/32/1201558_2.png) [@ShadowBr0kerz](https://forums.unrealengine.com/u/ShadowBr0kerz)\
**Post date:** [October 5, 2026, 9:07pm UTC](https://forums.unrealengine.com/t/write-a-string-to-the-systems-copy-paste-buffer/48200/5 "2026-10-05T21:07:38Z")

</div>

on windows this is two lines through FPlatformApplicationMisc::ClipboardCopy(\*MyString) and ClipboardPaste into an FString, needs the ApplicationCore module. blueprint has no stock nodes for it though, so a BP-only project needs a small wrapper.

thats the exact gap Runtime Clipboard Utility, a Blueprint clipboard plugin for Unreal Engine 5, fills, Copy / Paste / Has Clipboard Text nodes, free with 5.0-5.8 builds: [Runtime Clipboard Utility — Free Copy & Paste Text Nodes for Blueprints (UE5) | Fab](https://www.fab.com/listings/56930e3f-779a-4ddb-a215-c362787b65b9)

note this is desktop Windows clipboard, so dont expect it to carry over to mobile, on android the OS clipboard path is a different API.
