GetLayers

Website to Tailwind Hover an element, copy it as Tailwind classes.

GetLayers reads the computed styles of any element on a live page and converts them to Tailwind utility classes. No copying CSS into a converter: point, click, paste.

Free forever plan · No account · No ads · 20 languages

How it works

  1. Hover

    Turn on Live Inspect and point at any button, card or section.

  2. Pick Tailwind

    Choose Tailwind as your format once. Every click copies in that format.

  3. Paste

    Drop the markup with its classes into your project.

From live CSS to Tailwind classes

Converting CSS by hand means looking up every property and guessing the nearest spacing step. GetLayers does it from the styles the browser actually applies, and uses arbitrary values when a design does not match the default scale, so the result looks the same.

This is what the sample Play button on our homepage looks like when copied as Tailwind:

TailwindPro

<!-- <button.cta> -->
<button class="inline-flex items-center gap-2 px-5 py-2.5 rounded-[20px] bg-[#A8C7FA] text-[#062E6F] font-semibold text-sm leading-5">
  Play
</button>

One element, every stack

Tailwind is one of 10 formats. The same element can be copied as CSS, SCSS, React, Flutter, SwiftUI, Jetpack Compose, JSON, real Figma layers or Compact AI for language models. CSS and JSON are free; the other formats are part of Pro.

  • Tailwind classes from computed styles
  • Arbitrary values when the design is off the default scale
  • Walk the DOM with the arrow keys to grab the parent or child
  • Paste into Claude Code or another AI assistant through MCP (Pro)

Free vs Pro

Pro

Tailwind, SCSS, React, Flutter, SwiftUI, Jetpack Compose, Figma and Compact AI formats.

Unlock everything

FAQ

How do I convert a website element to Tailwind?

Install GetLayers, turn on Live Inspect, choose Tailwind as the format and click the element. The Tailwind markup is copied to your clipboard.

Can I paste my own CSS and convert it?

No. GetLayers converts the styles of elements on a live page, which is more accurate because it uses what the browser actually renders.

Is Tailwind export free?

Tailwind is a Pro format. Copying as CSS and JSON is free.

What if a value is not on the Tailwind scale?

GetLayers uses Tailwind arbitrary values, for example rounded-[20px], so the result matches the original.

Tools

Your next UI is already on the web.

Install GetLayers and copy it in seconds.

Add to Chrome, it's free