Skip to content
SPECIFICTION
Get listed

DocFX vs TypeDoc

DocFX

dotnet.github.io

TypeDoc

typedoc.org

Side by side

FigureDocFXTypeDoc
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYes—
macOSYes—
LinuxYesYes
APIYesYes
Self-hostedYesYes
Plans published11
Spec score · Documentation Generators8.2 (#6)8.0 (#10)
CustomizationUsers can customize templates with CSS, JavaScript, Mustache templates, and metadata settings.Themes can change the look and feel of generated documentation, and plugins can add themes.
PurposeDocFX builds technical documentation sites from .NET assemblies, XML code comments, REST API Swagger files, and Markdown.TypeDoc converts comments in TypeScript source code into HTML documentation or a JSON model.
SupportThe DocFX project is listed as supported by the .NET Foundation.The project README invites users to open an issue or pull request on GitHub and points contributors to its contribution guide.

Plans

DocFX

  • DocFXFree

DocFX pricing →

TypeDoc

  • Free and open sourceFree

TypeDoc pricing →

In their own words

DocFX

DocFX is a free static site generator for technical documentation. It builds documentation from .NET assemblies, XML code comments, REST API Swagger files and Markdown, and can produce rendered HTML pages, JSON models or PDFs. Static HTML output is placed in the `_site` folder for publication to hosting services such as GitHub Pages. DocFX can also be used as a NuGet library through the `Docfx.App` package and .NET APIs. It parses CommonMark-compliant Markdown with Markdig and supports additional extensions. Built-in templates include a modern option with dark mode and customization settings; users can also customize templates with CSS, JavaScript, Mustache templates and metadata. DocFX can generate git links for GitHub, GitLab, Azure Pipelines, AppVeyor, TeamCity and Jenkins. It requires .NET SDK 8.0 or higher. Node.js v20 or higher is optional generally, but required to create PDFs. Native reference documentation generation covers .NET and REST APIs; other languages need a custom API docs converter. PlantUML diagrams use a remote server by default, with local rendering available as a setting.

Visit dotnet.github.io

TypeDoc

TypeDoc is a free TypeScript documentation generator that turns source comments into HTML pages or a JSON model. It builds from project exports and follows re-exports, allowing members declared elsewhere to appear in documentation. TSDoc and JSDoc tags are extracted, Markdown is accepted in comments, and fenced code blocks receive Shiki syntax highlighting. HTML and JSON are built in; Markdown output needs a plugin such as typedoc-plugin-markdown. A default theme is included, while plugins can add themes, alter conversion and symbol organization, or change display. Custom CSS and JavaScript can further adjust generated pages. Configuration can come from an options file, package.json, or tsconfig.json. TypeDoc runs on Node.js, uses the TypeScript compiler, and supports the current Node.js LTS or newer. For npm monorepos, the packages entry-point strategy can combine package documentation into one site. The project is Apache-2.0 licensed. Documentation warns that global installation can separate plugins and themes from the intended TypeDoc installation.

Visit typedoc.org