// Documentation

Generate AI-Ready Markdown

Pack codebases, local directories, and live web pages into clean, token-efficient context windows.

What is PackMD?

LLMs process Markdown far better than raw source code or HTML. Instead of forcing an AI to crawl file-by-file or parse messy DOMs—burning tokens on boilerplate and navigation—PackMD does the heavy lifting upfront.

It aggregates your entire GitHub repo, local folder, or webpage into one clean, structured digest optimized specifically for AI consumption.

Overview & Engine

Under the hood, PackMD uses high‑performance filesystem traversal and modern web scraping APIs to construct the perfect context window.

CLI Usage

Run PackMD instantly from your terminal or plug it into our web interface for live previews and instant clipboard copying.

Installation
Usage
Local Directories & Advanced Usage

PackMD isn't limited to remote URLs — point it at any local directory, and combine flags to fine-tune exactly what gets included.

CLI Options & Flags

Processing Pipeline

FAQ & Troubleshooting