Tailwind Class Sorter
Sort Tailwind classes and detect conflicting utilities with a winner explanation.
OpenClear out years of -webkit- and -moz- declarations from legacy CSS in one paste.
Drop in legacy CSS, or load the sample rule.
Declarations starting with -webkit-, -moz-, -ms- or -o- are dropped.
Check for prefixes that are still required, such as background-clip text.
Copy the output or download it as a file.
You inherited a stylesheet written in 2014, and every border-radius, transition and box-shadow is repeated three times with vendor prefixes. Modern browsers ignore most of them, and they make the file harder to read and diff. Paste the CSS and get a version without them.
The cleaner removes every declaration whose property starts with -webkit-, -moz-, -ms- or -o-, including its value and semicolon, and collapses the blank lines left behind. It runs on every keystroke, so you can paste a whole file and copy or download the result. Unprefixed declarations, selectors and comments are left as they were.
The removal is deliberately blunt: it does not check whether a prefix is still needed. A handful still matter in current browsers, notably -webkit-background-clip: text for gradient text, -webkit-backdrop-filter for older Safari, -webkit-line-clamp for multi-line truncation and -webkit-text-fill-color. Search the original for those before you replace the file. The tool also leaves prefixed values such as display: -webkit-box, prefixed at-rules like @-webkit-keyframes and pseudo-elements like ::-webkit-scrollbar untouched, because it only matches prefixed property names. After cleaning, the CSS formatter can tidy indentation and the CSS minifier shrinks the file for production.
The stylesheet is processed with a single regular expression in your browser.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
It can. Those effects rely on -webkit-background-clip: text and -webkit-backdrop-filter, and the cleaner removes them along with every other prefixed property. Add them back after cleaning.
No. Only declarations whose property name is prefixed are removed. Prefixed values, @-webkit- at-rules and ::-webkit- selectors stay in the output.
If you have a build step, yes. Autoprefixer adds and removes prefixes based on a browser support list. This cleaner is for quick, one-off cleanup when no build tooling is involved.