Combine multiple files into one AI-ready prompt effortlessly.
OneFile is a free, open-source tool that solves common frustrations when working with AI platforms:
- 😫 Tired of hitting file upload limits on ChatGPT, Claude, or Gemini?
- 🔄 Manually uploading the same files repeatedly to different AI assistants?
- 📁 Can't upload entire folders to get comprehensive help?
- 📚 Need to combine study materials, research papers, or project documents?
OneFile solves these issues by combining multiple files (code, PDFs, docs, CSVs, etc.) into a single, well-formatted prompt that you can use anywhere. It intelligently processes your files while skipping unnecessary content like dependencies and build artifacts.
- 📁 Universal File Support: Combine any file type - PDFs, Word docs, spreadsheets, code files, text files, and more
- 🎯 Smart Processing: Automatically handles multiple file formats while preserving structure and relationships
- 🚫 Intelligent Filtering: Automatically filters out binary files, dependencies, and other non-text content
- 📋 Easy Export: Copy to clipboard or download your formatted prompts with a single click
- 🌐 Completely FREE & open-source!
- Students: Combine lecture slides, study guides, and assignments for AI-powered study help
- Researchers: Merge research papers, drafts, and notes for thesis/dissertation feedback
- Business Professionals: Gather emails, meeting notes, and project docs for AI-assisted meeting prep
- Data Analysts: Combine CSVs and data files for AI-driven pattern analysis
- Legal Professionals: Aggregate case files, precedents, and evidence for AI-powered legal research
- Entrepreneurs: Merge competitor analysis, market research, and financials for AI-generated business pitches
- Developers: Transform code files into AI-ready prompts for code review and analysis
- Node.js 18+
- npm or yarn
- Clone the repository:
git clone https://github.com/wahibonae/onefile.git
cd onefile- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 in your browser
- Enter Your Prompt: Start by typing your prompt or question in the input field
- Add Files: Either:
- Drag and drop files/folders into the upload area
- Click "Choose Files" to select individual files
- Click "Choose Folder" to select an entire directory
- Generate: Your AI-ready prompt is generated automatically
- Export: Either:
- Copy the generated prompt to your clipboard
- Download it as a text file
-
Student: "I have 15 PDF lecture slides, 8 study guides, and 12 homework assignments – I want ChatGPT to create practice questions but can't upload them all at once."
-
Data Analyst: "I have many CSV files from different months/regions and want AI to find patterns, but I can only upload a few at a time and lose context between conversations."
-
Business Professional: "I have emails, previous meeting notes, project docs, and agenda items scattered across 25+ files – I need AI to help me prepare but keep hitting limits."
-
Researcher: "I want to combine multiple research papers and my draft thesis chapter to get AI feedback on my literature review."
- Next.js - React framework
- Tailwind CSS - Styling
- Shadcn/ui - UI components
- Lucide Icons - Icons
- React Hot Toast - Notifications
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please make sure to update tests as appropriate and adhere to the existing coding style.
This project is licensed under the MIT License - see the LICENSE file for details.
ABKARI Mohamed Wahib
- GitHub: @wahibonae
- Twitter: @wahibonae
- LinkedIn: Mohamed Wahib ABKARI
- Thanks to everyone who inspired us to build OneFile
- Thanks to the community for the support and feedback
- Inspired by the need to streamline AI interactions with multiple files
- Custom ignore patterns
- Prompt templates for different use cases
- Multiple output formats for different AI models
- API endpoint for programmatic access
- Batch processing for large file sets
- Integration with popular cloud storage services
Made with ❤️ by wahib
