Export your codebase instantly • 100% local • Zero uploads • Complete privacy
Code Snapshot is a privacy-first, client-side tool that lets developers export their entire codebase as either:
- 📄 Combined TXT: All files merged into one document with metadata headers
- 🗜️ ZIP Archive: Complete folder structure preserved in a compressed archive
Everything happens in your browser - no files are uploaded, no data is tracked, no servers involved.
- 100% Client-Side: All processing happens in your browser via WebAssembly & Web Workers
- Zero Uploads: Your code never leaves your computer
- No Tracking: No analytics, no cookies, no telemetry
- Open Source: Audit the entire codebase yourself
- Handles 10,000+ files efficiently with chunked processing
- Memory-safe: Streams data to avoid browser memory limits (tested with 1.5GB+ projects)
- Real-time progress: Live progress bars with cancel capability
- Fast compression: Uses fflate (3-5x faster than JSZip)
- VS Code-inspired UI: Dark theme, resizable sidebar, keyboard shortcuts
- Drag & Drop: Import files or entire folders recursively
- File Tree: Collapsible explorer view with search-ready structure
- Easy Management: Remove individual files or clear all with one click
| Scenario | Recommendation |
|---|---|
| Total size < 200MB | Works perfectly for both TXT and ZIP exports |
| Total size 200MB–2GB | ZIP recommended; TXT may be slow but supported |
| Total size > 2GB | |
| 10,000+ files | Chunked processing handles this efficiently |
| Binary files (images, videos) |
- Use ZIP for large codebases - faster and smaller output
- Filter out binaries before TXT export:
- Images:
*.jpg, *.png, *.gif, *.svg - Videos:
*.mp4, *.webm, *.mov - Archives:
*.zip, *.tar, *.gz
- Images:
- Exclude dependencies:
node_modules,vendor,.gitare auto-excluded - Monitor browser memory: Close other tabs when exporting >1GB projects
Contributions are always welcome. Feel free to suggest improvements, report issues, or submit changes to help make Code Snapshot better.
- Found a bug? Open an issue
- Have a feature idea? Create an issue or reach out
- Want to improve code? Fork and submit a pull request
- Improve docs? Documentation updates are always appreciated
Feel free to reach out anytime:
- Open an issue on GitHub
- Ask anything, no question is too small
- Open to discussing ideas and improvements
MIT License - See LICENSE for details
Find this tool useful? Consider:
- Starring the repository
- Sharing with other developers
- Reporting bugs to help improve it
Thank you for using Code Snapshot.