Buy Me a Coffee

Files to GPT

Pool multiple files into a single prompt for AI models like ChatGPT or Claude.

File Processing

Use this section to upload the files you want to include in your prompt.


Use {filename} where you want the file name to appear.

Drag and drop files

(or click to select a folder)

Drag and drop is supported in most modern browsers (except Brave, apparently).
Note: Files over 500KB will be ignored.

    Prompt Building

    Craft your prompt by providing a task description and selecting specific instructions for the AI to follow.


    Use the sections below to add specific instructions or guidelines to your prompt.

    Select coding guidelines and best practices you want the AI to follow when generating or reviewing code.

    Choose project management tasks you want the AI to assist with, such as task extraction, timeline generation, and risk assessment.

    Select academic tasks for the AI to perform, such as summarizing findings or formatting citations in a specific style.

    Final Prompt

    Estimated Tokens (based on GPT-4o): 0

    About Files to GPT

    Files to GPT helps you efficiently create AI prompts from multiple files by processing them into a single, organized prompt. Whether you're analyzing code, reviewing documentation, or processing project files, Files to GPT streamlines the process.

    Core Features

    File Handling
    • Upload multiple files or entire folders
    • Support for common development file types
    • Preview processed content before use
    • Automatic file type filtering
    Customization
    • Customize file separators
    • Flexible file ignore patterns
    • Task-specific instructions
    • Token count tracking

    Why Use Files to GPT?

    Privacy & Security
    • No permanent data storage
    • Files processed securely
    • Simple, transparent process
    • Clear error handling
    Efficiency
    • Save hours of manual copy/pasting
    • Smart file filtering and ignores
    • Real-time token counting
    • Bulk directory processing
    Active Development
    • Continuously improved
    • Responsive developer support
    • Quick bug fixes
    • Community-driven features

    File Filtering

    Control which files are included in your prompt using pattern matching:

    Pattern Examples
    • *.pyc - Ignore Python compiled files
    • test_* - Ignore test files
    • node_modules - Ignore specific folders
    • *.min.* - Ignore minified files
    • *cache* - Ignore cache-related files
    Features
    • Wildcard (*) pattern matching
    • Case-insensitive matching
    • Multiple patterns using commas
    • Folder path matching
    • Default ignore patterns provided

    Technical Details

    Limitations
    • Maximum file size: 500KB per file
    • Maximum total upload: 10MB
    • Text files only
    • UTF-8 encoding required
    Processing
    • Automatic file type detection
    • Built-in pattern matching
    • Token counting for GPT models
    • Error reporting for invalid files

    Usage Tips

    Organization
    • Group related files together
    • Use descriptive task prompts
    • Filter unnecessary files
    • Break large projects into chunks
    Optimization
    • Monitor token counts
    • Use the task templates
    • Provide clear instructions
    • Include relevant context

    Troubleshooting

    • Break large files into smaller parts
    • Remove unnecessary content
    • Use ignore patterns for large files
    • Keep total upload under 10MB

    • Watch the token counter
    • Process files in batches if needed
    • Remove duplicate content
    • Filter non-essential files

    • Ensure files are text-based
    • Check file extensions
    • Verify UTF-8 encoding
    • Convert binary files to text

    Contact and Support

    Questions, feedback, or issues? Reach out at filestogpt@proton.me