Redoc is a documentation generator that creates beautiful API reference documentation from OpenAPI and Swagger definitions.
Redoc solves the problem of presenting API specifications in a user-friendly format by rendering OpenAPI definitions into interactive HTML documentation. It uses a responsive three-panel layout where the left panel provides navigation and search, the central panel displays the documentation content, and the right panel shows request and response examples. The tool supports OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 specifications, with features including menu and scrolling synchronization, high-level grouping through the x-tagGroups specification extension, and code samples support via vendor extensions.
Redoc suits teams that need to publish API documentation quickly without extensive customization. It works well for projects using standard OpenAPI specifications and wanting a professional-looking reference out of the box. The tool is available in multiple deployment formats: as a CLI tool that generates static HTML files, as a Docker image, as an embeddable HTML tag, and as a React component for integration with create-react-app. For teams requiring additional features like a try-it console, automated code samples, fully custom styling, mock servers, or support for AsyncAPI and GraphQL, Redocly offers a hosted version with these capabilities.
The project maintains active development with regular updates to support evolving API specification standards. The codebase is written in TypeScript and demonstrates ongoing work to expand beyond OpenAPI documentation, with development underway for support of AsyncAPI, GraphQL, and MCP specifications in upcoming releases.