Tailwind Classes
Find the right utility class
p-0px-0py-0m-0mx-0my-0gap-0w-0h-0p-pxpx-pxpy-pxm-pxmx-pxmy-pxgap-pxw-pxh-pxp-0.5px-0.5py-0.5m-0.5mx-0.5my-0.5gap-0.5w-0.5h-0.5p-1px-1py-1m-1mx-1my-1gap-1w-1h-1p-1.5px-1.5py-1.5m-1.5mx-1.5my-1.5gap-1.5w-1.5h-1.5p-2px-2py-2m-2mx-2my-2gap-2w-2h-2p-2.5px-2.5py-2.5m-2.5mx-2.5my-2.5gap-2.5w-2.5h-2.5p-3px-3py-3m-3mx-3my-3gap-3w-3h-3p-3.5px-3.5py-3.5m-3.5mx-3.5my-3.5gap-3.5w-3.5h-3.5p-4px-4py-4m-4mx-4my-4gap-4w-4h-4p-5px-5py-5m-5mx-5my-5gap-5w-5h-5p-6px-6py-6m-6mx-6my-6gap-6w-6h-6p-7px-7py-7m-7mx-7my-7gap-7w-7h-7p-8px-8py-8m-8mx-8my-8gap-8w-8h-8p-9px-9py-9m-9mx-9my-9gap-9w-9h-9p-10px-10py-10m-10mx-10my-10gap-10w-10h-10p-12px-12py-12m-12mx-12my-12gap-12w-12h-12p-14px-14py-14m-14mx-14my-14gap-14w-14h-14p-16px-16py-16m-16mx-16my-16gap-16w-16h-16p-20px-20py-20m-20mx-20my-20gap-20w-20h-20p-24px-24py-24m-24mx-24my-24gap-24w-24h-24p-32px-32py-32m-32mx-32my-32gap-32w-32h-32p-40px-40py-40m-40mx-40my-40gap-40w-40h-40p-48px-48py-48m-48mx-48my-48gap-48w-48h-48p-64px-64py-64m-64mx-64my-64gap-64w-64h-64w-fullw-screenw-autow-fitw-minw-maxh-fullh-screenh-autoflexinline-flexflex-rowflex-colflex-wrapitems-startitems-centeritems-enditems-stretchitems-baselinejustify-startjustify-centerjustify-endjustify-betweenjustify-aroundjustify-evenlygridinline-gridgrid-cols-2grid-cols-3grid-cols-4grid-cols-6grid-cols-12col-span-2col-span-fulltext-xstext-smtext-basetext-lgtext-xltext-2xltext-3xltext-4xlfont-thinfont-lightfont-normalfont-mediumfont-semiboldfont-boldfont-extrabolditalicuppercaselowercasecapitalizeleading-noneleading-tightleading-normalleading-relaxedtracking-tighttracking-normaltracking-widetext-lefttext-centertext-righttruncateroundedrounded-mdrounded-lgrounded-xlrounded-2xlrounded-3xlrounded-fullrounded-noneborderborder-0border-2border-4border-dashedborder-dottedborder-solidshadow-smshadowshadow-mdshadow-lgshadow-xlshadow-2xlshadow-noneopacity-0opacity-25opacity-50opacity-75opacity-100staticrelativeabsolutefixedstickyinset-0top-0right-0bottom-0left-0z-0z-10z-20z-50blockinline-blockinlinehiddentableoverflow-autooverflow-hiddenoverflow-scrolloverflow-visiblecursor-pointercursor-defaultcursor-not-allowedcursor-waitcursor-texttailwindcss.com/docs.What is Tailwind Classes?
Search a curated subset of the Tailwind CSS class catalog by name, CSS property, or value. Covers spacing, flex, grid, typography, borders, effects, position, display, overflow, and cursor. Useful when you remember what you want the CSS to do but not which Tailwind class does it.
How do I use Tailwind Classes?
- Type a keyword in the search box (e.g. "padding" or "shadow").
- Filter by group tag if the result is too broad.
- Copy the class name.
When should I use Tailwind Classes?
Tailwind Classes is a searchable cheat-sheet. For the full reference (including arbitrary values and responsive modifiers), the official Tailwind docs are the source of truth.
What does this tool do?
Takes an arbitrary list of Tailwind classes and sorts, deduplicates, and groups them the way Tailwind's official sorter does — matching the canonical order Prettier's Tailwind plugin produces.
Does it work with Tailwind v3 and v4?
Yes. Pick the version in the dropdown; sorting differs slightly between releases (v4 introduced new utility groups).
Can I paste a whole HTML file?
Yes. Any className="..." attributes in the input are detected and reformatted in place, leaving the rest of the HTML untouched.
Is my file uploaded anywhere?
No. Everything runs in your browser. Your files never leave your device, and there is no server component for this tool.