Meta Robots and X-Robots-Tag Builder
Choose index, follow, snippet and preview rules for all crawlers or one bot, copy the meta tag, header or server rule, and see what a pasted page really tells each crawler.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Set the default
Choose index, follow and preview limits for all crawlers.
- 2Add overrides
Add a rule for a specific crawler where it needs different treatment.
- 3Pick the output
Copy the meta tags, the header or the Apache or Nginx block.
- 4Paste a page
On the Check tab, paste the page head and response headers.
- 5Read the result
Check the effective table per crawler and the warnings.
- 6Fix and reuse
Open the checked rules in the builder, fix them and copy the new output.
Sobre aquesta eina
robots.txt controls whether a crawler may fetch a URL. Once a page is fetched, the robots meta tag and the X-Robots-Tag HTTP header control what happens next: whether it may be indexed, whether links are followed, how long a text snippet may be, how large an image preview may be, and whether the page drops out of results after a date. Getting these wrong is one of the commonest ways sites hide pages by accident. The builder lets you set rules for all crawlers with name robots, then add overrides for specific crawlers such as googlebot, googlebot-news, bingbot or any other name you type. Each rule has switches for index, follow, nosnippet, noarchive, noimageindex, notranslate and indexifembedded, and fields for max-snippet, max-image-preview, max-video-preview and unavailable_after. The output updates as you click, and a table shows the effective result for each crawler.
Output formats
Meta tags go in the head of HTML pages. The X-Robots-Tag header works for any file type, which makes it the only option for PDFs, images and office documents. For those, the tool writes an Apache FilesMatch block and an Nginx location block for the extensions you list, for example pdf, docx and xlsx.
Checking a page
Paste the head of a page and its response headers, copied from the browser's developer tools or a command-line request. The checker collects every robots meta tag and X-Robots-Tag line, works out which crawler each applies to, and shows the effective result per crawler: indexable or not, links followed or not, snippet and image preview limits and other directives. When rules disagree, the most restrictive one wins, as search engines document.
What is flagged
Index and noindex in the same rule, follow and nofollow together, unknown directives, max-snippet or max-video-preview without a number, invalid image preview values, unreadable or past unavailable_after dates, tags in the body, obsolete directives like noodp, and pages where some crawlers may index and others may not. The checked rules can be opened in the builder for editing.
Limits
A robots meta tag is only seen if the page can be crawled; when robots.txt blocks a URL, its noindex is never read. The checker reads what you paste and does not fetch pages or run JavaScript, so tags added by scripts need the rendered HTML. Crawlers that ignore these rules cannot be stopped this way.
Exemple resolt
A publisher pastes a page head and headers. The meta robots tag allows indexing with max-snippet:160 and large image previews, a googlebot tag says noindex and the obsolete noodp, and the headers send bingbot: nosnippet and unavailable_after: 2026-12-31. The table shows googlebot not indexable, bingbot indexable with no snippet, and other crawlers indexable with a 160-character snippet. The checker flags noodp as obsolete and the split indexing as a likely mistake. Removing the googlebot tag in the builder makes all three crawlers indexable.
En resum
- Categoria: Desenvolupament i dades
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: Google Search Central: robots meta tag, data-nosnippet and X-Robots-Tag specifications
Preguntes freqüents
Meta tag or X-Robots-Tag?
Use the meta tag for HTML pages you can edit and the header for PDFs, images and other files, or when a server rule is easier than editing templates.
Does noindex work if robots.txt blocks the page?
No. A blocked page is never fetched, so the noindex is never seen and the URL can still appear in results without a snippet.
What does max-snippet:-1 mean?
No limit on snippet length. 0 means no text snippet, the same as nosnippet.
Does noarchive still matter?
Google no longer shows cached pages, but Bing still honours noarchive, so keep it if you need it there.
Can I target AI crawlers?
You can type any crawler name for a rule. Whether a crawler obeys page-level rules is up to its operator; many AI crawlers are controlled through robots.txt instead.
Is my page data uploaded?
No. Building and checking run in your browser and the rules are saved only on this device.
