Back to Plugins
Tokenizer

Tokenizer

Map raw values to variables.

Plugin Preview

Tokenizer preview

About this plugin

Tokenizer - Transform Your Design Files at Scale 🎨Finally, a smart way to convert hard-coded values into design tokens without the tedious manual work. Tokenizer scans your entire file, finds every color, spacing value, and typography property, then helps you map them to variables and styles in seconds.✨ What It DoesTokenizer discovers all the raw values hiding in your designs—those one-off colors, random padding values, and unlinked text properties—and gives you a clean interface to map them to your design system tokens. No more hunting through layers or wondering which frames still use hard-coded values.Scan once, map everywhere. Select a token for a value that appears 150 times, and the plugin updates all 150 instances with one click.🚀 Key FeaturesSmart DiscoveryScans colors from fills, strokes, text, shadows, and gradientsFinds sizing values: width, height, padding, spacing, corner radius, and moreDetects typography properties across all text layers, even with mixed stylesGroups identical values so you can update them all at onceIntelligent SuggestionsAutomatically suggests the closest matching tokens based on color similarityRanks number variables by exact and near matches (within 1px, 2px, 4px)Boosts suggestions when token names match property context (e.g., "width" tokens for width properties)Shows top matches with "Match" badges for quick decisionsTwo Powerful ViewsMerged View: See all unique values grouped by property. Map 100 instances of "12px padding" to a single token in one selection.Detailed View: Fine-grained control. Map each instance individually when you need precision.Fuzzy Search & Smart OrganizationMulti-word search: "back med" finds "semantic/backgrounds/neutral/primary/medium"Hierarchical token grouping by slashes in namesNatural sorting: spacing-50, spacing-100, spacing-200 (not spacing-100, spacing-200, spacing-50)Color previews and hex values displayed inlineProperty NavigationSide navigation shows all discovered property typesClick to jump to any section instantlyOrganized by domain: Color, Sizing, TypographyDeep Token ResolutionFollows variable alias chains to show actual valuesHandles tokens that reference other tokens (alias → alias → raw value)Shows transparency percentages for colors with alphaResolves up to 10 levels deep with circular reference protectionDark Mode SupportAuto-detects your system preferenceManual toggle: Auto, Light, or Dark modeBeautiful themes optimized for both modesPreference persists across sessions💪 Perfect ForDesign System TeamsDrive token adoption across your organizationClean up legacy files before handoffAudit which properties are still using raw valuesGenerate proof-of-work with detailed JSON reportsProduct DesignersPrepare files for developer handoff with confidenceQuickly align designs to your system after exploratory workFix inconsistencies discovered during design reviewsMaintain design system compliance at scaleDesign OpsBatch-convert files to use new token structuresMigrate from old naming conventions to new onesTrack token coverage metrics via audit exportsIdentify gaps in your design system🎯 Common Use CasesCleaning Up Exploration WorkYou've been experimenting with colors and spacing. Now it's time to ship, but your file is full of one-off values. Token Mapper finds them all, groups identical values, and lets you map 200+ instances to proper tokens in minutes.Design System MigrationMoving from hard-coded values to a token-based system? Scan your file, see exactly what needs mapping, and systematically convert everything with a clear audit trail.Cross-Team HandoffBefore handing off to engineers, ensure every value is tokenized. The audit report proves your file is system-compliant and shows exactly what was changed.Finding Gaps in Your SystemDiscover values that don't have matching tokens. If you're mapping padding-left and nothing matches "18px," maybe it's time to add that token to your system.Bulk UpdatesNeed to update all instances of a specific shadow color across 50 components? Token Mapper groups them all, you map once, it updates everywhere.📋 How It Works1. ScanClick "Scan File" and the plugin analyzes your entire page, discovering all raw colors, sizing values, and typography properties. Takes seconds, even on complex files.2. ReviewSee everything organized by property type. Fills, strokes, padding, corner radius, font size—all grouped and ready to map. The merged view shows unique values; detailed view shows every instance.3. MapOpen any dropdown to see your available tokens. Search, browse hierarchical groups, and select the right token. Top suggestions appear first with match indicators.4. ApplyClick "Apply Mappings" and watch the magic happen. The plugin sets proper variable bindings on all selected properties, preserving opacity, blend modes, and other attributes.5. AuditGet a complete report showing what changed, what was mapped, and what couldn't be bound (with reasons). Download as JSON for your records.6. DoneSuccessfully mapped items disappear from the list. Only unmapped work remains. Repeat until your file is fully tokenized.✅ What Gets MappedColorsNode fills and strokesText fillsGradient stops (read-only preview)Shadow colors (read-only preview)SizingWidth, height, min/max dimensionsPadding (all sides)Item spacing in auto layoutCorner radius (all corners individually supported)Stroke weightBlur radiusLayout grid propertiesTypographyFont size, line height, letter spacingParagraph spacingFont family and style (preview only)Applied text stylesMixed text runs via styled segments

Plugin Details

Version5
CreatedOctober 13, 2025
Last UpdatedNovember 10, 2025
CategoryFile organization plugins
CreatorDylan de Heer
Stats18 installs, 3 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none