Tailwind Class Sorter
Organize your Tailwind classes in the recommended order instantly.
Paste your classes and get them sorted automatically.
Sorted classes will appear here...Sorting Order (Tailwind Recommended)
flex, grid, hidden, block
items-center, justify-between, gap-4
p-4, m-2, mx-auto
w-full, h-screen, max-w-md
text-lg, font-bold, leading-6
bg-blue-500, rounded-lg, border
shadow-lg, opacity-50, transition
scale-110, cursor-pointer, select-none
Responsive & State Variants
Classes with responsive prefixes (sm:, md:, lg:) and state variants (hover:, focus:) are kept with their base class and sorted after non-prefixed versions.
Explore more Tailwind tools
Tailwind Grid Generator
Create grid layouts visually
Tailwind Flexbox Generator
Create flex layouts visually
Tailwind Gradient Generator
Create custom gradients
Tailwind Text Gradient
Gradient text effects
Tailwind Gradients Collection
275+ ready-to-use gradients
Tailwind Colors
Complete 240+ color palette
Tailwind Box Shadow Generator
Design multi-layer shadows
Tailwind Text Shadow
Add depth to text with shadows
Tailwind Filter Generator
Apply blur, brightness & more
Tailwind Transform Generator
Rotate, scale & translate elements
Tailwind Animation Generator
Create built-in & custom animations
Tailwind Transition Generator
Smooth hover transitions
Tailwind Config Generator
Generate your config file
Tailwind Input Generator
Design form inputs visually
Flexbox Cheatsheet
All flex utilities visualized
Overflow Cheatsheet
Control content overflow
