Free Chrome Extension - Automatically Attach and Convert Files for AI Platforms
Automatically creates file attachments when you paste text over your word threshold, and automatically detects the programming language to assign the correct file extension - Works on ChatGPT, Claude, Gemini, DeepSeek, and Grok
Multi-AI File Paster is a free Chrome extension that automatically attaches and converts your pasted text into file attachments on AI platforms. The extension has two core features working together: Auto-Attach automatically creates file attachments when your pasted content exceeds your word threshold (default 500 words, adjustable 50-15,000), and Auto-Convert automatically detects the programming language or file type and assigns the correct extension (.js, .py, .sql, etc.). You paste normally and the extension handles everything automatically in the background.
graph TD
A[User Pastes Text] --> B{Text Length > Threshold?}
B -->|No| C[Normal Paste]
B -->|Yes| D[Auto-Convert: Language Detection]
D --> E[Auto-Convert: Format Analysis]
E --> F[File Creation with Correct Extension]
F --> G[Auto-Attach: Automatic File Attachment]
G --> H[Clean Chat with Proper File]
style A fill:#2196F3,stroke:#1976D2,stroke-width:3px,color:#fff
style B fill:#FF9800,stroke:#F57C00,stroke-width:3px,color:#fff
style C fill:#9E9E9E,stroke:#757575,stroke-width:2px,color:#fff
style D fill:#4CAF50,stroke:#388E3C,stroke-width:3px,color:#fff
style E fill:#4CAF50,stroke:#388E3C,stroke-width:3px,color:#fff
style F fill:#9C27B0,stroke:#7B1FA2,stroke-width:3px,color:#fff
style G fill:#E91E63,stroke:#C2185B,stroke-width:3px,color:#fff
style H fill:#00BCD4,stroke:#0097A7,stroke-width:3px,color:#fff
Instead of manually creating text files and uploading them to AI platforms, you paste your text normally. The extension automatically detects when your content exceeds your threshold (auto-attach) and identifies the file type (auto-convert), then creates a properly formatted file attachment with syntax highlighting. This eliminates the tedious process of copying code, creating files, saving them, and uploading to ChatGPT, Claude, Gemini, DeepSeek, or Grok.
The extension works on Chrome, Edge, and Brave browsers. It recognizes 30+ file formats including Python, JavaScript, TypeScript, Java, C++, Go, Rust, Swift, Kotlin, HTML, CSS, PHP, JSON, XML, SQL, CSV, YAML, Shell scripts, and more. All processing happens on your device - no data is sent to external servers. The extension requires no configuration, no subscriptions, no hidden costs, and works immediately after installation.
| Without Extension | With Extension |
|---|---|
| Long code blocks break formatting | Clean file attachments |
| Hit character limits | No size restrictions |
| Messy conversations | Organized discussions |
| Manual file creation | Automatic detection |
| Copy-paste-save workflow | One-click attachment |
Multi-AI File Paster excels in development workflows. During code reviews, developers can share complete modules as organized files instead of messy text blocks that break formatting. For bug reports, it automatically converts error logs and stack traces into readable files that maintain proper structure and syntax highlighting.
Data analysts can upload CSV datasets and format JSON responses, while technical writers can share API documentation, endpoint specifications, and schemas as properly structured files. Students and educators use Multi-AI File Paster to submit homework and coding projects as formatted files that preserve code integrity and readability.
Multi-AI File Paster offers native integration with five major AI platforms including ChatGPT, Claude, Gemini, DeepSeek, and Grok. The extension automatically identifies 30+ different file formats with high accuracy, ensuring your code and documents are properly formatted every time.
Batch File Processing: Automatically detects multiple code blocks in pasted text and creates separate files for each block. Perfect for multi-file projects where you paste content containing javascript, python, and ```css blocks - each becomes its own properly formatted file.
Smart Language Detection: Automatically detects programming languages and content types to select the most appropriate file extension. Supports 30+ languages including JavaScript, TypeScript, Python, Java, C++, C#, Go, Rust, Ruby, PHP, Swift, Kotlin, Dart, Scala, R, Perl, Lua, Shell, SQL, HTML, CSS, JSON, XML, YAML, Markdown, CSV, and more.
Analytics Dashboard: View usage stats: total files, platform breakdowns, file type trends, time ranges (7/30/90 days, allβtime), and export data if you opt in.
Privacy and security are built into the core architecture. All processing happens locally on your device with zero external data transmission, meeting Chrome Manifest V3 compliance standards with minimal permissions. Multi-AI File Paster works immediately after installation with no configuration required, while offering customizable settings for word thresholds, delays, batch processing, smart language detection, and format overrides to match your workflow preferences.
| Requirement | Specification |
|---|---|
| Browser | Chrome 88+ or any Chromium-based browser |
| Operating System | Windows, macOS, Linux |
| Memory | Minimal impact (~2MB RAM) |
| Permissions | Storage, ActiveTab, Alarms |
| Internet | Required for AI platform access |
Developer Installation (Current)
-
Clone the Repository
git clone https://github.com/JosephMatino/MultiAiFilePaster.git cd MultiAiFilePaster -
Install in Chrome
- Open Chrome and go to
chrome://extensions/ - Enable Developer mode (toggle in top-right)
- Click "Load unpacked"
- Select the
MultiAiFilePasterfolder - Extension will appear in your toolbar! π
- Open Chrome and go to
-
Verify Installation
- Click the extension icon in your toolbar
- You should see the settings popup
- Visit any supported AI platform to test
Chrome Web Store (Recommended) One-click installation from Chrome Web Store - coming soon
- Visit Chrome Web Store (publishing in progress)
- Click "Add to Chrome"
- Confirm installation in popup dialog
- Extension ready! - No setup required
- Install: Load the extension using Developer Mode (see Installation section)
- Test: Navigate to ChatGPT and paste this sample code:
def fibonacci(n): if n <= 1: return n return fibonacci(n-1) + fibonacci(n-2) # Calculate first 10 Fibonacci numbers for i in range(10): print(f"F({i}) = {fibonacci(i)}")
- Result: The extension creates a clean
fibonacci.pyfile attachment automatically - Customize: Access settings through the extension popup to adjust thresholds and preferences
Multi-AI File Paster now handles all your code and document pastes across supported AI platforms.
Multi-AI File Paster works automatically once installed. Navigate to any supported AI platform like ChatGPT, Claude, Gemini, DeepSeek, or Grok, then paste your long content. When you paste text containing 500 or more words, it automatically detects the content format and creates a clean file attachment, keeping your conversation organized with properly formatted files.
For shorter content or immediate file creation, use manual controls. Press Ctrl/Cmd + Shift + S to instantly attach your current text as a file, or click the "Attach typed text as file" button in the extension popup. This works perfectly for shorter code snippets or documents that you want formatted as files regardless of length.
Multi-AI File Paster offers flexible customization options to match your workflow. Adjust the word threshold anywhere from 50 to 15,000 words (default is 500 words). Enable the delay feature for 1-15 seconds with a cancel button if you want time to review before file creation. Choose between automatic format detection or manually select your preferred file type.
| Platform | Status | URLs | Notes |
|---|---|---|---|
| ChatGPT | β Supported | chat.openai.comchatgpt.com |
File input + dragβdrop |
| Claude | β Supported | claude.ai |
File input (override option available) |
| Gemini | β Supported | gemini.google.com |
File input + dragβdrop fallback |
| DeepSeek | β Supported | chat.deepseek.com |
File input only |
| Grok | β Supported | x.com/i/grok |
File input only |
All platforms tested and fully compatible with v1.1.0
30+ Supported Formats with Smart Detection
π Text & Documentation
.txt- Plain text (safe fallback for unknown content).md- Markdown documentation and README files
π» Programming Languages
.js- JavaScript code and Node.js scripts.ts- TypeScript applications and type definitions.py- Python scripts and applications.java- Java applications and large codebases.cs- C# .NET applications and services.cpp- C++ system programming and applications.c- C system programming and embedded code.rb- Ruby scripts and Rails applications.go- Go microservices and system tools.rs- Rust system programming and WebAssembly.php- PHP web development code.sh- Shell scripts and automation.html- HTML markup and web pages.css- Stylesheets and design code
πΎ Data & Configuration
.json- JSON data, configs, and API responses.xml- XML documents and configurations.sql- Database queries and schemas.csv- Spreadsheet data and exports
π§ Custom Extensions
- Custom Format - Specify any file extension for specialized file types
- Auto-Detect - Smart detection with .txt fallback for safety
- Manual Override - Force specific file types through settings or code fences
Smart Language Detection
Multi-AI File Paster uses pattern recognition to identify file formats accurately:
How Detection Works:
- Pattern Analysis: Examines syntax patterns, keywords, and code structure
- Confidence Scoring: Only applies detected format when confidence exceeds 35% threshold
- Smart Fallback: Defaults to .txt for ambiguous content to prevent mislabeling
- Manual Override: Use markdown code fences (```python) or select format in settings
- Context Awareness: Distinguishes between similar formats (e.g., C vs C++, HTML vs Markdown)
Multi-AI File Paster delivers exceptional performance with instant language detection that completes in under 100 milliseconds. It maintains a minimal memory footprint, using less than 2MB of RAM while running. File creation works completely offline with no internet connection required - you only need internet access for the AI platforms themselves. Full cross-platform support across Windows, macOS, and Linux operating systems.
Why Use This Instead of Manual File Creation?
| Manual Method | Multi-AI File Paster |
|---|---|
| β±οΈ 30+ seconds per file | β‘ Instant (under 1 second) |
| π€ Guess the file format | π§ Smart auto-detection |
| π Type filename manually | π― Auto-generates meaningful names |
| πΎ Save to disk first | π Direct attachment |
| β±οΈ Repeat for every paste | βοΈ Set once, works forever |
Multi-AI File Paster supports 11 languages with complete native translations:
| Language | Native | Status | Coverage |
|---|---|---|---|
| English | English | β Complete | 677/677 keys |
| Ψ§ΩΨΉΨ±Ψ¨ΩΨ© | Arabic | β Complete | 677/677 keys |
| Kiswahili | Swahili | β Complete | 677/677 keys |
| EspaΓ±ol | Spanish | β Complete | 677/677 keys |
| ζ₯ζ¬θͺ | Japanese | β Complete | 677/677 keys |
| FranΓ§ais | French | β Complete | 677/677 keys |
| Π ΡΡΡΠΊΠΈΠΉ | Russian | β Complete | 677/677 keys |
| δΈζ | Chinese | β Complete | 677/677 keys |
| PortuguΓͺs | Portuguese | β Complete | 677/677 keys |
| Deutsch | German | β Complete | 677/677 keys |
| ΰ€Ήΰ€Ώΰ€ΰ€¦ΰ₯ | Hindi | β Complete | 677/677 keys |
Language Features:
- Full right-to-left text support for Arabic
- Context-aware translations for different UI contexts
- Chrome Standards: Following Chrome extension i18n best practices
- Auto-Detection: Browser language automatically detected
- Manual Selection: Override language in extension settings
- SHORT UI Text: Layout-optimized translations prevent UI overflow
- Real-time Sync: Language changes sync instantly across all components
The extension automatically detects your browser language and displays the appropriate interface. All user-facing text, tooltips, error messages, and settings are fully translated with professional quality.
Multi-AI File Paster prioritizes your privacy and security with complete protection:
- 100% Local Processing: All language analysis and file creation happens entirely on your device
- Zero Data Transmission: No data sent to external servers or third parties
- Complete Privacy: Your code and documents remain completely private
- Chrome Manifest V3: Built with latest Chrome security standards
- Minimal Permissions: Requests only essential permissions for core functionality
Multi-AI File Paster is designed to work reliably, but if you encounter issues, here are the most common solutions. If it isn't working, try refreshing the AI platform page and verify you're on a supported URL. When files aren't attaching automatically, check that your content meets the word count threshold (500+ words by default) and confirm the AI platform supports file uploads. If the wrong file format is detected, use manual format selection in settings or add code fences like ```python to your text. For settings that won't save, check your browser permissions and try disabling then re-enabling the extension.
"Wait, is this safe? I don't want my code sent to random servers."
Your code never leaves your computer. This extension works exactly like manually creating a file and uploading it - no external servers, no data transmission. Everything happens locally in your browser.
"I pasted my code but nothing happened. What's wrong?"
Most likely your text is under 500 words (the default threshold). Check the extension popup - you can lower this to 50 words or disable it completely. Also make sure you're on a supported AI platform (ChatGPT, Claude, Gemini, DeepSeek, or Grok).
"It created a .txt file instead of .py for my Python code. How do I fix this?"
The extension analyzes your code patterns to detect the language. For better detection, either use code fences like ```python in your text, or manually set the file format in the extension settings.
"Does this work on all AI platforms?"
Currently supports ChatGPT (both chat.openai.com and chatgpt.com), Claude (claude.ai), Google Gemini, DeepSeek, and Grok. Each platform has slightly different file upload systems, so the extension adapts accordingly.
"I'm worried about privacy. What data do you collect?"
By default, nothing. There's an optional analytics feature (disabled by default) that only tracks basic usage like "file created" - no content, no personal data. You can see exactly what's collected in the extension popup.
"Can I turn off the automatic file creation?"
Yes! You can disable auto-detection and use the manual "Save as File" button, or use the keyboard shortcut Ctrl/Cmd+Shift+S. You can also add a delay with a cancel button.
"Claude already has paste-to-file. Why do I need this?"
Claude's feature is basic. This extension adds smart language detection, customizable word thresholds, batch processing, and works consistently across all AI platforms. You can also disable the extension on Claude if you prefer their native feature.
"Does it support shell scripts and custom file extensions?"
Yes! The extension supports .sh files and custom file extensions. You can choose from 30+ built-in formats or specify your own custom extension for specialized file types.
"Why can't I see the analytics dashboard?"
The analytics dashboard is only visible when anonymous usage analytics is enabled in settings. This ensures no data is processed unless you explicitly opt in. Enable it in the extension popup under Privacy settings to see your usage insights.
|
CTO & Lead Developer π Website β’ π§ Email Technical architecture and implementation |
CEO & Scrum Master π Website β’ π§ Email Project management and coordination |
Getting Help:
- Technical Issues: dev@josephmatino.com
- Bug Reports: GitHub Issues
- Feature Requests: GitHub Issues
- General Support: wekturbo@hostwek.com
Development Setup:
# Fork and clone the repository
git clone https://github.com/JosephMatino/MultiAiFilePaster.git
cd MultiAiFilePaster
# Git Workflow (using included git.sh tool)
./git.sh # Interactive menu
./git.sh 18 # Check status
./git.sh 9 "Your commit message" # Commit changes
./git.sh 11 # Push to develop
# Load extension in Chrome Developer Mode
# 1. Open chrome://extensions/
# 2. Enable "Developer mode"
# 3. Click "Load unpacked" β Select project folder
# 4. Start developing! πGit Workflow Helper:
This project includes a git.sh tool for streamlined development:
# Interactive mode (shows beautiful menu)
./git.sh
# Programmatic mode (time-saving direct commands)
./git.sh 5 2 # Switch to branch #2
./git.sh 6 "feature-name" # Rename current branch
./git.sh 9 "Fix bug #123" # Commit with message
./git.sh 14 "v1.1.0" "Release v1.1.0" # Create release tagFeatures:
- Styled terminal output
- 21 git operations with clear LOCAL/REMOTE indicators
- Safety warnings for destructive operations
- GitHub Actions integration
- π Repository status display
π Complete Guide: See CONTRIBUTING.md for detailed development setup, coding standards, testing procedures, and contribution guidelines.
π€ Community Standards: All contributors must follow our Community Standards for collaboration and project participation.
This project uses the Hostwek Custom License. Personal, nonβcommercial use is permitted. Commercial use, redistribution, and derivative works require written authorization from Hostwek LTD. See the full license text in LICENSE.
π Recent Updates (Click to expand)
v1.1.0 (Current) - Latest Release
- β Batch File Processing - Automatically detects multiple code blocks and creates separate files
- β Smart Language Detection - Automatic file extension selection based on content analysis
- β Smart Code Detection - Recognizes both fenced (```language) and indented code blocks
- β Progress Indicators - Real-time feedback during batch processing and file operations
- β Complete Internationalization - 11 languages with 677 translation keys each
- β Comprehensive Testing - 105 automated tests (38 unit + 67 integration) with 100% pass rate
- β Professional Quality - Production-ready code rated 9.8/10 (Top 0.5% of Chrome extensions)
v1.1.0 - Manual Save & Error Handling
- β Fixed manual save error handling with specific, helpful error messages
- β Improved empty text detection - shows "No text found in chat input" instead of generic errors
- β Fixed word threshold logic - manual save now respects the Min Words setting instead of using separate threshold
- β Added platform-specific error guidance (ChatGPT, Claude, Gemini instructions)
- β Enhanced error recovery with better detection of connection and context issues
- β Clear toast notifications with actionable user feedback
v1.0.9 - Foundation Release
- β Multi-platform AI support (ChatGPT, Claude, Gemini, DeepSeek, Grok)
- β Smart language detection with 30+ file formats
- β Configurable settings and user preferences
- β Privacy-first on-device processing
- β Basic file attachment functionality
- β Chrome Extension Manifest V3 compliance
π Complete History: See CHANGELOG.md for detailed version history.
Chrome extension that makes AI conversations cleaner and more organized
Quick Action Links:
β Star on GitHub β’ π Report Bug β’ π‘ Request Feature β’ π§ Get Support β’ π€ Contribute
Β© 2025 Β· MultiβAI File Paster Β· Developed by Joseph Matino | Scrum Master: Majok Deng | powered by 
Making AI conversations cleaner, one file at a time π