Stay organized with collections
Save and categorize content based on your preferences.
Control what you share with Google
Google supports a variety of ways that allows site owners control what shows up in Google's
search results. While most people focus on getting their pages indexed, sometimes it's
important to do the opposite: prevent content from appearing in Search. There are a few
reasons you might want to hide content from Google:
To restrict data: You might have data hosted on your site that you want to show
only to users who are already on your site. You can block Google from crawling such data so
it doesn't show up in search results.
Also keep in mind that certain files published on your site may have metadata that can show
up in Search.
Learn more about keeping redacted information out of Search.
To hide content of less value to your audience: Your website might have low quality
content that shouldn't show up in Search. For example, if your website allows users to
create content, some of that content might be
low quality or even spam.
Allowing indexing of such content may have a negative effect on your site's ranking in
Google's search results.
To have Google focus on your important content: If you have a very large site (over
hundreds of thousands of URLs) and pages with less important content, or if you have a lot
of duplicate content, you might want to prevent Google from crawling the duplicate or less
important pages in order to focus on your more important content.
How to block content
Here are the main ways to block content from appearing in Google:
Methods
Remove the content from your site
Applicable: all content types
Removing content from your site is the best way to ensure that it won't appear in
Google Search and anywhere else on the Internet.
Password-protect your files
Applicable: all content types
If you have confidential or private content on your site, you need to password protect
it to ensure only authorized users can access it. This will also prevent that content
from appearing in Google Search, or if it already appears, it will eventually remove
that content from our search results.
The noindexrobotsmeta tag is a
rule that tells Google not to index your content or let it appear in Google search
results. Your content can still be linked to and visited through other web pages, or
directly visited by users with a link, but the content will not appear in Google search
results.
Google only indexes images and videos that Googlebot is allowed to crawl. To prevent
Googlebot from accessing your media files, use
robots.txt rules to block the files.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-07 UTC."],[[["\u003cp\u003eControl the visibility of your website's content in Google Search results to manage data privacy, prioritize valuable content, and improve search ranking.\u003c/p\u003e\n"],["\u003cp\u003eBlock content from Google Search using methods like password protection, robots.txt, and the noindex rule, depending on the content type.\u003c/p\u003e\n"],["\u003cp\u003eRemove existing content from Google Search through removal requests to maintain an accurate and up-to-date online presence.\u003c/p\u003e\n"],["\u003cp\u003eGoogle offers tools and options for website owners to manage how their content is indexed and displayed across various Google properties.\u003c/p\u003e\n"]]],["Site owners can control Google's search results by preventing specific content from appearing. Reasons include restricting data, hiding low-value content, and focusing Google on important content. Methods to block content include removing it from the site, password-protecting files, using the `noindex` rule, disallowing crawling via `robots.txt`, or opting out of specific Google properties. For content already indexed, site owners can request its removal from Google's search results. Site owners can opt-out of the page annotation feature.\n"],null,["# Control the Content You Share on Search | Google Search Central\n\nControl what you share with Google\n==================================\n\n\nGoogle supports a variety of ways that allows site owners control what shows up in Google's\nsearch results. While most people focus on getting their pages indexed, sometimes it's\nimportant to do the opposite: prevent content from appearing in Search. There are a few\nreasons you might want to hide content from Google:\n\n- **To restrict data** : You might have data hosted on your site that you want to show only to users who are already on your site. You can block Google from crawling such data so it doesn't show up in search results. \n Also keep in mind that certain files published on your site may have metadata that can show up in Search. [Learn more about keeping redacted information out of Search](/search/docs/crawling-indexing/keep-redacted-information-out).\n- **To hide content of less value to your audience** : Your website might have low quality content that shouldn't show up in Search. For example, if your website allows users to create content, some of that content might be [low quality or even spam](/search/docs/essentials/spam-policies#user-generated-spam). Allowing indexing of such content may have a negative effect on your site's ranking in Google's search results.\n- **To have Google focus on your important content**: If you have a very large site (over hundreds of thousands of URLs) and pages with less important content, or if you have a lot of duplicate content, you might want to prevent Google from crawling the duplicate or less important pages in order to focus on your more important content.\n\nHow to block content\n--------------------\n\nHere are the main ways to block content from appearing in Google:\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### Remove the content from your site | **Applicable: all content types** Removing content from your site is the best way to ensure that it won't appear in Google Search and anywhere else on the Internet. |\n| ### Password-protect your files | **Applicable: all content types** If you have confidential or private content on your site, you need to password protect it to ensure only authorized users can access it. This will also prevent that content from appearing in Google Search, or if it already appears, it will eventually remove that content from our search results. |\n| [`noindex` rule](/search/docs/crawling-indexing/block-indexing) | **Applicable: all content types** The `noindex` robots `meta` tag is a rule that tells Google not to index your content or let it appear in Google search results. Your content can still be linked to and visited through other web pages, or directly visited by users with a link, but the content will not appear in Google search results. |\n| ### Disallow crawling with [robots.txt](/search/docs/crawling-indexing/prevent-images-on-your-page#for-non-emergency-image-removal) | **Applicable: images and video** Google only indexes images and videos that Googlebot is allowed to crawl. To prevent Googlebot from accessing your media files, use [robots.txt rules to block the files](/search/docs/crawling-indexing/prevent-images-on-your-page#for-non-emergency-image-removal). |\n| [Opt out of specific Google properties](https://support.google.com/webmasters/answer/3035947) | **Applicable: web pages** You can tell Google not to include content from your site in specific Google properties, such as [Google Shopping](https://www.google.com/shopping), [Google Hotels](https://www.google.com/travel/hotels), and vacation rentals. |\n\nRemove existing content from Google\n-----------------------------------\n\n\nIf the content hosted on your site is already appearing in Google, you can request the\nremoval of those search results. Learn how to\n[remove a page hosted on your site from Google](/search/docs/crawling-indexing/remove-information)."]]