π
Files2Prompt
Browse repos or local folders Β· Select files Β· Generate prompts
π GitHub Repo
π Local Files
βοΈ
π
Load Repo
π
Drop a folder here
or click to browse your local files
β or β
π Choose Folder
β οΈ The File System Access API is required but not supported in this browser. Please use Chrome, Edge, or Brave.
π
Change Folder
π Reload
π
Paste a GitHub repo URL above
Browse the file tree, select what you need, and generate a prompt-ready text block with all the content.
Select All
Deselect All
π Generate
π§ Token Budget:
No limit
4K
8K
16K
32K
64K
128K
Customβ¦
0 / 32,000 tokens
βΆ
π Prompt Templates
Custom Template
Use
{files}
as placeholder for selected file content.
πΎ Save Template
βΆ Use Now
π File Tree
π Output
1οΈβ£ Lines
π Copy
β¬οΈ Download
0 chars
~0 tokens
0 files
βοΈ Settings
GitHub Personal Access Token
Optional. Increases rate limit from 60 to 5,000 requests/hour. Required for private repos. Stored locally in your browser.
Ignore Patterns
One pattern per line. Supports glob-style: * matches anything, / suffix matches directories.
Max file size to read (KB)
Files larger than this are skipped during content generation.
Auto-load .gitignore patterns
When enabled, reads .gitignore from the folder root and applies its patterns.
Cancel
Save
π§ Custom Token Budget
Enter token limit
Set the maximum number of tokens for your prompt output.
50K
100K
200K
500K
1M
Cancel
Apply