How to Paste with AI in Windows Using PowerToys
In this article
Yes, you can paste with AI in Windows using PowerToys, specifically through the Advanced Paste feature. It lets you transform clipboard content (text, images, files) into different formats or actions using AI—like summarizing, translating, or extracting text from an image—directly from a keyboard shortcut. You'll need PowerToys installed and an OpenAI API key (or a compatible endpoint) configured, plus Windows 10 or 11.
What You'll Need
- Windows 10 or 11 (64-bit)
- PowerToys installed from the Microsoft Store or the official GitHub release
- An OpenAI API key (or a custom endpoint that supports the same API format) – you can get one from OpenAI's platform site
- Internet connection for AI-powered actions
Step-by-Step
- Install PowerToys – If you don't have it, download it from the Microsoft Store (search “PowerToys”) or from the official PowerToys GitHub releases page. Run the installer and follow the prompts.
- Open PowerToys Settings – After installation, launch PowerToys from the Start menu or system tray. The PowerToys Settings window will open.
- Enable Advanced Paste – In the left sidebar, click on “Advanced Paste.” If it's not enabled, toggle the switch at the top to turn it on.
- Set up AI – In the Advanced Paste settings, look for the “AI” section. You'll see a field for “API Key” or “OpenAI API Key.” Paste your API key there. If you're using a custom endpoint, you can also set the “Endpoint” URL (e.g., a proxy or Azure OpenAI service).
- Choose a model (optional) – Some versions allow you to select the AI model (like GPT-4o or GPT-4o mini). If you see a dropdown, pick the one you have access to. If not, the default is fine.
- Copy something to the clipboard – Copy any text, an image, or a file (like a screenshot) using Ctrl+C or right-click > Copy.
- Open Advanced Paste – Press the default shortcut Windows+Shift+V. This brings up the Advanced Paste window. (If you changed the shortcut in settings, use that one.)
- Choose an AI action – In the Advanced Paste window, you'll see several options. For AI, look for buttons like “Summarize,” “Translate,” “Extract text from image,” or a custom prompt field. Click the one you want. If you want a custom action, type your instruction in the text box (e.g., “Rewrite this as a bullet list”).
- Paste the result – After the AI processes, the result appears in the window. Click “Paste” or press Enter to insert it into your document or field. The result is also copied to your clipboard automatically.
- Adjust settings if needed – If you want to change the shortcut or default behavior, go back to PowerToys Settings > Advanced Paste. You can also enable “Open Advanced Paste as a floating window” or “Paste directly” options.
Common Mistakes
- Not enabling Advanced Paste – If you press Windows+Shift+V and nothing happens, check that Advanced Paste is toggled on in PowerToys Settings.
- Missing API key – AI features won't work without a valid API key. Double-check that you've pasted it correctly (no extra spaces) and that it's active.
- Using the wrong shortcut – The default is Windows+Shift+V, but if you've changed it or another app uses that shortcut, it may conflict. Check your PowerToys settings.
- Not copying content first – Advanced Paste works on what's in your clipboard. If you haven't copied anything, it will show an error or be blank.
- Expecting offline AI – AI actions require an internet connection and the API service to be available. Offline, only non-AI paste options (like plain text or markdown) work.
Tips
- Use custom prompts for flexibility – Instead of preset actions, type a specific instruction like “Translate to Spanish” or “Make this more formal.” The AI will follow it.
- Keep your API key secure – Don't share it or paste it into public documents. PowerToys stores it locally, but be cautious.
- Test with a simple text first – Before relying on it, copy a short sentence and try “Summarize” to ensure your API key works.
- Combine with other PowerToys features – For example, use Text Extractor (Win+Shift+T) to grab text from an image, then use Advanced Paste to translate it.
- Change the shortcut if it conflicts – If Windows+Shift+V is used by another app (like Teams), change it in PowerToys Settings to something like Ctrl+Win+V.
Troubleshooting
If Advanced Paste isn't working as expected, try these steps in order:
- Restart PowerToys – Right-click the PowerToys icon in the system tray and select “Exit,” then reopen it from Start.
- Check your API key – Go to PowerToys Settings > Advanced Paste and verify the key is correct. If you just created it, wait a few minutes for it to propagate.
- Update PowerToys – Make sure you have the latest version. Go to PowerToys Settings > General and click “Check for updates” or download from GitHub.
- Test your internet connection – AI features need internet. Try opening a website in your browser.
- Check for errors in the Advanced Paste window – If you see an error message, read it. Common errors include “Invalid API key” or “Model not found.” If it says “Model not found,” switch to a different model in settings (like GPT-4o mini).
- Reinstall PowerToys – If nothing works, uninstall PowerToys from Settings > Apps, restart your PC, and install it fresh. This clears any corrupted settings.
Frequently Asked Questions
Is Advanced Paste free?
PowerToys is free, but AI features require your own OpenAI API key, which is paid based on usage. You can get a free trial credit when you sign up, but after that, you pay per request.
Can I use Advanced Paste offline?
Yes, but only for non-AI actions like pasting as plain text, markdown, or JSON. AI actions like summarize or translate need an internet connection.
Does Advanced Paste work with images?
Yes, you can copy an image and use “Extract text from image” or “Describe image” if your AI model supports vision. The result will be text that you can paste.
What if I don't have an OpenAI API key?
You can use a custom endpoint that supports the OpenAI API format, such as Azure OpenAI, or you can sign up for an OpenAI account and create a key. Without any key, AI features won't work.
Does it work with files like PDFs or Word documents?
Advanced Paste works with clipboard content. If you copy a file (e.g., a .txt file), it may paste the file path. For PDFs, you'd need to copy the text from the PDF first. There's no direct file parsing.
Is my clipboard content sent to OpenAI?
Yes, when you use an AI action, the clipboard content is sent to the AI service you configured. Be careful with sensitive data. PowerToys doesn't store your clipboard history by default.