Copy just the changes.
Copy selected Git diffs instead of whole files.
Select files in VS Code. Copy their contents and project tree together, then paste into your AI chat.
import { add } from './math';
console.log(add(2, 3));export function add(
a: number, b: number
) {
return a + b;
}└── src
├── index.ts
└── math.ts# File Contents## src/index.tsimport { add } from './math'; console.log(add(2, 3));Copy changes, skip unwanted files and reuse your last selection.
Copy selected Git diffs instead of whole files.
Markdown, XML or plain text.
Optional token counts, calculated offline.
Skip dot files, root .gitignore matches and your own exclusions.
Include the project tree, or copy it on its own.
Reuse your selection. Copy the latest saved contents.
Copy4AI puts the copied text on your clipboard. You choose what to paste, and where.
No account. No API key. No subscription.
The full extension, without a paid tier.
Read the code. Report an issue. Make it better.
More details in the docs.
Read the documentationNo. Install the extension, select your files and copy. Copy4AI works without an account or API key.