devpocket.dev

Codebase to Prompt

Pack project files into one local, token-aware prompt for ChatGPT, Claude, or any LLM.

Runs locally
Loading tool…

How to use

Drop project files or a folder, use the pickers, or paste one file. The default ignore rules skip dependencies, builds, lockfiles, media, minified assets, and .env*; edit the patterns or apply the dropped .gitignore when needed. Set a per-file limit, choose XML tags, Markdown, or plain text, and optionally add line numbers. Review the token-sorted file table and uncheck low-priority files until the estimate fits your budget. A warning flags credential-shaped text, but always review the packed prompt before copying it to an LLM.

FAQ

Are project files uploaded?

No. File reading, filtering, packing, token estimation, copying and downloading all happen locally in your browser.

Is this a Repomix online alternative?

It covers the core repo-to-prompt workflow without a server: recursive folder import, ignore rules, a directory tree, three output formats and per-file token estimates.

How are binary files and secrets handled?

Known binary extensions are ignored by default, remaining files are checked for binary bytes, and credential-shaped text triggers a warning. Environment files are excluded by default.

Related tools