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.
Nearly six months later, you can finally try out Windows 11 Recall
Recall promotional image.

After a tumultuous initial reaction and months of reworking, Microsoft is finally releasing the first preview of its controversial Recall feature today. If you're a Windows Insider with a Qualcomm Copilot+ PC, you can install a new build of Windows 11 that includes both Recall and Click to Do.

If you're not part of the Windows Insider Program but you want to try out this feature, it's pretty easy to sign up on the Microsoft website. Recall was first announced back before any of the Copilot+ PCs were released and was meant to be available at launch, but an outcry of privacy and security concerns forced Microsoft to delay it.

Read more
The Windows 11 24H2 update is causing even more problems
Windows 11 logo on a laptop.

The Windows 11 24H2 update had already been giving users a real headache with problems such as bugs for visual layouts and flaws for certain wallpaper apps. And now, as Microsoft confirms in a support document, some people without administrative privileges can't change the time zone in the Date & Time view, among myriad other issues related to the important Windows 11 update.

A Feedback Hub post also reports a time issue after exiting Sleep Mode, specifically after about one out of every five overnight sleep cycles. There is also a report that the time is not syncing correctly following daylight saving time. Put differently, the update doesn't break the time zone, but only affects the toggle or makes it very difficult to modify it.

Read more
Windows 11 multitasking is about to get even better
Windows 11 logo on a laptop.

Windows 11 already has great multitasking thanks to Snap Layouts. So, if you know how to split your screen in Windows 11 Snap Layouts, you're already aware of how good it is. And things will get even easier since the Windows 11 KB5046716 update is tinkering around with new Snap Layouts and hidden label ideas, as Phantomofearth noticed and confirmed by Windows Latest.

Windows Latest tested the features and can confirm that Microsoft is testing with different text options for the Snap Layouts, such as:

Read more