Converter
Convert design tokens between DTCG, Figma, Tokens Studio and Tailwind v4, and see what each conversion loses.
Design tools disagree about how a token is written down, and moving between them quietly drops things. This converter reads DTCG, Figma variables, Tokens Studio and Tailwind v4, writes any of them, and shows you what did not survive.
The tokens you have
An example, your own files, or either one edited here.
What to write
The format to write, and how to write it.
What you get
What was written, the model behind it, and what did not survive.
- Read as
- DTCG 2025.10
- Tokens
- 8
- Modes
- light, dark
- Files written
- 1
- Lost
- 1
- Translated
- 2
@import "tailwindcss";@theme inline { --color-ink: #1a1a1a; --color-paper: #ffffff; --color-accent: oklch(0.7 0.35 150); --color-text: var(--color-ink); --spacing-md: 1rem; --text-type-body: 16px; --text-type-body--line-height: 1.5; --text-type-body--letter-spacing: 0px; --text-type-body--font-weight: 400;}:root { --motion-fast: 150ms; --motion-standard: cubic-bezier(0.2, 0, 0, 1);}[data-theme="dark"] { --color-text: var(--color-paper);}Lost and translated
The report separates two things a conversion does, and the difference is the whole point of reading it.
Lost is what the target cannot hold. A second mode in a format with one value per token, a composite with no equivalent, a description with nowhere to go. It is not in the output.
Translated changed how a value is written and kept what it means. A unit converted, an alias resolved to the value it pointed at, a colour written in another space. It is in the output, as something else.
A conversion with nothing lost is reversible. One with a long translated list is fine to ship and awkward to bring back.
It runs here
This is @hipuku/dtcg itself, the same build a consumer installs, compiled
to run in the page. Nothing is uploaded, nothing is stored, and the conversion you see is the
conversion the command line would give you.