You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PowerToys **Advanced Paste** is a tool that enables you to paste the text from your clipboard into any format needed. It can paste as plain text, markdown, or JSON directly with the UX or with a direct keystroke invoke. These actions are executed entirely on your local machine. Additionally, the tool has an AI-powered option that is 100% opt-in and requires entering an OpenAI key in settings.
11
+
PowerToys **Advanced Paste** is a tool that enables you to paste the content from your clipboard into any format needed. It can paste as plain text, markdown, JSON, .txt file, .html file, or .png file directly with the UX or with a direct keystroke invoke. It can also extract and paste the text directly from an image in your clipboard. These actions are executed entirely on your local machine. Additionally, the tool has an AI-powered option that is 100% opt-in and requires entering an OpenAI key in settings.
12
12
13
13
## Getting started
14
14
@@ -30,16 +30,20 @@ From the Settings menu, the following options can be configured:
30
30
| Custom format preview | Enable to preview the output of the custom format before pasting. |
31
31
| Clipboard history | Enable to automatically save clipboard history. |
32
32
| Open Advanced Paste shortcut | The customizable keyboard command to open the **Advanced Paste** window. |
33
+
| Automatically close the Advanced Paste window after it loses focus | Determines whether the Advanced Paste window will close after focus is lost from the window. |
34
+
| Custom Actions | Create and manage advanced paste custom actions. (Requires Paste with AI to be enabled). |
33
35
| Paste as plain text directly shortcut | The customizable keyboard command to paste as plain text without opening the **Advanced Paste** window. |
34
36
| Paste as Markdown directly shortcut | The customizable keyboard command to paste as Markdown without opening the **Advanced Paste** window. |
35
37
| Paste as JSON directly shortcut | The customizable keyboard command to paste as JSON without opening the **Advanced Paste** window. |
38
+
| Additional actions: Image to Text | Turn on/off the Image to text paste action and configure the customizable keyboard command. |
39
+
| Additional actions: Paste as file | Turn on/off the set of Paste as File actions which include Paste as .txt file, Paste as .png file, Paste as .html file. Optionally configure the customizable keyboard command for each of these actions.
36
40
37
41
> [!IMPORTANT]
38
42
> It's possible to set <kbd>Ctrl</kbd>+<kbd>V</kbd> as an activation shortcut. This is not recommended, as overriding this shortcut may have unintended consequences.
39
43
40
44
## Advanced text paste
41
45
42
-
Advanced Paste includes several text-based paste options. These options are available in the **Advanced Paste** window, which can be opened using the activation shortcut. You can also paste as plain text, markdown, or JSON directly using the customizable keyboard commands.
46
+
Advanced Paste includes several text-based paste options. These options are available in the **Advanced Paste** window, which can be opened using the activation shortcut. You can also use the customizable keyboard commands to directly invoke a paste action with quick keys.
> Paste as Markdown is a feature that runs locally and doesn't use AI.
102
106
107
+
### Paste as .txt file
108
+
109
+
**Paste as .txt file** enables you to paste text stored in your clipboard as a .txt file with an auto-generated file name. You can optionally set a quick key shortcut in settings.
110
+
111
+
Sample input:
112
+
113
+
```text
114
+
Hello World!
115
+
```
116
+
If pasting files is accepted within the application that you are using (e.g. File Explorer), then the paste as .txt file action will take the input text and paste a .txt file.
117
+
118
+
### Paste as .html file
119
+
120
+
**Paste as .html file** enables you to paste text stored in your clipboard as a .html file with an auto-generated file name. You can optionally set a quick key shortcut in settings.
121
+
122
+
Sample input:
123
+
124
+
```html
125
+
<!DOCTYPE html>
126
+
<html>
127
+
<head>
128
+
<title>PowerToys</title>
129
+
</head>
130
+
<body>
131
+
<h1>PowerToys</h1>
132
+
<p>PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity.</p>
133
+
</body>
134
+
</html>
135
+
```
136
+
If pasting files is accepted within the application that you are using (e.g. File Explorer), then the paste as .html file action will take the input text and paste a .html file.
137
+
103
138
### Paste text with AI
104
139
105
140
When you paste text with AI, the text is analyzed and formatted based on the context of the text and the prompt provided to the OpenAI call. This feature requires that an OpenAI API key be provided in the PowerToys settings, and that you have available credits in your account.
@@ -128,4 +163,20 @@ AI output when prompting to "Format the text as if it were written by Mark Twain
128
163
> [!NOTE]
129
164
> As with any AI tool, the quality of the output is dependent on the quality of the input. The more context you provide, the better the AI will be able to understand and respond to your request. Be sure to carefully review the output before using it. Please see OpenAI's [privacy](https://openai.com/policies/privacy-policy) and [terms](https://openai.com/policies/terms-of-use) pages for more info on AI usage in this feature.
130
165
166
+
167
+
## Advanced image paste
168
+
169
+
Advanced Paste includes several image-based paste options. These options are available in the **Advanced Paste** window, which can be opened using the activation shortcut. You can optionally set a quick key shortcut in settings.
170
+
171
+
### Paste Image to text
172
+
173
+
**Paste image to text** enables you to extract the text from an image in your clipboard and quickly paste the extracted text, using a quick key shortcut.
174
+
175
+
> [!NOTE]
176
+
> Paste as Image to text is a feature that runs locally using local OCR.
177
+
178
+
### Paste as .png file
179
+
180
+
**Paste as .png file** enables you to quickly paste an image format, like a bitmap, to a .png file. You can optionally create a quick key shortcut to invoke this paste action.
0 commit comments