Code · Made a little simpler

Tailwind to CSS Converter

Convert a class list or a quoted HTML or JSX attribute using Tailwind v3.4 or v4.3 defaults. Export formatted rules, compact CSS or unconditional declarations.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Tailwind to CSS Converter: how to use it

  1. Paste class names or one quoted class or className attribute. Choose the Tailwind version whose defaults you want to inspect.
  2. Choose formatted rules, compact CSS, or declarations only. Keep formatted or compact rules for breakpoints and state selectors.
  3. Review the matched and unmatched utilities. Copy or download the CSS and check any remaining class behavior alongside your project's stylesheet.

Limits and notes

Reads up to 32,000 UTF-16 code units and 256 distinct utilities. Uses the selected built-in profile and supported class families and variants. It does not read custom theme files, execute plugins, or add Tailwind Preflight. Source and output stay in the browser.

How your privacy works →

Tailwind to CSS Converter: common questions

Can I paste a JSX className attribute?

Yes. Paste a single quoted className attribute, such as className="flex p-4". Evaluate dynamic expressions in your own project and paste their resulting class names.

Why is a responsive utility absent from declarations-only output?

That format can express properties but has no media query or selector. Choose formatted or compact CSS rules to keep the responsive or state condition.

Can Tailwind version choice change the exported CSS?

Yes. Tailwind v3 uses HEX defaults and pixel breakpoints. Tailwind v4 uses OKLCH defaults and rem-based breakpoints. Selected utilities also differ.

Does a custom utility expand?

The tool shows unmatched utilities in the results. Read those definitions from your own stylesheet or generate CSS with your project's configured Tailwind compiler.

Guides