# The ability to copy given text to clipboard?

**URL:** <https://forums.unrealengine.com/t/the-ability-to-copy-given-text-to-clipboard/404190>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 9, 2017, 6:13pm UTC](https://forums.unrealengine.com/t/the-ability-to-copy-given-text-to-clipboard/404190 "2017-09-09T18:13:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_4aeebc03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4aeebc03](https://forums.unrealengine.com/u/anonymous_user_4aeebc03)\
**Post date:** [September 9, 2017, 6:13pm UTC](https://forums.unrealengine.com/t/the-ability-to-copy-given-text-to-clipboard/404190/1 "2017-09-09T18:13:10Z")

</div>

I’ve always wondered whether there is a way to copy something to clipboard by using a button - since that is user-friendly.

I know we can simply press Ctrl+C… but sometimes, its better if you give the user a button to click, and that to call a function that copies XYZ text to their clipboard…

Like you can do in some web sites such as Imgur or MediaFire…

Anyone knows anything about this?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [September 9, 2017, 7:27pm UTC](https://forums.unrealengine.com/t/the-ability-to-copy-given-text-to-clipboard/404190/2 "2017-09-09T19:27:58Z")

</div>

In C++ you have those functions to read and write system clipboard

> **[FGenericPlatformMisc::ClipboardCopy](https://docs.unrealengine.com/5.1/en-US/API/Runtime/Core/GenericPlatform/FGenericPlatformMisc/ClipboardCopy/)**
>
> Copies text to the operating system clipboard.

> **[FGenericPlatformMisc::ClipboardPaste](https://docs.unrealengine.com/5.1/en-US/API/Runtime/Core/GenericPlatform/FGenericPlatformMisc/ClipboardPaste/)**
>
> Pastes in text from the operating system clipboard.

Note that you need to use FPlatfromMisc not FGenericPlatfromMisc, if you see FGenericPlatfrom\* class in API reference remove “Generic” because those are Generic rollback implementation of functions all that get referenced to FPlatfrom\*

I dont see any blueprint implementations of this, you will need to make your own nodes if you want to which is not that hard actully.

---

<div class="post-metadata">

**Author:** ![pto2k](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pto2k/32/731164_2.png) [@pto2k](https://forums.unrealengine.com/u/pto2k)\
**Post date:** [September 26, 2022, 10:04am UTC](https://forums.unrealengine.com/t/the-ability-to-copy-given-text-to-clipboard/404190/3 "2022-09-26T10:04:56Z")

</div>

I found this post while searching for a way to copy content from the Windows clipboard.  
It would also be very useful to have that function in an Editor Utility Widget.

For example, in the QA report we have coordinates, I’d like to be able to copy a line of cord, switch to UE, and click a button on the Utility Widget to move the camera to that location. That’d be nice.

Seems like no luck yet? I hope it gets implemented in the near future!

Thank you

---

<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, 8:58pm UTC](https://forums.unrealengine.com/t/the-ability-to-copy-given-text-to-clipboard/404190/4 "2026-10-05T20:58:07Z")

</div>

for the button use case the missing piece is just that blueprint has no stock clipboard nodes, the C++ side is FPlatformApplicationMisc::ClipboardCopy / ClipboardPaste plus the ApplicationCore module.

so a copy button is one node call with your XYZ string, and paste is the reverse node into a string variable. if you dont want to write that wrapper yourself, Runtime Clipboard Utility, a Blueprint clipboard plugin for Unreal Engine 5, gives you Copy, Paste and Has Clipboard Text nodes, free and works in 5.0-5.8: [Runtime Clipboard Utility — Free Copy & Paste Text Nodes for Blueprints (UE5) | Fab](https://www.fab.com/listings/56930e3f-779a-4ddb-a215-c362787b65b9)

same nodes work from an editor utility widget button, so the QA coords workflow pto2k described (copy a line, click to teleport) is just paste node then parse the string.
