Context Copy for VS Code
Bulk Copy the content of multiple files and folders from the VS Code Explorer onto your clipboard, formatted in markdown. Perfect to use as context for ChatGPT, Gemini, Claude, or Ai Studio.
Copy multiple files in a way that llms can easily understand by appending filenames, and having clear file boundaries. Formatted in markdown with filenames as headers.
Copy Files and Folders

Features
- Multi-Select Support: Select any combination of files and folders
- Customizable exclusions: Configure which files and folders to exclude
- Smart Filtering:
- Skips .env | binary files | images/videos | archives
- Skips excessively large files (files > 5MB not copied)
- Recursive Folder Copy: Copies all valid files within selected folders and subdirectories
Usage
- Select one or more files/folders in vscode menu explorer
- Right-click on your selection
- Choose "Context Copy: llm friendly formatting" from the menu
- A brief success message will appear in the Status Bar (bottom left)
- Paste the content into your LLM prompt, text file, or anywhere else!
- images, videos, and binary files are skipped
Configuration
You can customize which files and folders are excluded from copying:
- Open the command palette (Ctrl+Shift+P / Cmd+Shift+P)

- Search for "Copy Context: Edit Excluded Paths"
- Use the dialog to manage exclusions:
- Enable/disable existing exclusions: Click the toggle button to mark paths for removal
- Add new exclusions: Select "Add new exclusion..." and enter a path
- Reset to defaults: Select "Reset to defaults" to restore the original exclusion list
- Finalize your changes: Press Escape to close the dialog and apply all changes at once
All changes (including reset to defaults) are staged until you close the dialog, allowing you to experiment with different configurations before committing. Default exclusions are clearly marked to help you identify custom vs. built-in settings.
By default, the following paths are excluded:
.git
node_modules
out
dist
.env
.vercel
.next
.vscode-test
Known Issues
- Currently, no known issues. Please report any bugs!
Future Roadmap
- Ignore everything in the .gitignore
Contributing
Contributions, issues, and feature requests are welcome! Please open an issue or submit a pull request on Github: project repository .
