100% Free · No Signup · Runs in Your Browser

Meta Robots Tag Generator

Build the exact <meta name="robots"> tag and the matching X-Robots-Tag HTTP header — with Apache and Nginx snippets — in one click.

HTML meta tag(s)


      
Paste this inside your page's <head></head> section. Only works on HTML pages.

X-Robots-Tag HTTP header


      
Set this at the server level — works on any file type, including PDFs and images.

Apache (.htaccess)


    

Nginx


    
What this means for search visibility

Meta robots vs. robots.txt vs. X-Robots-Tag

Three different tools that control three different things — mixing them up is the most common indexing mistake.

MechanismControlsWhere it livesWorks on
robots.txtWhether a crawler may request a URL at all/robots.txt at your site rootEntire site / path patterns
Meta robots tagWhether a fetched page is indexed & whether its links are followed<head> of the HTML pageHTML pages only
X-Robots-TagSame as meta robots, same directivesHTTP response header, set server-sideAny file type (PDF, images, HTML)

If robots.txt blocks a page, crawlers may never see its meta robots tag — the two need to work together. Already have a robots.txt file? Test and validate it here →

How this compares

Most generators only output one format. This one gives you every format you'll actually need to ship.

FeatureSEOTriggersTypical generators
Meta robots tag output
X-Robots-Tag HTTP header outputRare
Ready-to-paste Apache (.htaccess) snippet
Ready-to-paste Nginx snippet
Per-bot targeting (googlebot / bingbot)Rare
Plain-English search-visibility preview
Cross-linked robots.txt tester

Everything in one tool

🏷️

Every directive supported

index/noindex, follow/nofollow, noarchive, nosnippet, max-snippet, max-image-preview, max-video-preview, notranslate, noimageindex, unavailable_after, indexifembedded.

🌐

Meta tag + HTTP header, together

Get the HTML meta tag and the equivalent X-Robots-Tag header from the same settings — no need for two separate tools.

📄

Built for non-HTML files too

Copy-ready Apache and Nginx snippets so you can noindex PDFs, images, and downloads that can't carry a meta tag.

🎯

Per-bot targeting

Generate separate rules for all robots, Googlebot only, or Bingbot only — in the same output.

👁️

Live visibility preview

See exactly what your settings mean in plain English before you ship them.

🔒

100% client-side & private

Everything runs in your browser. Nothing you type is ever uploaded or stored.

Frequently asked questions

A meta robots tag is an HTML tag placed in a page's <head> section that tells search engines whether to index the page and whether to follow its links. Unlike robots.txt, which controls crawling, meta robots controls what happens after a page has been crawled.

They use the exact same directives and have identical effect, but meta robots is an HTML tag placed inside <head> and only works on HTML pages, while X-Robots-Tag is an HTTP response header set at the server level and also works on non-HTML files like PDFs, images, and downloads.

No. Robots.txt controls whether a crawler is allowed to request a page at all. Meta robots and X-Robots-Tag control what the crawler does after it has successfully fetched the page. If robots.txt blocks a page, crawlers may never even see its meta robots tag.

PDFs and images don't have an HTML <head>, so a meta robots tag won't work on them. Use the X-Robots-Tag HTTP header instead, set at the server level via Apache (.htaccess) or Nginx configuration — this tool generates both automatically.

"none" is shorthand for "noindex, nofollow" together — it tells search engines not to index the page and not to follow any of its links. This tool generates the explicit "noindex, nofollow" form, which has identical effect and is easier to read.

No — a crawler has to re-fetch the page to see a new or updated meta robots tag. For popular pages this typically happens within days; for low-traffic pages it can take weeks. Requesting indexing via Search Console's URL Inspection tool can speed this up.