Meta Robots Tag Generator
Choose the directives you need and get both a <meta name="robots"> tag for your HTML and an X-Robots-Tag header line for your server, with every directive explained. Contradictory choices are prevented, and dates must be in the future.
1. Directives
Updates as you choose2. Output
Meta tag + HTTP headerWhat each directive asks for
Directives are requests. Support varies between search engines, and no directive can force a page into or out of search results.
About Meta Robots Tag Generator
Meta Robots Tag Generator builds a <meta name="robots"> tag and the matching X-Robots-Tag HTTP header line from the directives you choose: index or noindex, follow or nofollow, noarchive, nosnippet, noimageindex, max-snippet, max-image-preview and unavailable_after, optionally addressed to a single crawler.
Robots directives control how pages appear in search results, and a typo or contradictory pair can have unintended effects. Generating them from clear choices, with each one explained, avoids mistakes.
Step by step
- Choose indexing and link-following options, or leave them unspecified.
- Tick any snippet, cache and image directives you need.
- Set max-snippet, max-image-preview or unavailable_after if required.
- Optionally enter a crawler name such as googlebot.
- Copy or download the meta tag and header line.
What it offers
- Meta tag and X-Robots-Tag header output together
- Contradictory pairs prevented by single-choice controls
- nosnippet and max-snippet conflict detection
- unavailable_after in ISO 8601, with past dates rejected
- Optional crawler-specific tags
- Plain-language explanation of every directive
Tips for best results
- Do not block a page in robots.txt if you need search engines to see its noindex.
- Use X-Robots-Tag for PDFs, images and other non-HTML files.
- Only add directives you need; index and follow are the defaults.
- Check the live page after deploying the tag.
Why people use it
Both formats
HTML tag and HTTP header.
Error-proof
Conflicts are prevented.
Explained
Every directive in plain words.
Private
Built in your browser.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.