open source · MIT

Pack any folder.
LLM-ready in seconds.

foldermix bundles a local directory into a single context file you can drop straight into ChatGPT, Claude, Gemini, or any other LLM. Pick your workflow — CLI, native desktop app, or the web.

bash
$ pip install foldermix
$ foldermix pack ./my-project --out context.md
Scanning ./my-project ...
42 files matched • 3 files skipped
Pack complete: 42 files, 1.2 MB → context.md
⌨️

foldermix CLI

The fastest way to pack. Scriptable, pipeable, CI-friendly.

Multiple output formats
Markdown, XML, or JSONL — whatever your LLM prefers.
Smart filtering
Gitignore-aware, extension filters, glob patterns, size limits.
Office & PDF conversion
Converts .docx, .xlsx, .pptx, and PDFs (with optional OCR) into readable text.
Policy checks
Scan for secrets and sensitive patterns before you share.
Install
pip pip install foldermix
brew brew install foldermix/tap/foldermix
🖥️

foldermix Desktop

Native macOS app. Point, click, pack.

Visual file preview
See exactly which files will be included before you pack.
Extension picker
Check or uncheck file types detected in your folder. Add custom extensions.
Live log pane
Terminal-style output with ANSI colour rendered right in the app.
Self-contained bundle
No Python install required. The CLI is bundled inside the DMG.
Download — macOS (Apple Silicon & Intel)

macOS 13 Ventura or later · Ad-hoc signed · right-click → Open on first launch
The OCR build adds support for scanned & image-only PDFs (~95 MB of ML models).

🌐

foldermix Web

Pack directly in your browser. No install, no setup.

Upload a zip
Choose a zipped project folder and send it straight to the converter.
Progress updates
Track upload progress, then wait while the server packs the folder.
One output file
Get a single context.md file back, ready for ChatGPT, Claude, or Gemini.
Temporary processing
Files are processed on the server and deleted after conversion.
No install required — runs in your browser

Files are processed temporarily and deleted after conversion. Do not upload secrets, passwords, private keys, medical records, financial records, or other confidential data.

This browser flow is capped at 50 MB. For larger folders, OCR, or sensitive work, use the CLI or Desktop app instead. Source.