# CeTZ

> Drawing library for Typst with a TikZ-inspired API, for diagrams and plots.

- Category: [Diagrams as code](https://awesomedataviz.com/categories/diagrams-as-code/)
- Website: https://cetz-package.github.io
- Repository: https://github.com/cetz-package/cetz
- License: LGPL-3.0
- Language: Typst
- Status: Active (commits in the last 90 days)
- GitHub stars: 1,856
- Commits in the last 12 months: 146
- Contributors: 53
- Last commit: Sep 25, 2026
- Latest release: v0.5.2 (May 6, 2026)
- Topics: Diagrams & diagrams as code

## Overview

CeTZ is an open-source diagram-as-code tool released under the LGPL-3.0 license. Its GitHub repository has 1,856 stars, 86 forks, and 53 contributors. It is actively developed with 146 commits in the last 12 months. The latest release, v0.5.2, was published on May 6, 2026.

## Alternatives

- [Mermaid](https://awesomedataviz.com/tools/mermaid/): Generate diagrams and flowcharts from markdown-like text definitions, with a live editor. (90.5K stars)
- [Diagrams](https://awesomedataviz.com/tools/diagrams/): Diagram as code in Python for prototyping cloud system architectures. (42.7K stars)
- [D2](https://awesomedataviz.com/tools/d2/): Declarative diagram scripting language that turns text into diagrams. (25.6K stars)
- [PlantUML](https://awesomedataviz.com/tools/plantuml/): Generates UML, Gantt, mind map and other diagrams from plain text. (13.4K stars)
- [Markmap](https://awesomedataviz.com/tools/markmap/): Builds interactive mind maps from Markdown. (13.1K stars)
- [flowchart.js](https://awesomedataviz.com/tools/flowchart-js/): Draws SVG flowcharts from a textual description. (8.7K stars)

Source: https://awesomedataviz.com/tools/cetz/ · Data updated 2026-10-05 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
