Folder2Text CLI
Turn any folder into AI-ready text. Bundle code context for ChatGPT, Claude, Gemini, NotebookLM, LLaMA, Mistral, DeepSeek, Grok and other LLMs.
Requirements
- Folder2Text app installed from Microsoft Store
- Python 3.10+
- Windows 10/11
Install
pip install folder2text
Quick Start
# Extract a folder and pipe to clipboard (paste into ChatGPT/Claude)
folder2text ./myproject --stdout | clip
# Extract to a file
folder2text ./myproject -o context.txt
# Check license and trial status
folder2text status
How It Works
The CLI connects to the Folder2Text desktop app's local REST API. The app handles extraction, filtering, and licensing. The CLI is a thin terminal client -- it requires the app to be installed and running.
folder2text CLI ---> localhost API ---> Folder2Text.exe (Store)
(port + secret) extraction + trial logic
All processing happens locally. Your code never leaves your machine.
Why Folder2Text?
- LLM-Ready Output: Structured text formatted for maximum context window efficiency
- Smart Filtering: Auto-excludes node_modules, .git, binaries, and lock files
- 100% Private: Everything runs locally, no cloud, no telemetry
- 31 Languages: UI available in 31 languages
- Lightweight: ~90MB app, zero-dependency CLI
Commands
| Command | Description |
|---|---|
folder2text <paths...> |
Extract folder(s) to output file |
folder2text <paths...> --stdout |
Print extracted text to stdout (pipe to LLM) |
folder2text <paths...> -o FILE |
Custom output file name |
folder2text status |
Show license tier and trial remaining |
folder2text --version |
Show CLI version |
folder2text --help |
Show help + Store link |
Pricing
- Free trial: 3 extractions (up to 500 files each)
- Standard: 14.99 EUR one-time (lifetime license)
- Pro Monthly: 6.99 EUR/month
- Pro Annual: 59 EUR/year (save ~30%)
All payments handled through Microsoft Store.
Links
License
MIT
Metadata
Release files for folder2text 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| folder2text-1.0.0.tar.gz | 6.0 kB | Without provenance | Details for folder2text-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| folder2text-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for folder2text-1.0.0-py3-none-any.whl |
Total release size: 13.2 kB
Release files / folder2text-1.0.0.tar.gz
| Download URL | folder2text-1.0.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fff88e12006ba887dff5d3cb05a4f67d48e2a6e43f7c44f4083c77e9d885fce
|
|
BLAKE2b-256 checksum How to use checksums |
a087f66c44fd16f5e69a9566e70eb43813d0233e6680ead89161c7fc4f567837
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / folder2text-1.0.0-py3-none-any.whl
| Download URL | folder2text-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b22d75f7eb900b6ca8ac1606d395dd5559bb1db20b4fc5fe725f8dc355972ece
|
|
BLAKE2b-256 checksum How to use checksums |
e2f828081d289953b480d68bf17a73faebc7ede706af8939ef9d4cf689e107a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for folder2text 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.