Claude Project Files Extractor

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
sharmanhall
今日安裝
4
安裝總數
58
評價
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!