Tailwind Sorter
Sort, dedupe and fix conflicting utilities; last one wins.
About the Tailwind Sorter
Long class lists drift out of order as a component grows, and the same utility ends up written twice. This tool splits the list on whitespace, orders the classes in a consistent layout-first sequence, drops exact duplicates, and keeps only the last of two competing utilities such as p-4 and p-2, which is the one a developer usually meant to win.
Tip: The ordering is a lightweight approximation, not a copy of the official Prettier plugin. Use it to tidy a snippet quickly, and keep the plugin in your editor for whole-project formatting.
Tailwind Sorter is free, needs no sign-up and runs entirely in your browser, so what you paste never leaves your device.
How to use it
- Paste or type your input, or press Ctrl+V anywhere on the page.
- Adjust the options. The result updates instantly.
- Copy the output with the Copy button or Ctrl+C.
Topics
- tailwind
- classes
- sort
Frequently asked questions
Is the Tailwind Sorter free to use?
Yes. The Tailwind Sorter is completely free, needs no account and has no usage limits.
Is my data uploaded when I use the Tailwind Sorter?
No. Everything is processed locally in your browser, so what you paste never leaves your device. The last 3 snippets are kept on this device only and you can clear them with one click.
How do I use the Tailwind Sorter?
Paste or type your input, or press Ctrl+V anywhere on the page. Results update instantly, then copy them with the Copy button or Ctrl+C.