← Back to the lab

Design Token Converter

Convert W3C design tokens, Tokens Studio or Figma Variables JSON into CSS variables, SCSS, Tailwind v4, SwiftUI or flat JSON. Aliases and modes included.

What it does

  • Reads W3C/DTCG, Tokens Studio and Figma Variables exports (with modes)
  • Keeps aliases as references or resolves them to values
  • Outputs CSS, SCSS, Tailwind v4 @theme, SwiftUI and flat JSON
  • Expands typography composites and previews every token

FAQ

What is the W3C design token format?

A JSON format from the Design Tokens Community Group where each token has a $value and a $type, grouped into nested objects, with aliases written as {group.token}.

Does it work with Tailwind CSS v4?

Yes. It writes an @theme block using Tailwind v4 namespaces such as --color-*, --spacing-*, --radius-* and --text-*.

More free tools