Meta Robots Tag Generator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free meta robots tag generator. Build robots meta tags and X-Robots-Tag headers for noindex, nofollow, snippets and image previews, with conflicts explained.
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the meta robots tag generator
Choose which search engines the rules apply to (all of them, Google only, or Bing only), then tick the rules you want:
- noindex: keep the page out of search results.
- nofollow: don't follow the links on the page.
- nosnippet: don't show a text snippet or video preview in results.
- noimageindex: don't index the images on the page.
- notranslate: don't offer a translation of the page in results.
- noarchive: don't show a cached copy.
- indexifembedded: allow the content to be indexed when it's embedded in another page through an iframe, even with noindex.
You can also set a maximum snippet length, a maximum image preview size, a maximum video preview length, and a date after which the page should be removed from search.
The meta robots tag generator gives you the <meta> tag for the page's <head> and the equivalent X-Robots-Tag HTTP header for PDFs and other files. It explains conflicts as you go, such as snippet settings that have no effect on a noindexed page. Everything runs in your browser.
What a meta robots tag is
A meta robots tag is a line in a page's <head> that tells search engines how to treat that page:
<meta name="robots" content="noindex, nofollow">
name="robots" applies the rules to all search engines. To target one, use its crawler's name instead, such as googlebot or bingbot:
<meta name="googlebot" content="noindex">
Without any robots tag, search engines index the page and follow its links. You only need a tag when you want something different.
Meta robots tag vs robots.txt
They do different jobs, and confusing them is one of the most common SEO mistakes:
- robots.txt controls crawling: which pages search engines may fetch. The robots.txt generator writes it.
- The meta robots tag controls indexing and display: whether a page that has been fetched appears in results, and how.
The key consequence: if you block a page in robots.txt, search engines can't see its noindex tag. A blocked page can still appear in search results (usually without a description) if other sites link to it. To keep a page out of search, allow it to be crawled and add noindex.
When to use noindex
Good candidates for noindex:
- thank-you and confirmation pages after a form or purchase,
- internal search results pages,
- login, account and checkout pages,
- thin tag or archive pages that add nothing beyond other pages,
- staging or test copies of pages (better still, protect them with a password),
- landing pages made only for ads or email campaigns, if you don't want them found in search,
- duplicate printer-friendly versions of pages.
Don't noindex pages you want people to find, and don't use noindex to choose between duplicate pages: that's what a canonical tag is for.
The rules, explained
noindex and nofollow
noindex removes the page from search results once search engines next crawl it. nofollow asks them not to follow the links on the page. none is a shorthand for both. Most pages that need noindex don't need nofollow: letting search engines follow links from a thank-you page to your other pages does no harm.
nosnippet and max-snippet
nosnippet stops search engines showing any text snippet or video preview for the page. max-snippet:50 limits the snippet to 50 characters; max-snippet:0 is the same as nosnippet, and max-snippet:-1 means no limit. To hide only part of a page from snippets, add the data-nosnippet attribute to that element instead.
max-image-preview and max-video-preview
max-image-preview sets the largest image preview allowed: none, standard or large. Many publishers set large so their images can appear big in Discover and other features. max-video-preview limits video previews to a number of seconds (0 for still images only, -1 for no limit).
noimageindex
Asks search engines not to index the images on the page. If an image is also used on other pages without this rule, it may still be indexed from there.
unavailable_after
Removes the page from search after a date, useful for time-limited offers or event pages. Google accepts common date formats; the generator uses ISO 8601 (2026-12-31).
noarchive
Asked search engines not to show a cached copy. Google no longer shows cached pages, so it no longer uses this rule, but other search engines such as Bing still do.
notranslate and indexifembedded
notranslate stops Google offering a translated version of the page in results. indexifembedded lets content that's embedded in other pages (for example, a widget or a media player in an iframe) be indexed as part of those pages, even though the content's own page has noindex.
Using the X-Robots-Tag header
PDFs, images and other files have no HTML head, so they can't carry a meta tag. Send the same rules as an HTTP header instead:
X-Robots-Tag: noindex
On an Apache server, for example, you could keep all PDFs out of search with:
<FilesMatch "\.pdf$">
Header set X-Robots-Tag "noindex"
</FilesMatch>
The header works for HTML pages too, which is handy when you can't edit the page template.
Checking your robots rules
- View the page source and search for
robotsto see the tag. - Use URL Inspection in Google Search Console, which shows whether a page is indexable and why not.
- Check headers with your browser's developer tools (Network tab) for X-Robots-Tag.
- Look for duplicates: themes and SEO plugins both add robots tags. When there are conflicting rules, Google applies the most restrictive one.
Common mistakes
- Leaving noindex on after launch. Staging sites often use noindex, and it's easy to forget to remove it when the site goes live. Check your home page's source after any redesign.
- Blocking noindexed pages in robots.txt, so the noindex is never seen.
- Noindexing pages with valuable links from other sites, when a canonical or redirect would keep their value.
- Using nofollow to hide internal pages. It doesn't stop indexing.
- Expecting instant removal. Noindex takes effect the next time the page is crawled. For urgent removals, use the Removals tool in Search Console as well.
Robots rules on popular platforms
You often don't need to edit HTML to add a robots tag:
- WordPress: SEO plugins such as Yoast SEO and Rank Math have a per-page setting to stop a page appearing in search, which adds noindex for you. Check Settings → Reading too: "Discourage search engines from indexing this site" adds noindex to every page.
- Shopify: most themes don't offer a per-page switch, but you can add a robots tag conditionally in theme.liquid, or use an SEO app.
- Wix and Squarespace: each page's SEO settings include an option to hide the page from search engines.
Whatever the platform, view the published page's source afterwards to confirm exactly which robots tag it outputs.
A worked example
A bakery's website has an order confirmation page that keeps appearing in search for the bakery's name, confusing customers who land on "Thanks for your order!" without ordering. The owner opens the meta robots tag generator, ticks noindex (leaving links followed), and adds <meta name="robots" content="noindex"> to the confirmation page template.
The generator reminds the owner not to block the page in robots.txt. After Google recrawls it a week later, the page drops out of results. The owner also adds the same tag to the internal search results page, and sends X-Robots-Tag: noindex for an old price list PDF that no longer applies.
Search ads for the searches that matter now
Good markup helps your pages rank over time. Google Ads puts the same pages in front of buyers today. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Frequently asked questions
What does a meta robots tag do?
It tells search engines whether to index a page, follow its links, and how to show it in results, using rules such as noindex, nofollow and max-snippet.
How do I stop a page appearing in Google?
Add a meta robots tag with noindex, and make sure the page isn't blocked in robots.txt so Google can see the tag.
What's the difference between noindex and robots.txt?
robots.txt controls whether search engines may crawl a page; noindex controls whether a crawled page appears in results.
How do I noindex a PDF?
Send an X-Robots-Tag: noindex HTTP header for the file. The meta robots tag generator gives you the header line.
Does Google still use noarchive?
No. Google stopped showing cached pages, so noarchive no longer has an effect on Google, though other search engines still use it.
Is the meta robots tag generator free?
Yes. It's free with no sign-up, and it runs entirely in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.