Claude Project Files Extractor

Download/extract all files from a Claude project as a single ZIP

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
sharmanhall
日安装量
1
总安装量
87
评分
0 0 0
版本
3.0
创建于
2025-07-02
更新于
2025-07-08
大小
20.3 KB
许可证
MIT
适用于

Claude Project Files Extractor (ZIP Export)

A powerful Tampermonkey userscript that extracts all files from your Claude AI projects and downloads them as a single ZIP file with intelligent filename detection and content preservation.

Claude Project Files Extractor

🚀 Key Features

  • One-Click ZIP Export: Downloads all project files in a single convenient ZIP archive
  • Smart File Detection: Automatically finds and extracts project knowledge files from the sidebar
  • Intelligent Naming: Recognizes file types and preserves meaningful names:
    • Project_Instructions.txt for project prompts/custom instructions
    • document_name.pdf.txt for PDF content extracted as readable text
    • data_file.json for JSON files with proper extension
    • spreadsheet.xlsx.txt for Excel content as text
    • email.eml.txt for email files
  • Real-Time Progress: Button shows live status with clear progress messages
  • Robust Fallback: Falls back to individual file downloads if ZIP creation fails
  • Cross-Browser Compatible: Tested and works reliably in Chrome, Firefox, and Edge
  • Zero Configuration: Automatically loads required libraries (JSZip) from CDN

🎯 What Gets Exported

  • All Project Knowledge Files: Every file you've uploaded to the project knowledge base
  • Full Text Content: Extracts readable text from PDFs, Word docs, and other file types
  • Project Metadata: Export timestamp, project title, URL, and detailed file information
  • Clean Organization: Files are properly named and organized within the ZIP
  • Content Integrity: Preserves original file content without UI interference

📦 Export Format

Downloads a single ZIP file containing:

ProjectName_export_2025-01-08T10-30.zip
├── Project_Instructions.txt
├── user_manual.pdf.txt
├── config_data.json
├── meeting_notes.md
├── contact_list.csv
└── _export_metadata.json

🔧 How to Use

  1. Install the script via Tampermonkey/Greasemonkey
  2. Navigate to any Claude project (claude.ai/project/...)
  3. Look for the floating export button in the bottom-right corner
  4. Click "📁 Export Project Files" to start the process
  5. Watch the progress as files are detected, extracted, and packaged
  6. Download your ZIP automatically when complete!

💡 Button Status Messages

  • 🔄 Loading ZIP library... - Setting up export tools
  • 🔄 Scanning for files... - Finding all project files
  • 🔄 Creating ZIP (5 files)... - Packaging and compressing files
  • ✅ ZIP exported! (5 files) - Success! Download started
  • ❌ No files found - No extractable files detected in project

🛠️ Technical Details

  • Dynamic Library Loading: Loads JSZip library only when needed (no bloat)
  • Advanced Modal Interaction: Intelligently opens files and extracts content from preview dialogs
  • Smart Content Filtering: Removes UI elements and extracts only meaningful file content
  • Comprehensive Error Handling: Graceful fallback mechanisms and clear error reporting
  • Memory Efficient: Processes files sequentially to avoid browser memory limits
  • Detailed Logging: Console output for debugging and progress tracking

🎨 Perfect For

  • Project Backup: Safeguard your work before making major changes
  • Team Collaboration: Share complete project files with colleagues
  • Project Archival: Store completed projects for future reference
  • Account Migration: Move projects between different Claude accounts
  • Offline Access: Work with project content without internet access
  • Documentation: Create comprehensive project documentation packages
  • Version Control: Track project evolution over time

🔒 Privacy & Security

  • 100% Local Processing: All file extraction happens in your browser
  • No External Servers: Files transfer directly from Claude to your downloads
  • Zero Tracking: Script only interacts with Claude.ai pages you're viewing
  • Open Source Transparency: Full code available for review and customization
  • No Data Collection: Your files and data remain completely private

📋 Installation Requirements

  • Userscript Manager: Tampermonkey, Greasemonkey, or Violentmonkey
  • Modern Browser: Chrome 90+, Firefox 88+, or Edge 90+
  • JavaScript Enabled: Required for script functionality
  • Claude AI Access: Valid account with project access

⭐ Why Choose This Script?

Unlike manual copy-paste or tedious individual downloads:

  • Massive Time Savings - Extract dozens of files in seconds vs hours of manual work
  • Perfect Organization - Maintains file structure, names, and metadata automatically
  • Universal Compatibility - Handles PDFs, docs, spreadsheets, code files, and more
  • Rock-Solid Reliability - Extensively tested across browsers and project types
  • Instant Setup - Works immediately after installation with zero configuration
  • Future-Proof - Automatically adapts to Claude UI changes

🆕 Version 3.0 Highlights

  • Major Rewrite: Complete overhaul of file detection and extraction logic
  • Better Filenames: Dramatically improved filename extraction and cleaning
  • Enhanced Content Detection: More reliable content extraction from various modal types
  • Robust Error Handling: Better recovery from failed extractions
  • Improved Logging: Detailed console output for troubleshooting

Transform your Claude project management workflow with this essential productivity tool! Save hours of manual work and ensure you never lose valuable project content again.

🐛 Support & Feedback

Having issues? Check the browser console for detailed logs, and feel free to report bugs or suggest improvements!