Skip to main content

Windows 11 just took copying and pasting to the next level

PowerToys Advanced Paste asking for OpenAI API key to function.
Judy Sanhz / Digital Trends

It’s not often that we get innovation in something as basic as copy and paste. But in a new update to Windows 11, copying and pasting is getting supercharged with AI — and it doesn’t even require a Copilot+ PC.

As reported by Windows Latest, Microsoft announced a new PowerToys feature at its Build developers conference that makes copying and pasting especially useful for developers. Once enabled, you’ll be able to choose from three pasting options: Paste as plain text (Ctrl+1), Paste as markdown (Ctrl+2), and Paste as JSON (Ctrl+3).

Recommended Videos

That last option, obviously, is what’s new. The feature enables you to paste converted Extensible Markup Language (XML) into JavaScript Object Notation (JSON). You can now convert popular programming languages, but there is a price to pay: your OpenAI API key. Why is this considered a catch? If an API key is ever sent to a client, there is a chance it might be compromised, and if that happens, there could be serious security risks.

A more advanced clipboard is also included, and you can paste the copied text into your preferred programming language by typing the name of the language in the magic search bar. For example, if you want it pasted into Python, type “paste as python.”

To enable the feature, you’ll need to go to PowerToys > Advanced Paste and click the blue Enable button for Paste with AI. After clicking the button, you’ll see instructions showing you where to find the OpenAI API key, including creating an account you don’t already have. As always, remember that AI can make mistakes, and reviewing the code created for any errors while it’s in the preview window is a good idea.

Preview window for code checking PowerToys in Windows 11.
Windows Latest

More good news is on the horizon, as Microsoft may support other ways to convert your copied text into your favorite programming languages. Programmers will have a field day with this feature, which will help them with their everyday copying and pasting tasks.

So, while this new copy and paste won’t have as much use for the average Windows user, it’s great to see Microsoft reimagine how AI could transform such a basic element of the operating system to be more useful.

Judy Sanhz
Judy Sanhz is a Digital Trends computing writer covering all computing news. Loves all operating systems and devices.
Whatever you do, don’t install the Windows 11 September update
Windows 11 logo on a laptop.

Microsoft has warned users in a post on its support blog that the September KB5043145 update, released on Thursday, is causing some Windows 11 PCs to restart multiple times, show the blue screen of death, or even freeze.

The problems in the recent update affect those on the 22H2 or 23H3 version of Windows 11. However, Microsoft said it is investigating the issue and will provide more information when it's available. Microsoft confirmed: "After installing this update, some customers have reported that their device restarts multiple times or becomes unresponsive with blue or green screens. According to the reports, some devices automatically open the Automatic Repair tool after repeated restart attempts. In some cases, BitLocker recovery can also be triggered."

Read more
Microsoft just released its ‘unified gateway to Windows’ for Mac
The Surface Pro 11 on a white table in front of a window.

Microsoft has launched a new Windows App for Mac that unifies the remote access Windows experience. There are even versions for iOS, iPadOS, and web browsers, with an Android version in public preview mode.

Windows App: Your gateway to Windows on any device

Read more
Launching Windows 11 apps could get up to 50% faster thanks to this new tech
Microsoft Store Ads on a Dell XPS Laptop.

Windows Latest has spotted a recent support document post from Microsoft confirming native Ahead of Time (AOT) support has been added to the Windows App SDK. According to Microsoft, this could bring major improvements to the launch times of Windows 11 apps. In its own testing, Microsoft has measured a 50% reduction in start times and around an 8x reduction in package size.

The Windows App SDK exists to help developers use classic desktop app frameworks to make apps with access to modern APIs that can be used across all kinds of Windows devices.

Read more