Robots Meta Tag Generator
Build a robots meta tag from the directives you actually want, with the combinations that contradict each other flagged.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Robots Meta Tag Generator does
The robots meta tag generator on this page will build a robots meta tag from the directives you actually want, with the combinations that contradict each other flagged. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for keeping a thank-you page, internal search result or staging page out of search results. For a second version of this robots meta tag generator, see FreeToolsWorld.org.
How to use it
- Choose whether the page should be indexed, and whether its links should be followed.
- Tick any extra directives you need — noarchive, nosnippet, noimageindex.
- Paste the tag into the head of that page, and keep the page crawlable.
How it works
The robots meta tag controls what a search engine does with a page it has already crawled. That is the distinction from robots.txt, and confusing the two causes the single most common indexing mistake on the web: blocking a page in robots.txt to get it out of search. A blocked page is never fetched, so the noindex inside it is never read, and the URL can still appear in results as a bare link with no description. To remove a page from an index, it must remain crawlable and carry noindex.
index and follow are the defaults. A tag that says "index, follow" and nothing else is doing no work at all, and this tool says so rather than letting you paste something inert into every template. The useful combinations are noindex with follow — keep the page out of results but let its links continue to pass value — and the narrower directives that limit snippets, caching or image indexing without touching indexing itself.
nofollow in a robots meta tag applies to every link on the page, which is a much broader instruction than most people intend. It was never a way to control how value flows internally, and since Google began treating link-level nofollow as a hint rather than a directive it is less meaningful still. If a specific link should not be followed, mark that link; if a page should not be indexed, say noindex and leave follow alone.
When to use it
- Keeping a thank-you page, internal search result or staging page out of search results.
- Writing the correct tag for paginated archives, where noindex with follow is usually right.
- Limiting snippets or cached copies without affecting whether a page is indexed.
- Checking whether a tag you were given actually does anything.
Common mistakes to avoid
- Blocking a page in robots.txt and adding noindex. The blocked page is never crawled, so the noindex is never seen.
- Shipping "index, follow" everywhere. It is the default and changes nothing.
- Using nofollow on the page when a single link was the problem.
- Using nosnippet when max-snippet would have limited the length without removing the description.
Frequently asked questions
What is the difference between robots.txt and the robots meta tag?
robots.txt controls whether a page is crawled; the meta tag controls what happens to a page that has been crawled. A page you want out of the index must be crawlable so the noindex can be read.
Do I need "index, follow"?
No. Both are the default. A tag containing only those two directives has no effect.
Does noindex remove a page immediately?
No — the page has to be recrawled first. That can take days or weeks. Requesting removal in Search Console is faster for something urgent.
Should I use noindex or canonical for duplicates?
A canonical, usually. It consolidates signals onto the version you want. noindex removes the page from results without consolidating anything.