The smart file aggregator for AI context,
code reviews, or archiving.
npx dumpall . -e node_modules
Watch `dumpall` quickly transform your project files into structured Markdown.
Formats content into clean Markdown fenced code blocks, ideal for AI consumption.
Copy the entire formatted output directly to your clipboard with a single flag.
Easily ignore unwanted directories like `node_modules` or `.git` with `--exclude`.
Fine-tune `dumpall`'s behavior to fit your exact needs.
| Option | Alias | Description |
|---|---|---|
--exclude <pattern> |
-e | Exclude glob pattern. Repeatable. |
--clip |
-c | Copy output to clipboard. |
--out <file> |
-o | Write output to a file. |
--note [text] |
-m | Prepend a message or prompt. Omit value for interactive input. |
--tree |
Prepend a directory tree to output. | |
--tree-only |
Output only the directory tree. | |
--tokens |
Show estimated token count. | |
--max-tokens <n> |
Truncate to fit token budget (drops largest files first). | |
--format <fmt> |
Output format: md (default), xml, json. | |
--share |
Upload and print a shareable URL. | |
--qr |
Upload and display a scannable QR code. | |
--version |
-v | Show the current version. |
--help |
-h | Show help. |
Get started quickly with these common use cases.
Process all files in the current folder, ignoring `node_modules` and `.git` directories.
npx dumpall . -e node_modules -e .git
Get the formatted content of your `src` folder directly into your clipboard.
npx dumpall ./src --clip
Pull any public repo directly — no cloning needed. Cached locally for speed.
npx dumpall github.com/owner/repo
Upload output and get a shareable link. Add --qr for a scannable QR code instead.
npx dumpall src/ --share