Copying replies and code blocks Guide
Copy a full assistant reply or a single code block to your clipboard in one click, ready to paste anywhere.
Last updated July 16, 2026
On this page
When the assistant answers you in chat, you can copy its response to your clipboard and paste it wherever you need it — an email, a document, a code editor, or a message. You can copy an entire reply, or grab just a single code block on its own.
Copy a full reply
Use this when you want the whole answer — text, lists, and any formatting the assistant produced.
- Hover over (or tap) the assistant's message to reveal its actions.
- Select the copy action for that message.
- The full reply is now on your clipboard. Paste it into your destination with
Ctrl+V(Windows) orCmd+V(Mac).
The copied text keeps the reply's structure, so headings, bullet points, and numbered steps stay intact when you paste into an app that supports formatting.
Tip: If you only need part of a reply, you can also select the text directly with your cursor and copy it the usual way. Copying from the message action is the fastest route when you want everything.
Copy a single code block
When the assistant returns code, commands, or other technical output, it appears in a dedicated code block. Each block has its own copy control so you can lift just that snippet without any surrounding explanation.
- Find the code block in the reply.
- Select the copy control in the corner of that block.
- Paste the snippet directly into your terminal, editor, or wherever you need it.
Copying a code block gives you the exact contents — nothing else from the message is included, so there is no extra text to clean up before you run or reuse it.
Why copy the block instead of the whole reply
Code blocks preserve exact spacing, indentation, and line breaks, which matters for commands and scripts. Grabbing the block directly avoids picking up the assistant's commentary around it and keeps the snippet ready to use as-is.
Pasting into other apps
Once something is on your clipboard, it behaves like any other copied content:
- Plain-text destinations (code editors, terminals, plain notes) receive the raw text.
- Rich-text destinations (email, documents, many chat apps) keep the formatting from a full reply.
- If a destination adds unwanted styling, use its "paste without formatting" option — usually
Ctrl+Shift+VorCmd+Shift+V— to drop in plain text.
Copying deliverables the assistant creates
Some replies include finished files rather than text — a document, spreadsheet, image, or chart. Those are meant to be downloaded or previewed rather than copied as text. Use the download or preview option on the deliverable itself, then attach or share the file from there.
Troubleshooting
The copy action isn't showing
Message actions appear when you hover over a reply on the web app, or when you tap the message on mobile. If a reply is still streaming, wait for it to finish before copying so you capture the complete answer.
Nothing pasted, or the paste looks empty
Your browser may need permission to use the clipboard. Confirm the copy step completed, then try pasting again. If the destination app rejects rich text, use its plain-text paste option instead.
The pasted code lost its formatting
This usually happens when you copy an entire reply into a plain-text field. For code, copy the code block directly — it preserves exact spacing and line breaks — rather than copying the full message.
Note: Copying happens entirely on your device and doesn't send or share anything. Your conversation stays private, and copying a reply doesn't affect the chat itself.