Build HTML in Python, safely: text and attributes are escaped by default (XSS-safe). Composable tag builders. Zero dependencies.
-
Updated
Jul 26, 2026 - Python
Build HTML in Python, safely: text and attributes are escaped by default (XSS-safe). Composable tag builders. Zero dependencies.
An ultra-light Markdown-to-HTML renderer focused on simplicity, security (DOMPurify), and compatibility—works client-side with no backend or via a tiny Node.js API.
To associate your repository with the safe-html topic, visit your repo's landing page and select "manage topics."