The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. Can anyone recommend a tool that will identify unused and duplicate CSS across an entire site?

    Can anyone recommend a tool that will identify unused and duplicate CSS across an entire site?

    Web Design
    6 4 1.9k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danatanseo
      danatanseo last edited by

      Hi all,

      So far I have found this one: http://unused-css.com/   It looks like it identifies unused, but perhaps not duplicates? It also has a 5,000 page limit and our site is 8,000+ pages....so we really need something that can handle a site larger than their limit.

      I do have Screaming Frog. Is there a way to use Screaming Frog to locate unused and duplicate CSS?

      Any recommendations and/or tips would be great. I am also aware of the Firefix extensions, but to my knowledge they will only do one page at a time?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • Travis_Bailey
        Travis_Bailey last edited by

        This sounds like it might just do the trick. You'll need to have Ruby installed for it to work. If you have a Mac, it's already on there. If you have a Windows you'll need this. It's pretty easy, I installed Ruby on my Windows gaming rig. If you're running a Linux flavor, try this.

        Just take your URLs from the site crawl and make a txt file. You can compare that with your CSS file. I've never tried it on a large site, let me know how it goes for you.

        1 Reply Last reply Reply Quote 1
        • mstoic
          mstoic last edited by

          I have an article on that here. An extension for firefox called Dust-Me selectors can help you identify unused CSS on multiple pages. It tracks all the pages you visit of a website and tracks classes and ids which were never used. Moreover, you can also give it a sitemap and it will figure out the CSS which was never used.

          danatanseo 1 Reply Last reply Reply Quote 1
          • Christy-Correll
            Christy-Correll last edited by

            Hi Dana, did either of these responses help? What did you end up settling on? We'd love an update! Thanks.

            Christy

            1 Reply Last reply Reply Quote 0
            • danatanseo
              danatanseo @mstoic last edited by

              Hi Hemant,

              I tried using Dust-Me in Firefox, but for some reason it won't work on this sitemap:  http://www.ccisolutions.com/rssfeeds/CCISolutions.xml

              Could it be that this sitemap is too large? I even tried setting up a local folder to store the data, but everytime I try the spider I get the message "The sitemap has no links."

              I am using Firefox 27.0.1

              danatanseo 1 Reply Last reply Reply Quote 0
              • danatanseo
                danatanseo @danatanseo last edited by

                I read your post at Mstoic Hemant and noticed your comment about Firefox 10. Since I couldn't get Dust-Me Spider to work in my current version of Firefox I tried downloading and installing the older version 10 as you suggested. When I did so, I received the message that the Dust-Me Spider was not compatible with this version of Firefox and it was disabled.

                We are considering purchasing the paid version of Unused CSS (http://unused-css.com/pricing) - Do you have any experience using the upgraded version? Does it deliver what it promises?

                Thanks!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Can I safely asume that links between subsites on a subdirectories based multisite will be treated as internal links within a single site by Google?
                  PabloCulebras
                  PabloCulebras
                  0
                  3
                  55

                • How to find out that none of the images on my site violates copyrights? Is there any tool that can do this without having to check manually image by image?
                  EGOL
                  EGOL
                  1
                  6
                  120

                • Site health - webmaster tools
                  ChrisDeGraff
                  ChrisDeGraff
                  0
                  5
                  232

                • URLs appear in Google Webmaster Tools that I can't find on my own site?!?
                  johncallaghan
                  johncallaghan
                  0
                  6
                  620

                • Does anyone know how much a wordpress site can store (in terms of data) I want to put all my movies on it and use it as a personal global external hard drive! Thanks!!
                  TylerAbernethy
                  TylerAbernethy
                  0
                  3
                  164

                • Given the lastest Google update, should I rewrite my Flash site or try to present an alternative HTML/CSS site?
                  W3designer
                  W3designer
                  0
                  3
                  446

                • How will a sites ranking be affected??
                  Dr-Pete
                  Dr-Pete
                  0
                  6
                  1.1k

                • Duplicate content on mobile sites
                  Webmaster_SEO
                  Webmaster_SEO
                  0
                  2
                  484

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                • Digital Marketers
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy