[Skip to main content](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#main-content)

[![Google Search Central](https://developers.google.com/static/search/images/google-search-central-logo.svg)](https://developers.google.com/search)

*   [Google Search Central](https://developers.google.com/search)
    

[Documentation](https://developers.google.com/search/docs)

*   SEO fundamentals
*   [Introduction](https://developers.google.com/search/docs)
    
*   [Search Essentials](https://developers.google.com/search/docs/essentials)
    
*   [SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide)
    
*   [Optimizing for generative AI search](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide)
    
*   [How Google Search Works](https://developers.google.com/search/docs/fundamentals/how-search-works)
    
*   [Do you need an SEO?](https://developers.google.com/search/docs/fundamentals/do-i-need-seo)
    

*   Crawling and indexing
*   [Sitemaps](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview)
    
*   [robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro)
    
*   [Meta tags](https://developers.google.com/search/docs/crawling-indexing/special-tags)
    
*   [Crawler management](https://developers.google.com/search/docs/crawling-indexing/ask-google-to-recrawl)
    
*   [Removals](https://developers.google.com/search/docs/crawling-indexing/control-what-you-share)
    
*   [Canonicalization](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)
    
*   [Redirects](https://developers.google.com/search/docs/crawling-indexing/301-redirects)
    
*   [JavaScript SEO](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics)
    

*   Ranking and search appearance
*   [Visual Elements gallery](https://developers.google.com/search/docs/appearance/visual-elements-gallery)
    
*   [Title links](https://developers.google.com/search/docs/appearance/title-link)
    
*   [Snippets](https://developers.google.com/search/docs/appearance/snippet)
    
*   [Images](https://developers.google.com/search/docs/appearance/google-images)
    
*   [Videos](https://developers.google.com/search/docs/appearance/video)
    
*   [Structured data](https://developers.google.com/search/docs/appearance/structured-data/search-gallery)
    
*   [Favicons](https://developers.google.com/search/docs/appearance/favicon-in-search)
    

*   Site-specific guides
*   [Ecommerce](https://developers.google.com/search/docs/specialty/ecommerce)
    
*   [International and multilingual sites](https://developers.google.com/search/docs/specialty/international)
    

*   Data analysis
*   [Get started with Search Console](https://developers.google.com/search/docs/monitor-debug/search-console-start)
    
*   [Debug traffic drops](https://developers.google.com/search/docs/monitor-debug/debugging-search-traffic-drops)
    
*   [Using Search Console and Google Analytics data for SEO](https://developers.google.com/search/docs/monitor-debug/google-analytics-search-console)
    
*   [Get started with Google Trends](https://developers.google.com/search/docs/monitor-debug/trends-start)
    

[Support](https://developers.google.com/search/help) [Blog](https://developers.google.com/search/blog) [What's new](https://developers.google.com/search/news)

*   [All updates](https://developers.google.com/search/news)
    
*   [Documentation updates](https://developers.google.com/search/updates)
    
*   [Ranking updates](https://status.search.google.com/products/rGHU1u87FJnkP6W2GwMi/history)
    
*   [New YouTube videos](https://www.youtube.com/channel/UCWf2ZlNsCGDS89VBF_awNvA)
    
*   [Recent podcast episodes](https://pod.link/1512522198)
    

[Events](https://developers.google.com/search/events) [Case studies](https://developers.google.com/search/case-studies)

/

*   English
*   Deutsch
*   Español
*   Español – América Latina
*   Français
*   Indonesia
*   Italiano
*   Polski
*   Português – Brasil
*   Tiếng Việt
*   Türkçe
*   Русский
*   العربيّة
*   हिंदी
*   ภาษาไทย
*   中文 – 简体
*   中文 – 繁體
*   日本語
*   한국어

Sign in

*   [Documentation](https://developers.google.com/search/docs)
    

[Search Console](https://goo.gle/searchconsole)

[![Google Search Central](https://developers.google.com/static/search/images/google-search-central-logo.svg)](https://developers.google.com/search)

*   [Google Search Central](https://developers.google.com/search)
    

*   [Documentation](https://developers.google.com/search/docs)
    *   More
*   [Support](https://developers.google.com/search/help)
    
*   [Blog](https://developers.google.com/search/blog)
    
*   [What's new](https://developers.google.com/search/news)
    *   More
*   [Events](https://developers.google.com/search/events)
    
*   [Case studies](https://developers.google.com/search/case-studies)
    

*   [Introduction](https://developers.google.com/search/docs)
    
*   Search Essentials
    
    *   [Overview](https://developers.google.com/search/docs/essentials)
        
    *   [Technical requirements](https://developers.google.com/search/docs/essentials/technical)
        
    *   [Spam policies](https://developers.google.com/search/docs/essentials/spam-policies)
        
    
*   SEO fundamentals
    
    *   [SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide)
        
    *   [How Google Search works](https://developers.google.com/search/docs/fundamentals/how-search-works)
        
    *   [Creating helpful, reliable, people-first content](https://developers.google.com/search/docs/fundamentals/creating-helpful-content)
        
    *   Generative AI fundamentals
        
        *   [Optimizing for generative AI](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide)
            
        *   [Guidance on using generative AI](https://developers.google.com/search/docs/fundamentals/using-gen-ai-content)
            
        
    *   [Maintaining your site's SEO](https://developers.google.com/search/docs/fundamentals/get-started)
        
    *   [Developer's guide to Search](https://developers.google.com/search/docs/fundamentals/get-started-developers)
        
    *   [Do you need an SEO?](https://developers.google.com/search/docs/fundamentals/do-i-need-seo)
        
    
*   Crawling and indexing
    
    *   [Overview](https://developers.google.com/search/docs/crawling-indexing)
        
    *   [File types Google can index](https://developers.google.com/search/docs/crawling-indexing/indexable-file-types)
        
    *   [URL structure](https://developers.google.com/search/docs/crawling-indexing/url-structure)
        
    *   [Links](https://developers.google.com/search/docs/crawling-indexing/links-crawlable)
        
    *   Sitemaps
        
        *   [Learn about sitemaps](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview)
            
        *   [Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap)
            
        *   [Manage sitemaps with sitemap index file](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps)
            
        *   Sitemap extensions
            
            *   [Image sitemaps](https://developers.google.com/search/docs/crawling-indexing/sitemaps/image-sitemaps)
                
            *   [News sitemaps](https://developers.google.com/search/docs/crawling-indexing/sitemaps/news-sitemap)
                
            *   [Video sitemaps and alternatives](https://developers.google.com/search/docs/crawling-indexing/sitemaps/video-sitemaps)
                
            *   [Combining sitemap extensions](https://developers.google.com/search/docs/crawling-indexing/sitemaps/combine-sitemap-extensions)
                
            
        
    *   Crawler management
        
        *   [Ask Google to recrawl your URLs](https://developers.google.com/search/docs/crawling-indexing/ask-google-to-recrawl)
            
        *   [Troubleshoot crawl errors](https://developers.google.com/search/docs/crawling-indexing/troubleshoot-crawling-errors)
            
        *   Google crawlers
            
            *   [List of Google crawlers](https://developers.google.com/crawling/docs/crawlers-fetchers/overview-google-crawlers)
                
            *   [Googlebot](https://developers.google.com/search/docs/crawling-indexing/googlebot)
                
            *   [Reduce the Google crawl rate](https://developers.google.com/crawling/docs/crawlers-fetchers/reduce-crawl-rate)
                
            *   [Verifying Googlebot and other Google crawlers](https://developers.google.com/crawling/docs/crawlers-fetchers/verifying-googlebot)
                
            
        
    *   robots.txt
        
        *   [Introduction to robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro)
            
        *   [How Google interprets the robots.txt specification](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)
            
        
    *   Canonicalization
        
        *   [What is URL canonicalization](https://developers.google.com/search/docs/crawling-indexing/canonicalization)
            
        *   [How to specify a canonical URL with rel="canonical" and other methods](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)
            
        *   [Fix canonicalization issues](https://developers.google.com/search/docs/crawling-indexing/canonicalization-troubleshooting)
            
        
    *   [Mobile site and mobile-first indexing](https://developers.google.com/search/docs/crawling-indexing/mobile/mobile-sites-mobile-first-indexing)
        
    *   AMP
        
        *   [AMP on Google Search guidelines](https://developers.google.com/search/docs/crawling-indexing/amp)
            
        *   [Understand how AMP works in search results](https://developers.google.com/search/docs/crawling-indexing/amp/about-amp)
            
        *   [Enhance AMP content](https://developers.google.com/search/docs/crawling-indexing/amp/enhance-amp)
            
        *   [Validate AMP content](https://developers.google.com/search/docs/crawling-indexing/amp/validate-amp)
            
        *   [Remove AMP content](https://developers.google.com/search/docs/crawling-indexing/amp/remove-amp)
            
        
    *   JavaScript
        
        *   [Understand the JavaScript SEO basics](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics)
            
        *   [Fix search-related JavaScript problems](https://developers.google.com/search/docs/crawling-indexing/javascript/fix-search-javascript)
            
        *   [Fix lazy-loaded content](https://developers.google.com/search/docs/crawling-indexing/javascript/lazy-loading)
            
        *   [Dynamic rendering as a workaround](https://developers.google.com/search/docs/crawling-indexing/javascript/dynamic-rendering)
            
        
    *   Page and content metadata
        
        *   [Page metadata](https://developers.google.com/search/docs/crawling-indexing/valid-page-metadata)
            
        *   Meta tags
            
            *   [Meta tags and HTML attributes that Google supports](https://developers.google.com/search/docs/crawling-indexing/special-tags)
                
            *   [Robots meta tag, data-nosnippet, and X-Robots-Tag](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag)
                
            *   [noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing)
                
            
        *   [rel attributes](https://developers.google.com/search/docs/crawling-indexing/qualify-outbound-links)
            
        
    *   Removals
        
        *   [Control what you share with Google](https://developers.google.com/search/docs/crawling-indexing/control-what-you-share)
            
        *   [Page removals](https://developers.google.com/search/docs/crawling-indexing/remove-information)
            
        *   [Image removals](https://developers.google.com/search/docs/crawling-indexing/prevent-images-on-your-page)
            
        *   [Redacted information](https://developers.google.com/search/docs/crawling-indexing/keep-redacted-information-out)
            
        
    *   Site moves and changes
        
        *   [Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects)
            
        *   Site moves
            
            *   [Changing your hosting](https://developers.google.com/search/docs/crawling-indexing/site-move-no-url-changes)
                
            *   [Move a site with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes)
                
            
        *   [A/B testing](https://developers.google.com/search/docs/crawling-indexing/website-testing)
            
        *   [Temporarily pause or disable a website](https://developers.google.com/search/docs/crawling-indexing/pause-online-business)
            
        
    
*   Ranking and search appearance
    
    *   [Overview](https://developers.google.com/search/docs/appearance)
        
    *   [AI features](https://developers.google.com/search/docs/appearance/ai-features)
        
    *   [Byline dates](https://developers.google.com/search/docs/appearance/publication-dates)
        
    *   [Favicons](https://developers.google.com/search/docs/appearance/favicon-in-search)
        
    *   [Featured snippets](https://developers.google.com/search/docs/appearance/featured-snippets)
        
    *   [Flexible Sampling](https://developers.google.com/search/docs/appearance/flexible-sampling)
        
    *   [Google Discover](https://developers.google.com/search/docs/appearance/google-discover)
        
    *   [Images](https://developers.google.com/search/docs/appearance/google-images)
        
    *   Local features
        
        *   [Business details](https://developers.google.com/search/docs/appearance/establish-business-details)
            
        *   [Top Places List](https://developers.google.com/search/docs/appearance/top-places-list)
            
        *   [Opting out of local search results](https://support.google.com/webmasters/answer/3035947)
            
        
    *   Page experience
        
        *   [Understanding page experience](https://developers.google.com/search/docs/appearance/page-experience)
            
        *   [Core Web Vitals](https://developers.google.com/search/docs/appearance/core-web-vitals)
            
        *   [Interstitials and dialogs](https://developers.google.com/search/docs/appearance/avoid-intrusive-interstitials)
            
        *   [Get started with signed exchanges on Google Search](https://developers.google.com/search/docs/appearance/signed-exchange)
            
        
    *   [Preferred sources](https://developers.google.com/search/docs/appearance/preferred-sources)
        
    *   Ranking systems
        
        *   [A guide to Google Search ranking systems](https://developers.google.com/search/docs/appearance/ranking-systems-guide)
            
        *   [Reviews system](https://developers.google.com/search/docs/appearance/reviews-system)
            
        
    *   Ranking updates
        
        *   [List of ranking updates](https://status.search.google.com/products/rGHU1u87FJnkP6W2GwMi/history)
            
        *   [Core updates](https://developers.google.com/search/docs/appearance/core-updates)
            
        *   [Spam updates](https://developers.google.com/search/docs/appearance/spam-updates)
            
        
    *   [Site names](https://developers.google.com/search/docs/appearance/site-names)
        
    *   [Sitelinks](https://developers.google.com/search/docs/appearance/sitelinks)
        
    *   [Snippets](https://developers.google.com/search/docs/appearance/snippet)
        
    *   Structured data
        
        *   [Understand how structured data works](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
            
        *   [Structured data general guidelines](https://developers.google.com/search/docs/appearance/structured-data/sd-policies)
            
        *   [Enriched search results](https://developers.google.com/search/docs/appearance/enriched-search-results)
            
        *   [Generate structured data with JavaScript](https://developers.google.com/search/docs/appearance/structured-data/generate-structured-data-with-javascript)
            
        *   Feature guides
            
            *   [All structured data features](https://developers.google.com/search/docs/appearance/structured-data/search-gallery)
                
            *   [Article](https://developers.google.com/search/docs/appearance/structured-data/article)
                
            *   [Book actions](https://developers.google.com/search/docs/appearance/structured-data/book)
                
            *   [Breadcrumb](https://developers.google.com/search/docs/appearance/structured-data/breadcrumb)
                
            *   [Carousel](https://developers.google.com/search/docs/appearance/structured-data/carousel)
                
            *   [Course list](https://developers.google.com/search/docs/appearance/structured-data/course)
                
            *   [Dataset](https://developers.google.com/search/docs/appearance/structured-data/dataset)
                
            *   [Discussion forum](https://developers.google.com/search/docs/appearance/structured-data/discussion-forum)
                
            *   [Education Q&A](https://developers.google.com/search/docs/appearance/structured-data/education-qa)
                
            *   [Employer aggregate rating](https://developers.google.com/search/docs/appearance/structured-data/employer-rating)
                
            *   [Fact check](https://developers.google.com/search/docs/appearance/structured-data/factcheck)
                
            *   [Event](https://developers.google.com/search/docs/appearance/structured-data/event)
                
            *   [FAQ](https://developers.google.com/search/docs/appearance/structured-data/faqpage)
                
            *   [Image metadata](https://developers.google.com/search/docs/appearance/structured-data/image-license-metadata)
                
            *   [Job posting](https://developers.google.com/search/docs/appearance/structured-data/job-posting)
                
            *   [Local business](https://developers.google.com/search/docs/appearance/structured-data/local-business)
                
            *   [Math solver](https://developers.google.com/search/docs/appearance/structured-data/math-solvers)
                
            *   [Movie carousel](https://developers.google.com/search/docs/appearance/structured-data/movie)
                
            *   [Organization](https://developers.google.com/search/docs/appearance/structured-data/organization)
                
            *   Shopping
                
                *   [Overview](https://developers.google.com/search/docs/appearance/structured-data/product)
                    
                *   [Product snippet](https://developers.google.com/search/docs/appearance/structured-data/product-snippet)
                    
                *   [Merchant listing](https://developers.google.com/search/docs/appearance/structured-data/merchant-listing)
                    
                *   [Variants](https://developers.google.com/search/docs/appearance/structured-data/product-variants)
                    
                *   [Loyalty program](https://developers.google.com/search/docs/appearance/structured-data/loyalty-program)
                    
                *   [Merchant return policy](https://developers.google.com/search/docs/appearance/structured-data/return-policy)
                    
                *   [Merchant shipping policy](https://developers.google.com/search/docs/appearance/structured-data/shipping-policy)
                    
                
            *   [Profile page](https://developers.google.com/search/docs/appearance/structured-data/profile-page)
                
            *   [Q&A](https://developers.google.com/search/docs/appearance/structured-data/qapage)
                
            *   [Recipe](https://developers.google.com/search/docs/appearance/structured-data/recipe)
                
            *   [Review snippet](https://developers.google.com/search/docs/appearance/structured-data/review-snippet)
                
            *   [Software app](https://developers.google.com/search/docs/appearance/structured-data/software-app)
                
            *   [Speakable](https://developers.google.com/search/docs/appearance/structured-data/speakable)
                
            *   [Subscription and paywalled content](https://developers.google.com/search/docs/appearance/structured-data/paywalled-content)
                
            *   [Vacation rental](https://developers.google.com/search/docs/appearance/structured-data/vacation-rental)
                
            *   [Video](https://developers.google.com/search/docs/appearance/structured-data/video)
                
            
        
    *   [Title links](https://developers.google.com/search/docs/appearance/title-link)
        
    *   Translated features
        
        *   [Translated results](https://developers.google.com/search/docs/appearance/translated-results)
            
        *   [Ad networks and translation-related Google Search features](https://developers.google.com/search/docs/appearance/ad-network-and-translation)
            
        
    *   [Videos](https://developers.google.com/search/docs/appearance/video)
        
    *   [Visual Elements gallery](https://developers.google.com/search/docs/appearance/visual-elements-gallery)
        
    *   Web Stories
        
        *   [Enable Web Stories on Google](https://developers.google.com/search/docs/appearance/enable-web-stories)
            
        *   [Best practices for creating Web Stories](https://developers.google.com/search/docs/appearance/web-stories-creation-best-practices)
            
        *   [Web Story content policy](https://developers.google.com/search/docs/appearance/web-stories-content-policy)
            
        
    *   Early Adopters Program
        
        *   [Package tracking](https://developers.google.com/search/docs/appearance/package-tracking)
            
        *   [Structured data carousels (beta)](https://developers.google.com/search/docs/appearance/structured-data/carousels-beta)
            
        
    
*   Monitoring and debugging
    
    *   [Debug drops in Search traffic](https://developers.google.com/search/docs/monitor-debug/debugging-search-traffic-drops)
        
    *   Monitor with Search Console
        
        *   [Get started with Search Console](https://developers.google.com/search/docs/monitor-debug/search-console-start)
            
        *   [Improve SEO with a bubble chart](https://developers.google.com/search/docs/monitor-debug/bubble-chart-analysis)
            
        *   [Using Search Console and Google Analytics data for SEO](https://developers.google.com/search/docs/monitor-debug/google-analytics-search-console)
            
        
    *   Debug with search operators
        
        *   [Overview](https://developers.google.com/search/docs/monitor-debug/search-operators)
            
        *   [site: search operator](https://developers.google.com/search/docs/monitor-debug/search-operators/all-search-site)
            
        *   [Google Images search operators](https://developers.google.com/search/docs/monitor-debug/search-operators/image-search)
            
        
    *   Preventing and monitoring abuse
        
        *   [Overview](https://developers.google.com/search/docs/monitor-debug/security)
            
        *   [Prevent user-generated spam](https://developers.google.com/search/docs/monitor-debug/prevent-abuse)
            
        *   [Malware and unwanted software](https://developers.google.com/search/docs/monitor-debug/security/malware)
            
        *   [Prevent a malware infection](https://developers.google.com/search/docs/monitor-debug/security/prevent-malware)
            
        *   [Social engineering (phishing and deceptive sites)](https://developers.google.com/search/docs/monitor-debug/security/social-engineering)
            
        *   [Google Safe Browsing Repeat Offenders Policy](https://developers.google.com/search/docs/monitor-debug/security/safe-browsing-repeat-offenders)
            
        
    *   [Get started with Google Trends](https://developers.google.com/search/docs/monitor-debug/trends-start)
        
    
*   Site-specific guides
    
    *   Ecommerce
        
        *   [Overview](https://developers.google.com/search/docs/specialty/ecommerce)
            
        *   [Where content can appear](https://developers.google.com/search/docs/specialty/ecommerce/where-ecommerce-data-can-appear-on-google)
            
        *   [Share product data](https://developers.google.com/search/docs/specialty/ecommerce/share-your-product-data-with-google)
            
        *   [Include structured data](https://developers.google.com/search/docs/specialty/ecommerce/include-structured-data-relevant-to-ecommerce)
            
        *   [Launch a new website](https://developers.google.com/search/docs/specialty/ecommerce/how-to-launch-an-ecommerce-website)
            
        *   [Write high quality reviews](https://developers.google.com/search/docs/specialty/ecommerce/write-high-quality-reviews)
            
        *   [Design a URL structure](https://developers.google.com/search/docs/specialty/ecommerce/designing-a-url-structure-for-ecommerce-sites)
            
        *   [Ecommerce site structure](https://developers.google.com/search/docs/specialty/ecommerce/help-google-understand-your-ecommerce-site-structure)
            
        *   [Pagination, incremental page loading, and Search](https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading)
            
        
    *   International and multilingual
        
        *   [Overview](https://developers.google.com/search/docs/specialty/international)
            
        *   [Managing multi-regional and multilingual sites](https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites)
            
        *   [Tell Google about localized versions of your page](https://developers.google.com/search/docs/specialty/international/localized-versions)
            
        *   [How Google crawls locale-adaptive pages](https://developers.google.com/search/docs/specialty/international/locale-adaptive-pages)
            
        
    *   Explicit content
        
        *   [Guidelines for sites with explicit content](https://developers.google.com/search/docs/specialty/explicit/guidelines)
            
        *   [What to do if your site is incorrectly flagged as explicit](https://developers.google.com/search/docs/specialty/explicit/troubleshooting)
            
        
    

*   SEO fundamentals
*   [Introduction](https://developers.google.com/search/docs)
    
*   [Search Essentials](https://developers.google.com/search/docs/essentials)
    
*   [SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide)
    
*   [Optimizing for generative AI search](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide)
    
*   [How Google Search Works](https://developers.google.com/search/docs/fundamentals/how-search-works)
    
*   [Do you need an SEO?](https://developers.google.com/search/docs/fundamentals/do-i-need-seo)
    
*   Crawling and indexing
*   [Sitemaps](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview)
    
*   [robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro)
    
*   [Meta tags](https://developers.google.com/search/docs/crawling-indexing/special-tags)
    
*   [Crawler management](https://developers.google.com/search/docs/crawling-indexing/ask-google-to-recrawl)
    
*   [Removals](https://developers.google.com/search/docs/crawling-indexing/control-what-you-share)
    
*   [Canonicalization](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)
    
*   [Redirects](https://developers.google.com/search/docs/crawling-indexing/301-redirects)
    
*   [JavaScript SEO](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics)
    
*   Ranking and search appearance
*   [Visual Elements gallery](https://developers.google.com/search/docs/appearance/visual-elements-gallery)
    
*   [Title links](https://developers.google.com/search/docs/appearance/title-link)
    
*   [Snippets](https://developers.google.com/search/docs/appearance/snippet)
    
*   [Images](https://developers.google.com/search/docs/appearance/google-images)
    
*   [Videos](https://developers.google.com/search/docs/appearance/video)
    
*   [Structured data](https://developers.google.com/search/docs/appearance/structured-data/search-gallery)
    
*   [Favicons](https://developers.google.com/search/docs/appearance/favicon-in-search)
    
*   Site-specific guides
*   [Ecommerce](https://developers.google.com/search/docs/specialty/ecommerce)
    
*   [International and multilingual sites](https://developers.google.com/search/docs/specialty/international)
    
*   Data analysis
*   [Get started with Search Console](https://developers.google.com/search/docs/monitor-debug/search-console-start)
    
*   [Debug traffic drops](https://developers.google.com/search/docs/monitor-debug/debugging-search-traffic-drops)
    
*   [Using Search Console and Google Analytics data for SEO](https://developers.google.com/search/docs/monitor-debug/google-analytics-search-console)
    
*   [Get started with Google Trends](https://developers.google.com/search/docs/monitor-debug/trends-start)
    

*   [All updates](https://developers.google.com/search/news)
    
*   [Documentation updates](https://developers.google.com/search/updates)
    
*   [Ranking updates](https://status.search.google.com/products/rGHU1u87FJnkP6W2GwMi/history)
    
*   [New YouTube videos](https://www.youtube.com/channel/UCWf2ZlNsCGDS89VBF_awNvA)
    
*   [Recent podcast episodes](https://pod.link/1512522198)
    

*   [Home](https://developers.google.com/)
    
*   [Search Central](https://developers.google.com/search)
    
*   [Documentation](https://developers.google.com/search/docs)
    

Send feedback

Robots `meta` tag, `data-nosnippet`, and `X-Robots-Tag` specifications
======================================================================

This document details how the page- and text-level settings can be used to adjust how Google presents your content in search results. You can specify page-level settings by including a `meta` tag on HTML pages or in an HTTP header. You can specify text-level settings with the `data-nosnippet` attribute on HTML elements within a page.

Keep in mind that these settings can be read and followed only if crawlers are allowed to access the pages that include these settings.

The `<meta name="robots" content="noindex">` rule applies to search engine crawlers. To block non-search crawlers, such as `AdsBot-Google`, you might need to add rules targeted to the specific crawler (for example, `<meta name="AdsBot-Google" content="noindex">`).

Using the robots `meta` tag
---------------------------

The robots `meta` tag lets you use a granular, page-specific approach to controlling how an individual HTML page should be indexed and served to users in Google Search results. Place the robots `meta` tag in the `<head>` section of a given page, like this:

<!DOCTYPE html\>
<html><head>
  **<meta name="robots" content="noindex"\>**
  _(…)_
</head\>
<body\>_(…)_</body\>
</html\>

**If you use a CMS, such as Wix, WordPress, or Blogger**, you might not be able to edit your HTML directly, or you might prefer not to. Instead, your CMS might have a search engine settings page or some other mechanism to tell search engines about `meta` tags.

If you want to add a `meta` tag to your website, search for instructions about modifying the `<head>` of your page on your CMS (for example, search for "wix add meta tags").

In this example, the robots `meta` tag instructs search engines not to show the page in search results. The value of the `name` attribute (`robots`) specifies that the rule applies to all crawlers. Both the `name` and the `content` attributes are case-insensitive. To address a specific crawler, replace the `robots` value of the `name` attribute with the user agent token of the crawler that you are addressing. Google supports two user agent tokens in the robots `meta` tag; other values are ignored:

1.  `googlebot`: for all text results.
2.  `googlebot-news`: for news results.

For example, to instruct Google specifically not to show a snippet in its search results, you can specify `googlebot` as the name of the `meta` tag:

<meta name="googlebot" content="nosnippet">

To show a full snippet in Google's web search results, but no snippet in Google News, specify `googlebot-news` as the name of the `meta` tag:

<meta name="googlebot-news" content="nosnippet">

To specify multiple crawlers individually, use multiple robots `meta` tags:

<meta name="googlebot" content="notranslate">
<meta name="googlebot-news" content="nosnippet">

**Note:** Google Search doesn't enforce placement of meta robots in the HTML head and will respect robots meta tags in the body section of an HTML document as well.

To block indexing of non-HTML resources, such as PDF files, video files, or image files, use the [`X-Robots-Tag` response header](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#xrobotstag)
 instead.

Using the `X-Robots-Tag` HTTP header
------------------------------------

The `X-Robots-Tag` can be used as an element of the HTTP header response for a given URL. Any rule that can be used in a robots `meta` tag can also be specified as an `X-Robots-Tag`. Here's an example of an HTTP response with an `X-Robots-Tag` instructing crawlers not to index a page:

HTTP/1.1 200 OK
Date: Tue, 25 May 2010 21:42:43 GMT
_(…)_
**X-Robots-Tag: noindex**
_(…)_

Multiple `X-Robots-Tag` headers can be combined within the HTTP response, or you can specify a comma-separated list of rules. Here's an example of an HTTP header response which has a `noimageindex` `X-Robots-Tag` combined with an `unavailable_after` `X-Robots-Tag`.

HTTP/1.1 200 OK
Date: Tue, 25 May 2010 21:42:43 GMT
_(…)_
**X-Robots-Tag: noimageindex
X-Robots-Tag: unavailable\_after: 25 Jun 2010 15:00:00 PST**
_(…)_

The `X-Robots-Tag` may optionally specify a user agent before the rules. For instance, the following set of `X-Robots-Tag` HTTP headers can be used to conditionally allow showing of a page in search results for different search engines:

HTTP/1.1 200 OK
Date: Tue, 25 May 2010 21:42:43 GMT
_(…)_
**X-Robots-Tag: googlebot: nofollow
X-Robots-Tag: otherbot: noindex, nofollow**
_(…)_

Rules specified without a user agent are valid for all crawlers. The HTTP header, the user agent name, and the specified values are not case sensitive.

**Conflicting robots rules:** In the case of conflicting robots rules, the more restrictive rule applies. For example, if a page has both `max-snippet:50` and `nosnippet` rules, the `nosnippet` rule will apply.

Valid indexing and serving rules
--------------------------------

The following rules, also available in [machine-readable format](https://developers.google.com/static/search/apis/ipranges/robots-tags.json)
, can be used to control indexing and serving of a [snippet](https://developers.google.com/search/docs/appearance/snippet)
 with the robots `meta` tag and the `X-Robots-Tag`. Each value represents a specific rule. [Multiple rules may be combined](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#combined)
 in a comma-separated list or in separate `meta` tags. These rules are case-insensitive.

It is possible that these rules may not be treated the same by all other search engines.

|     |     |
| --- | --- |
| Rules |     |
| ### `all` | There are no restrictions for indexing or serving. This rule is the default value and has no effect if explicitly listed. |
| ### `noindex` | Do not show this page, media, or resource in search results. If you don't specify this rule, the page, media, or resource may be indexed and shown in search results.<br><br>To remove information from Google, follow our [step-by-step guide](https://developers.google.com/search/docs/crawling-indexing/remove-information)<br>. |
| ### `nofollow` | Do not follow the links on this page. If you don't specify this rule, Google may use the links on the page to discover those linked pages. Learn more about [`nofollow`](https://developers.google.com/search/docs/crawling-indexing/qualify-outbound-links)<br>. |
| ### `none` | Equivalent to `noindex, nofollow`. |
| ### `nosnippet` | Do not show a text snippet or video preview in the search results for this page. A static image thumbnail (if available) may still be visible, when it results in a better user experience. This applies to all forms of search results (at Google: web search, Google Images, Discover, AI Overviews, AI Mode) and will also prevent the content from being used as a direct input for AI Overviews and AI Mode.<br><br>If you don't specify this rule, Google may generate a text snippet and video preview based on information found on the page.<br><br>To exclude certain sections of your content from appearing in search result snippets, use the [`data-nosnippet` HTML attribute](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#data-nosnippet-attr)<br>. |
| ### `indexifembedded` | Google is allowed to index the content of a page if it's embedded in another page through [`iframes`](https://developer.mozilla.org/docs/Web/HTML/Element/iframe)<br> or similar HTML tags, in spite of a `noindex` rule.<br><br>`indexifembedded` only has an effect if it's accompanied by `noindex`. |
| ### `max-snippet:` \[number\] | Use a maximum of \[number\] characters as a textual snippet for this search result. (Note that a URL may appear as multiple search results within a search results page.) This does not affect image or video previews. This applies to all forms of search results (such as Google web search, Google Images, Discover, Assistant, AI Overviews, AI Mode) and will also limit how much of the content may be used as a direct input for AI Overviews and AI Mode. However, this limit does not apply in cases where a publisher has separately granted permission for use of content. For instance, if the publisher supplies content in the form of in-page structured data or has a license agreement with Google, this setting does not interrupt those more specific permitted uses. This rule is ignored if no parseable \[number\] is specified.<br><br>If you don't specify this rule, Google will choose the length of the snippet.<br><br>Special values:<br><br>*   `0`: No snippet is to be shown. Equivalent to `nosnippet`.<br>*   `-1`: Google will choose the snippet length that it believes is most effective to help users discover your content and direct users to your site.<br><br>Examples:<br><br>To stop a snippet from displaying in search results:<br><br><meta name="robots" content="max-snippet:0"><br><br>To allow up to 20 characters to be shown in the snippet:<br><br><meta name="robots" content="max-snippet:20"><br><br>To specify that there's no limit on the number of characters that can be shown in the snippet:<br><br><meta name="robots" content="max-snippet:-1"\> |
| ### `max-image-preview:` \[setting\] | Set the maximum size of an image preview for this page in search results.<br><br>If you don't specify the `max-image-preview` rule, Google may show an image preview of the default size.<br><br>Accepted \[setting\] values:<br><br>*   `none`: No image preview is to be shown.<br>*   `standard`: A default image preview may be shown.<br>*   `large`: A larger image preview, up to the width of the viewport, may be shown.<br><br>This applies to all forms of search results (such as Google web search, Google Images, Discover, Assistant). However, this limit does not apply in cases where a publisher has separately granted permission for use of content. For instance, if the publisher supplies content in the form of in-page structured data (such as AMP and canonical versions of an article) or has a license agreement with Google, this setting will not interrupt those more specific permitted uses.<br><br>If you don't want Google to use larger thumbnail images when their AMP pages and canonical version of an article are shown in Search or Discover, specify a `max-image-preview` value of `standard` or `none`.<br><br>Example:<br><br><meta name="robots" content="max-image-preview:standard"> |
| ### `max-video-preview:` \[number\] | Use a maximum of \[number\] seconds as a video snippet for videos on this page in search results.<br><br>If you don't specify the `max-video-preview` rule, Google may show a video snippet in search results, and you leave it up to Google to decide how long the preview may be.<br><br>Special values:<br><br>*   `0`: At most, a static image may be used, in accordance to the `max-image-preview` setting.<br>*   `-1`: There is no limit.<br><br>This applies to all forms of search results (at Google: web search, Google Images, Google Videos, Discover, Assistant). This rule is ignored if no parseable \[number\] is specified.<br><br>Example:<br><br><meta name="robots" content="max-video-preview:-1"\> |
| ### `notranslate` | Don't offer translation of this page in search results. If you don't specify this rule, Google may provide a [translation of the title link and snippet](https://developers.google.com/search/docs/appearance/translated-results)<br> of a search result for results that aren't in the language of the search query. If the user clicks the translated title link, all further user interaction with the page is through Google Translate, which will automatically translate any links followed. |
| ### `noimageindex` | Do not index images on this page. If you don't specify this value, images on the page may be indexed and shown in search results. |
| ### `unavailable_after:` \[date/time\] | Do not show this page in search results after the specified date/time. The date/time must be specified in a widely adopted format including, but not limited to [RFC 822](https://www.ietf.org/rfc/rfc0822.txt)<br>, [RFC 850](https://www.ietf.org/rfc/rfc0850.txt)<br>, and [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html)<br>. The rule is ignored if no valid date/time is specified. By default there is no expiration date for content.<br><br>If you don't specify this rule, this page may be shown in search results indefinitely. Googlebot will decrease the crawl rate of the URL considerably after the specified date and time.<br><br>Example:<br><br><meta name="robots" content="unavailable\_after: 2020-09-21"> |

### Reference of historical and other unused rules

The following rules aren't used by Google Search and are ignored. We're including these rules here because people have often asked about them or we used them in the past.

| List of historical and other unused rules |     |
| --- | --- |
| ### `noarchive` | The `noarchive` rule is no longer used by Google Search to control whether a cached link is shown in search results, as the cached link feature no longer exists. |
| ### `nocache` | The `nocache` rule isn't used by Google Search. |
| ### `nositelinkssearchbox` | The `nositelinkssearchbox` rule is no longer used by Google Search to control whether the sitelink search box is shown for a given page, as the feature no longer exists. |

Handling combined indexing and serving rules
--------------------------------------------

You can create a multi-rule instruction by combining robots `meta` tag rules with commas or by using multiple `meta` tags. Here is an example of a robots `meta` tag that instructs web crawlers to not index the page and to not crawl any of the links on the page:

### Comma-separated list

<meta name="robots" content="noindex, nofollow">

### Multiple `meta` tags

<meta name="robots" content="noindex">
<meta name="robots" content="nofollow">

Here is an example that limits the text snippet to 20 characters, and allows a large image preview:

<meta name="robots" content="max-snippet:20, max-image-preview:large">

For situations where multiple crawlers are specified along with different rules, the search engine will use the sum of the negative rules. For example:

<meta name="robots" content="nofollow">
<meta name="googlebot" content="noindex">

The page containing these `meta` tags will be interpreted as having a `noindex, nofollow` rule when crawled by Googlebot.

Using the `data-nosnippet` HTML attribute
-----------------------------------------

You can designate textual parts of an HTML page not to be used as a snippet. This can be done on an HTML-element level with the `data-nosnippet` HTML attribute on `span`, `div`, and `section` elements. The `data-nosnippet` is considered a [boolean attribute](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes)
. As with all boolean attributes, any value specified is ignored. To ensure machine-readability, the HTML section must be valid HTML and all appropriate tags must be closed accordingly.

Examples:

<p>This text can be shown in a snippet
<span data-nosnippet>and this part would not be shown</span>.</p>

<div data-nosnippet>not in snippet</div>
<div data-nosnippet="true">also not in snippet</div>
<div data-nosnippet="false">also not in snippet</div>
<!-- all values are ignored -->

<div data-nosnippet>some text</html>
<!-- unclosed "div" will include all content afterwards -->

<mytag data-nosnippet>some text</mytag>
<!-- NOT VALID: not a span, div, or section -->

<p>This text can be shown in a snippet.</p>
<div data-nosnippet>
<p>However, this is not in snippet.</p>
<ul>
  <li>Stuff not in snippet</li>
  <li>More stuff not in snippet</li>
</ul>
</div>

Google typically renders pages in order to index them, however rendering is not guaranteed. Because of this, extraction of `data-nosnippet` may happen both before and after rendering. To avoid uncertainty from rendering, do not add or remove the `data-nosnippet` attribute of existing nodes through JavaScript. When adding DOM elements through JavaScript, include the `data-nosnippet` attribute as necessary when initially adding the element to the page's DOM. If custom elements are used, wrap or render them with `div`, `span`, or `section` elements if you need to use `data-nosnippet`.

Using structured data
---------------------

Robots `meta` tags govern the amount of content that Google extracts automatically from web pages for display as search results. But many publishers also use schema.org structured data to make specific information available for [search presentation](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
. Robots `meta` tag limitations don't affect the use of that structured data, with the exception of `article.description` and the `description` values for structured data specified for other creative works. To specify the maximum length of a preview based on these `description` values, use the `max-snippet` rule. For example, `recipe` structured data on a page is eligible for inclusion in the recipe carousel, even if the text preview would otherwise be limited. You can limit the length of a text preview with `max-snippet`, but that robots `meta` tag doesn't apply when the information is provided using structured data for rich results.

To manage the use of structured data for your web pages, modify the structured data types and values themselves, adding or removing information in order to provide only the data you want to make available. Also note that structured data remains usable for search results when declared within a `data-nosnippet` element.

Practical implementation of `X-Robots-Tag`
------------------------------------------

You can add the `X-Robots-Tag` to a site's HTTP responses through the configuration files of your site's web server software. For example, on Apache-based web servers you can use .htaccess and httpd.conf files. The benefit of using an `X-Robots-Tag` with HTTP responses is that you can specify crawling rules that are applied globally across a site. The support of regular expressions allows a high level of flexibility.

For example, to add a `noindex, nofollow` `X-Robots-Tag` to the HTTP response for all `.PDF` files across an entire site, add the following snippet to the site's root `.htaccess` file or `httpd.conf` file on Apache, or the site's `.conf` file on NGINX.

### Apache

<Files ~ "\\.pdf$">
Header set X-Robots-Tag "noindex, nofollow"
</Files>

### NGINX

location ~\* \\.pdf$ {
add\_header X-Robots-Tag "noindex, nofollow";
}

You can use the `X-Robots-Tag` for non-HTML files like image files where the usage of robots `meta` tags in HTML is not possible. Here's an example of adding a `noindex` `X-Robots-Tag` rule for images files (`.png`, `.jpeg`, `.jpg`, `.gif`) across an entire site:

### Apache

<Files ~ "\\.(png|jpe?g|gif)$">
Header set X-Robots-Tag "noindex"
</Files>

### NGINX

location ~\* \\.(png|jpe?g|gif)$ {
add\_header X-Robots-Tag "noindex";
}

You can also set the `X-Robots-Tag` headers for individual static files:

### Apache

\# the htaccess file must be placed in the directory of the matched file.
<Files "unicorn.pdf">
Header set X-Robots-Tag "noindex, nofollow"
</Files>

### NGINX

location = /secrets/unicorn.pdf {
add\_header X-Robots-Tag "noindex, nofollow";
}

Combining robots.txt rules with indexing and serving rules
----------------------------------------------------------

robots `meta` tags and `X-Robots-Tag` HTTP headers are discovered when a URL is crawled. If a page is disallowed from crawling through the robots.txt file, then any information about indexing or serving rules will not be found and will therefore be ignored. If indexing or serving rules must be followed, the URLs containing those rules cannot be disallowed from crawling.

Send feedback

Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/)
, and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0)
. For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies)
. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-03-24 UTC.

 *    [![LinkedIn](https://developers.google.com/static/search/images/li.png)LinkedIn](https://www.linkedin.com/showcase/googlesearchcentral/)
    
    Join us on LinkedIn
    
*    [![YouTube](https://developers.google.com/static/homepage-assets/images/yt.svg)YouTube](https://www.youtube.com/channel/UCWf2ZlNsCGDS89VBF_awNvA)
    
    Watch our videos
    
*    [![Blog](https://fonts.gstatic.com/s/i/short-term/release/googlesymbols/rss_feed/default/24px.svg)Blog](https://feeds.feedburner.com/blogspot/amDG)
    
    Subscribe to our RSS feed
    
*    [![Podcast](https://developers.google.com/static/search/images/search-off-the-record-podcast-logo.png)Podcast](https://pod.link/1512522198)
    
    Listen to Search Off the Record
    
*    [![X (Twitter)](https://developers.google.com/static/homepage-assets/images/x.svg)X (Twitter)](https://twitter.com/googlesearchc)
    
    Join us on X (Twitter)

*   ### Get support
    
    *   [Go to the help forum](https://support.google.com/webmasters/community)
        
    *   [Submit a question for office hours](https://developers.google.com/search/help/office-hours)
        
    *   [Report spam, phishing, or malware](https://developers.google.com/search/help/report-quality-issues)
        
    *   [More support resources](https://developers.google.com/search/help)
        
*   ### Resources
    
    *   [Do you need an SEO?](https://developers.google.com/search/docs/fundamentals/get-on-google)
        
    *   [SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide)
        
    *   [Status of Search systems](https://status.search.google.com/)
        
    *   [Search Console documentation](https://support.google.com/webmasters)
        
    *   [Case Studies](https://developers.google.com/search/case-studies)
        
*   ### Tools
    
    *   [Search Console](https://search.google.com/search-console)
        
    *   [Rich Results Test](https://search.google.com/test/rich-results)
        
    *   [PageSpeed Insights](https://pagespeed.web.dev/)
        
    *   [AMP Test](https://search.google.com/test/amp)
        

[![Google Developers](https://www.gstatic.com/devrel-devsite/prod/vb08cbdb02acf7f66ad9727ddfba9d81df8806422eb5dd63dba194c9c8c7997f7/developers/images/lockup-google-for-developers.svg)](https://developers.google.com/)

*   [Android](https://developer.android.com/)
    
*   [Chrome](https://developer.chrome.com/home)
    
*   [Firebase](https://firebase.google.com/)
    
*   [Google Cloud Platform](https://cloud.google.com/)
    
*   [Google AI](https://ai.google.dev/)
    
*   [All products](https://developers.google.com/products)
    

*   [Terms](https://developers.google.com/terms/site-terms)
    
*   [Privacy](https://policies.google.com/privacy)
    
*   [Manage cookies](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#)
    

*   English
*   Deutsch
*   Español
*   Español – América Latina
*   Français
*   Indonesia
*   Italiano
*   Polski
*   Português – Brasil
*   Tiếng Việt
*   Türkçe
*   Русский
*   العربيّة
*   हिंदी
*   ภาษาไทย
*   中文 – 简体
*   中文 – 繁體
*   日本語
*   한국어