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).

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.
The MacBook monopoly just got overturned
The Surface Laptop shown in front of a Copilot+ sign.

MacBooks have had a good ride.

It's been four years of running circles around Intel, AMD, Microsoft, and every laptop manufacturer with their Apple Silicon ARM chips. Until very recently, PC sales had been tanking too, all while Macs were holding steady.

Read more
This is the PC gaming hardware I’m still looking forward to in 2024
A PC featuring Lian Li's wireless RGB ecosystem showcased at Computex 2024.

I've looked at a ton of PC gaming hardware this year already, but there's a lot of time left in 2024. Between new generations of CPUs from AMD and Intel, innovative peripherals, and applications of AI in PC gaming that we haven't seen before, there's a lot I'm still looking forward to in the back half of the year.

We've hit the second phase of product releases for 2024, kicking off with AMD's Ryzen 9000 CPUs arriving in July. As we get deeper into the year, there will undoubtedly be more products that we learn about. For now, though, here's what I'm keeping an eye on throughout the rest of the year.
AMD Ryzen 9000

Read more
Best offers in the “Walmart Deals” Sale: TVs, laptops, appliances
Walmart store logo at night.

The Walmart Deals event is here. It's a summer celebration from Walmart that comes after July 4th but before Amazon's Prime Day deals event. Walmart is already known for low prices, especially on mid-tier goods, so this can be a great way to get an intense bargain on something that you might otherwise hold off on buying until later. While there are deals that stretch through the entirety of Walmart's selection, here are a few of our favorites from sections that Digital Trends readers are likely to care about.

Best TV deals in the Walmart sale

Read more