Skip to main content
Code & Tokens

W3C DTCG 2025.10 compliant token export

DeveloperDesigner

Overview

The W3C Design Tokens Community Group format is the emerging standard for interoperable design tokens. The --dtcg flag exports extracted tokens directly in that format, with $type, $value and group nesting, so the output moves between tools without a conversion step.

Design tokens only compound in value if they move freely between the tools that produce them and the tools that consume them. The W3C DTCG spec (2025.10 draft) defines the shared JSON structure for that: typed values under $type and $value, grouped hierarchically, with $description and $extensions for tool-specific metadata. The --dtcg flag on Dembrandt writes extracted colors, typography, spacing, radii and shadows directly in that structure from a live URL, no manual mapping. The output is spec-shaped from the start, which is what makes the Tokens Studio and Figma Variables conversions in the other recipes a straight import instead of a rebuild.

Export DTCG-compliant tokens

Terminal
dembrandt example.com --dtcg --save-output

Print to stdout, pipe into a validator

Terminal
dembrandt example.com --dtcg --json-only | dtcg-validator -
Output

A single JSON file in W3C DTCG format: typed, grouped tokens ready for any DTCG-compliant consumer.

Browse all

All recipes →

59 workflows