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. Intermediate & Advanced SEO
    4. Is there a limit to images file names?

    Is there a limit to images file names?

    Intermediate & Advanced SEO
    5 4 11.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.
    • BeytzNet
      BeytzNet last edited by

      Hi,

      I have an eCommerce site with hundreds of product images.

      For management reasons files are named in length to have the product details in them.
      Is there a limit for a filename length before it is considered ambiguous or spammy etc.?
      (it usually ranges 50-70 chars).

      Thanks

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

        Hi, 50-70 characters does seem quite spammy to me, but then if you watch the Image SEO Basics Whiteboard Friday by Aaron Wheeler, he says that image filename length has much the same character length as Alt Text, so on that basis the answer would be no.

        It would be interesting to hear others feedback on this.

        Peter

        BeytzNet 1 Reply Last reply Reply Quote 2
        • BeytzNet
          BeytzNet @crackingmedia last edited by

          Thanks.

          The only other way I see to maintain order and shorten the filename is to place them within folders:

          domain.com/images/products/category-name/product-title.jpg

          VS

          domain.com/images/products/product-title-product-category.jpg

          But then I can have several exact same file-names (that are placed on different categories)

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

            I've never encountered an official limit to image filenames, and I'm not sure there is any SEO impact (other than just the engines ignoring alot of the filename in their crawl).  Putting the product description in the filename seems VERY unnecessary and I would try to get some rationale around that.  But for the web usage overall, I've never encountered a filename that is too long.  50-70 characters is alot but not prohibitively.

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

              I agree with Sean - I've never heard of an official limit to image filenames in terms of length alone. Since the file name is almost always part of the image URL, you could be running the risk of too-long URLs but that's a relatively minor problem. I would make extra sure that your file names don't appear keyword-stuffed, though - so watch out for things like repeating keywords or having all variations of a keyword. There's a big difference between widgets-extralarge-round-blue-widgetmaker.jpg and blue-widgets-best-blue-widgets-blue-widgets-online-free-shipping, if that makes sense. Other than that you should be fine.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Image Audit: Getting a list of *ALL* Images on a Site?
                mirabile
                mirabile
                0
                3
                80

              • Domain Name redirection to new Domain Name - VS - Transfering Domaine Name from account 1 to account 2
                1
                1
                38

              • How important is the file extension in the URL for images?
                willcritchlow
                willcritchlow
                1
                18
                6.5k

              • SEO Friendly Files Redirected From Images
                0
                2
                44

              • My Site name changed. Why does sometimes new name, sometimes old name show in Google.
                PatrickDelehanty
                PatrickDelehanty
                0
                2
                140

              • What is the recommended way to save Image Files in WP?
                KaneJamison
                KaneJamison
                0
                5
                146

              • Brand Name in Domain name
                innofidelity
                innofidelity
                0
                6
                374

              • Are htm files stronger than aspx files?
                Khem_Raj7
                Khem_Raj7
                0
                6
                705

              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