100+ UtilitiesCopy CSSDynamic SpacingFree
CSS Output
.element {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  /* unknown: bg-white */
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  font-size: 0.875rem; line-height: 1.25rem;
  font-weight: 600;
}

Converts common Tailwind utility classes to raw CSS. Supports spacing, sizing, flex, grid, typography, borders, shadows, and more. Color utilities (bg-blue-500, text-red-600, etc.) and some advanced utilities require Tailwind's theme configuration.

Frequently Asked Questions

What Tailwind classes are supported?
Common utilities including display, position, flex, grid, spacing, sizing, typography, borders, shadows, opacity, cursor, transitions, and more.
Does it handle responsive prefixes?
Responsive prefixes (sm:, md:, lg:, xl:) are stripped for conversion. The raw CSS output shows the base utility values.
Why are some classes marked as unknown?
Color utilities (bg-blue-500, text-red-600) require Tailwind's theme values which change between versions. These are noted as comments.
Share:

About TW to CSS

What this tool does

Developer and design tools include CSS generators (gradients, shadows, glassmorphism), code playgrounds, color pickers, responsive previews, and reference charts for HTML tags, HTTP methods, and keyboard shortcuts.

Why use this tool

Front-end development involves constant context switching between code and visual output. Having generators and references in a single browser tab speeds up prototyping and reduces the need to search through documentation sites.

How it works

Each tool provides an interactive UI: you tweak parameters (colors, radii, durations), and the tool generates the corresponding CSS, HTML, or SVG code in real time. Copy the snippet directly into your project.

Pro tip

Use the CSS variable output option when available. It makes your generated code theme-friendly and easier to maintain across a design system.

Love this tool? Explore 12467+ more

Free online tools for images, PDFs, text, code, and more. All running in your browser.

Explore All Tools