Context packer
Turn a code folder into one prompt-ready Markdown or XML text with a file tree and token counts, honouring .gitignore and skipping binaries and lockfiles.
Every browser can choose a folder; dropping a folder works in Chrome, Edge, Firefox and Safari.
Questions
What is left out by default?
Files your .gitignore files exclude (nested ones too), the .git and node_modules folders, lockfiles like package-lock.json or pnpm-lock.yaml, binary files (images, archives, fonts, media and anything with NUL bytes) and files over 512 KB. You can change each of these.
Markdown or XML?
Both carry the same content. XML tags make the file boundaries very clear to a model, which Anthropic suggests for long documents; Markdown reads nicely for people too. Pick whichever your model or workflow prefers.
How are tokens counted?
By default with an estimate of about 4 characters per token. Pick the GPT-4o, GPT-4 or legacy Claude tokenizer for real counts; they download once and run in your browser.
Is my code uploaded?
No. The folder is read in this tab and nothing leaves your device.