This task can be performed using StyleShift
CSS to Tailwind CSS Converter
Best product for this task

StyleShift
dev-tools
StyleShift is an easy-to-use tool that converts your regular CSS into Tailwind CSS. Just paste your CSS, and StyleShift will turn it into clean, responsive Tailwind classes. It saves you time, helps you write better code, and makes switching to Tailwind super simple.

What to expect from an ideal product
- Paste your existing CSS code directly into StyleShift and get instant Tailwind class conversions without manual rewriting
- Save hours of development time by automatically transforming legacy stylesheets instead of converting each property by hand
- Get clean, organized Tailwind classes that follow best practices and maintain responsive design principles
- Eliminate the guesswork of figuring out which Tailwind utilities match your current CSS properties and values
- Make the switch to Tailwind painless for your entire team without requiring extensive framework knowledge upfront