Tailwind CSS detector

Tailwind CSS logo

How can you check if a website uses Tailwind CSS?

Detecting if a website is using Tailwind CSS involves examining the page source and looking for specific indicators associated with Tailwind.

Follow this easy step-by-step guide:

  1. Open the Page Source: Right-click on the webpage and select “View Page Source” or press Ctrl+U (Windows) or Cmd+Option+U (Mac) to view the page’s source code.
  2. Search for Tailwind CSS References: Use Ctrl+F (Windows) or Cmd+F (Mac) to open the search function. Look for any references to Tailwind CSS in the following ways:
    • tailwind.css: This is a common filename for Tailwind’s stylesheet. You might find it in a link tag like <link rel="stylesheet" href="/path/to/tailwind.css">
    • tailwind.min.css: This indicates a minified version of the Tailwind CSS file, typically used in production environments.
    • @tailwind: Look for this directive in style or script tags that may denote Tailwind CSS in use.
  3. Check for Tailwind Configurations: If the website includes configuration files, you may find references to tailwind.config.js. However, this may not be present in the rendered HTML.
  4. Look for Utility Classes: Tailwind CSS uses utility-first classes. In the page source or by inspecting the elements, check for these class names. Look for patterns like bg-blue-500text-lg, or flex. You can do this by right-clicking an element on the page and selecting “Inspect.”
  5. Search for Inline Styles: Sometimes Tailwind is applied inline. See if any elements have a long list of class names with specific Tailwind styles when inspecting the elements.
  6. Check for Tailwind JIT (Just-in-Time) Compilation: If the site is using JIT mode, search for tailwind.config.js or content keys in the JavaScript code. These may be used alongside dynamic class generation.
  7. Look at Meta Tags: In some cases, Tailwind CSS may be mentioned within meta tags or other documentation in the page source, although this is less common.

Learn more about Tailwind CSS with these articles