Class-by-Class Conversion Pro
Click any element to get its spacing, typography, color, border, radius, and shadow as Tailwind utility classes, with exact-match scale values preferred over arbitrary syntax whenever one exists.
Chrome DevTools shows you computed CSS — not which Tailwind utility produced it, and not what utility class would reproduce a hand-written style. SpecPeek's Tailwind converter closes that gap: click any element and get the matching Tailwind classes, with correct arbitrary-value syntax for anything outside the default scale.
| Comparison Criteria | SpecPeek | Chrome DevTools (Manual) |
|---|---|---|
| Tailwind Class Mapping | Automatic — computed styles mapped to official Tailwind spacing, color, typography, and radius scales | Shows raw computed CSS only; mapping to Tailwind utilities is manual, by eye |
| Arbitrary-Value Syntax | Auto-generated fallback like p-[18px] or text-[#1a2b3c] when a value sits outside the default scale |
Not generated — you would hand-write bracket syntax yourself |
| Clean CSS Diff | Diffs against browser defaults and strips inherited/vendor noise before output | Shows every computed property, including browser defaults and inherited values, unfiltered |
| Design Tokens Export | One-click export to tailwind.config.js, CSS :root variables, or W3C Design Tokens JSON |
Not available — DevTools has no config-file export |
| WCAG 2.1 Contrast While Inspecting | Live ancestor-composited AAA / AA / Fail badge next to the element you clicked | Not built in — requires switching to the separate Accessibility pane |
| Setup & Permissions | activeTab-only, one click, works on any live site immediately | Built into the browser already, but requires manually opening DevTools and the correct panel each time |
Every mapping runs locally against the same spacing, radius, and color logic Tailwind's own default theme uses, so classes you copy out behave the way you expect once pasted into your project.
Click any element to get its spacing, typography, color, border, radius, and shadow as Tailwind utility classes, with exact-match scale values preferred over arbitrary syntax whenever one exists.
The free box model overlay (content/padding/margin) shows exact pixels first; the Pro Tailwind layer then reads those same computed values into utility classes, so you see both at once.
Scan a full page once and export every distinct color, font stack, and radius as a ready-to-paste tailwind.config.js theme block, CSS variables, or W3C Design Tokens JSON.
Yes. SpecPeek reads computed CSS from any page, Tailwind-built or not, and maps those computed values to the closest Tailwind utility classes — useful for rebuilding a competitor's layout or a design comp in your own Tailwind project.
SpecPeek checks the computed value against Tailwind's official spacing, color, radius, and typography scales first. If there is an exact match it outputs the scale class; if not, it falls back to bracket syntax like p-[18px] or text-[#1a2b3c] instead of rounding to the nearest wrong value.
Hovering and pinning elements to see box model, typography, and color specs is free forever. The Tailwind class converter, Design Tokens export, and WCAG contrast badges are part of the one-time Pro unlock — no subscription.
No. The conversion from computed CSS to Tailwind utility classes runs entirely inside the browser tab; SpecPeek makes zero network calls during inspection or conversion.