Kroki is a free, MIT-licensed API that turns text markup into diagrams, with over 20 types. See pros, cons, self-hosting and doc integrations.
Researched and fact-checked by Bartu Cavusoglu · Updated July 18, 2026
Category
Collaboration
Pricing
Free / Open Source, from Free
Verified
Not yet
Last updated
July 18, 2026
Founded
2019
Free PlanWeb AppAPIOpen SourceSelf-Hosted
Overview
Kroki is a free, open-source API that converts plain-text diagram descriptions into rendered images. Created by Guillaume Grossetie under the yuzutech GitHub organization and first published in April 2019, it is released under the MIT license and has grown through community contributions into a project supporting more than 20 diagram-as-code languages.
Rather than requiring separate tooling for each diagram syntax, Kroki exposes one unified HTTP endpoint that accepts markup in languages like Mermaid, PlantUML, or GraphViz and returns SVG, PNG, PDF, or JPEG output, making it a common building block behind documentation sites and internal developer tools.
Key Features
Kroki supports GET requests with deflate-compressed, base64-encoded diagram source embedded directly in the URL, ideal for linking live diagrams from Markdown or wiki pages, as well as POST requests for larger diagram text. Its modular architecture runs diagram types that need external engines, such as Excalidraw or Structurizr, as separate companion microservices, which keeps the core service lean while still supporting a wide range of syntaxes.
Because Kroki ships as Docker images, teams can self-host it entirely on their own infrastructure to keep sensitive architecture diagrams private, or use the free public instance at kroki.io for quick, no-install access. Official integrations with tools like Asciidoctor, MkDocs, and Confluence let teams embed diagrams-as-code directly into their existing documentation workflows.
Pricing
Kroki itself is entirely free, both as the publicly hosted kroki.io API and as a self-hosted Docker deployment, since it is an open-source, MIT-licensed community project rather than a commercial product with pricing tiers.
Teams that want a fully managed, self-hosted-equivalent instance without operating the Docker infrastructure themselves can turn to third-party managed hosting providers, such as Elestio, which offer paid hosting plans for Kroki as one of many open-source tools in their catalog.
Key Features
Unified Diagram API — A single HTTP endpoint renders 20+ text-based diagram languages, including Mermaid, PlantUML, GraphViz, BPMN, C4, Excalidraw, and Vega-Lite.
GET and POST Endpoints — Supports lightweight GET requests with deflate-compressed, base64-encoded diagram source in the URL, and POST requests with raw diagram text for larger diagrams.
Multiple Output Formats — Renders diagrams to SVG, PNG, PDF, or JPEG depending on the diagram type.
Self-Hosted Docker Deployment — Ships as Docker images, including companion service containers, so teams can run Kroki entirely on their own infrastructure.
Free Public Instance — kroki.io hosts a free public API so users can try or use the service without installing anything.
Documentation Tool Integrations — Official plugins for tools like Asciidoctor, MkDocs, and Confluence to embed diagrams directly in docs.
Modular Companion Services — Diagram types that need external tools, such as Excalidraw, Structurizr, or Pikchr, run as separate companion microservices for easy extension.
MIT-Licensed Open Source — Source hosted on GitHub under the MIT license with active community contributions.
Pros & Cons
Pros
Free to use, both as a self-hosted service and via the public kroki.io API
One API covers dozens of diagram-as-code syntaxes instead of installing separate renderers
Docker-based self-hosting keeps proprietary diagrams off third-party servers
Wide ecosystem of plugins for documentation tools like Asciidoctor, MkDocs, and Confluence
Actively maintained open-source project with a permissive MIT license
Cons
No official SaaS support contract or SLA, since it is a community open-source project
Self-hosting the full set of diagram types requires running multiple companion containers
Complex diagrams can render slowly on the free public instance
No built-in visual, WYSIWYG diagram editor, since input is text-based markup
Documentation assumes familiarity with the underlying diagram syntaxes, such as PlantUML or Mermaid
Pricing
Free (Public API or Self-Hosted) $0 N/A
Frequently Asked Questions
What is Kroki?
Kroki is a free, open-source API that converts plain-text diagram descriptions, written in languages like Mermaid, PlantUML, or GraphViz, into rendered images such as SVG or PNG.
Do I need to install anything to use Kroki?
No, you can call the free public API at kroki.io directly, or self-host Kroki with Docker if you need full control over your infrastructure.
Which diagram types does Kroki support?
Kroki supports more than 20 diagram types, including Mermaid, PlantUML, GraphViz, BPMN, C4, Excalidraw, Ditaa, Vega, Vega-Lite, WaveDrom, and Diagrams.net (draw.io).
Is Kroki free?
Yes, Kroki is completely free and open source under the MIT license, both for the hosted public instance and for self-hosted deployments.
Who maintains Kroki?
Kroki is maintained under the GitHub organization yuzutech, created by Guillaume Grossetie, and was first published in 2019.
Can Kroki be embedded in documentation tools?
Yes, Kroki has integrations for tools such as Asciidoctor, MkDocs, and Confluence, letting teams embed diagrams-as-code directly in their docs.
Tool pages we refreshed lately, from across the directory.
Oya BrowserUpdated Nov 29, 2026 AI · Oya Browser is a HIPAA-compliant browser for healthcare: an AI browser on your desktop and an agentic browser in the…
Bravo Store SystemsUpdated Oct 26, 2026 Retail, Restaurant & POS · Bravo Store Systems is an all-in-one cloud point of sale for pawn shops, FFL gun dealers, shooting ranges, jewelers…
Teacher PlannerUpdated Oct 26, 2026 Online Learning · Teacher Planner is an online lesson planner with AI tools for teachers. It imports timetables from a photo or PDF,…
WorkID.aiUpdated Nov 29, 2026 AI · Angie, WorkID's AI hiring agent, sources on WorkID and LinkedIn and invites verified candidates. Built-in ATS. A…
Factors.aiUpdated Oct 26, 2026 Marketing · Factors.ai is an AI account-based marketing and attribution platform that identifies companies visiting a website,…
Avid CRMUpdated Oct 26, 2026 CRM · Avid CRM, formerly Prophet CRM, is a contact manager and sales pipeline CRM built into Microsoft Outlook. It is made…
Full SlateUpdated Nov 30, 2026 Scheduling · Full Slate is online appointment scheduling software for small businesses, letting clients book appointments directly…
Whistleblower SoftwareUpdated Oct 26, 2026 Legal · Whistleblower Software by Formalize is an end-to-end encrypted reporting and case management system. Organizations…
TheBlue.socialUpdated Oct 26, 2026 Social Media · TheBlue.social is a web app for Bluesky creators that turns account data into follow-back, cleanup, starter pack,…
ezyVetUpdated Nov 30, 2026 Healthcare & Wellness · ezyVet is the next generation in cloud-based Practice Management software. An easy-to-use, all-in-one solution packed…