Docs from code, in seconds.

CodeDoc scans your source files and generates beautiful, searchable documentation automatically. Functions, classes, types, docstrings — all extracted and formatted. 15+ languages. Zero dependencies.

$19 one-time purchase, lifetime updates
Get CodeDoc
$ python codedoc.py ./src --format html CodeDoc: Scanning ./src Found: 42 functions, 8 classes, 15 types Langs: Python, TypeScript, Go Docs: 78% coverage (33/42 documented) Generating HTML documentation... Sidebar: modules, classes, functions Search: full-text index built Theme: dark mode (default) Saved to codedoc-output/index.html

Smart Parsing, Beautiful Output

CodeDoc understands your code and turns it into documentation people actually want to read.

🌐 15+ Languages

Python, JavaScript, TypeScript, Go, Rust, Java, C#, Ruby, PHP, Swift, Kotlin, Shell, C, C++, and more. Language-aware parsing for each.

🔍 Searchable HTML

Generated HTML includes full-text search, sidebar navigation, and filter by module or class. Dark and light themes built in.

📊 Doc Coverage Stats

Instantly see what percentage of your code is documented. Find the gaps and fill them — or prove to your team lead that you're at 95%.

🧠 Smart Extraction

Handles JSDoc, Python docstrings, /// comments, decorators, type annotations, generics, and async functions. Gets the details right.

📄 Three Output Formats

HTML for browsing. Markdown for your repo. JSON for integrating with other tools. One scan, pick your format.

⚡ Zero Dependencies

One Python file. No pip install. No virtual environment. Download, run, done. Works everywhere Python 3.7+ runs.

Built For

CodeDoc fits wherever documentation matters.

Documentation that writes itself.

One command turns your source code into searchable, professional docs. Stop writing documentation by hand.

$19 one-time, lifetime updates
Get CodeDoc