Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Export your Project as txt, json, or mdNew to Visual Studio Code? Get it now.
Export your Project as txt, json, or md

Export your Project as txt, json, or md

infinitehoax

|
15 installs
| (0) | Free
Export the current workspace (structure + source code) as Markdown, JSON or plain text.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Project Exporter for AI 🚀

GitHub | Sponsor | Report Issue

Export your entire project in AI-friendly formats with one click. Get better, more accurate assistance from ChatGPT, Claude, and GitHub Copilot by providing complete project context!

✨ Features

  • One-Click Export: Export your entire project structure and contents instantly from the status bar
  • Multiple Formats:
    • 📝 Markdown - Perfect for ChatGPT/Claude
    • 🔄 JSON - For programmatic processing
    • 📄 Plain Text - Universal compatibility
  • Smart Filtering: Automatically excludes node_modules, binaries, and other unnecessary files
  • Quick Export: Instantly export current file or selection
  • Easy Access: Status bar button and command palette integration

🚀 Quick Start

  1. Click the "Export for AI" button in status bar
  2. Choose format (Markdown/JSON/Text)
  3. Select save location
  4. Paste into your AI tool!

💡 Example Use Cases

  • Get better AI code assistance by sharing full project context
  • Easy code reviews - share relevant files with proper structure
  • Quick documentation - export project structure and contents
  • Team collaboration - share code context efficiently

Configuration

You can customize file exclusions in your VS Code settings:

  1. Open VS Code Settings (Ctrl+,)
  2. Search for "Project Exporter"
  3. Add custom exclusion patterns under "Project Exporter: Custom Exclusions"

Example settings.json:

{
    "projectExporter.customExclusions": [
        "**/temp/**",
        "**/*.private.*",
        "**/secrets/**"
    ]
}

Patterns use glob syntax similar to .gitignore patterns.

❤️ Support Development

If you find this extension helpful, consider:

  • ⭐ Star the GitHub repository
  • 💖 Sponsor this project
  • 🐛 Report issues and suggest features

Your support helps keep this extension maintained and improved!

💚 Support

  • Found a bug? Open an issue
  • Have a suggestion? Let us know
  • Need help? Create a support ticket
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft