This guide explains how to use Meta Robots Tag Generator, step by step, with screenshots of the real tool. It is written for site owners, developers and SEOs who look after crawling, indexing and site health. Build the exact meta robots tag or X-Robots-Tag header you need: noindex, nofollow, noarchive, max-snippet, max-image-preview and unavailable_after.
Quick answer: To use the Meta Robots Tag Generator, open the free tool, choose the bot, choose the indexing, choose the links and choose the max-snippet, then copy the text it creates. Everything runs in your browser, so there is no sign up and nothing you type is stored on a server.
On this page

What is the Meta Robots Tag Generator?
Create meta robots tags and X-Robots-Tag HTTP headers with noindex, nofollow, max-snippet, max-image-preview and more.
robots.txt controls crawling. The meta robots tag controls indexing and how your page is shown in results. To keep a page out of Google, use noindex and do not block it in robots.txt, or Google will never see the tag.
How to use Meta Robots Tag Generator step by step
-
Step 1: Open the Meta Robots Tag Generator
Go to the Meta Robots Tag Generator on hasnainsanmal.com. It loads with example values already filled in, so you can see how it works straight away. It works the same way on a phone, tablet or computer.
-
Step 2: Choose Bot
Choose an option from Bot. Options include All search engines (robots), Googlebot only, Bingbot only and Googlebot-News. The example uses All search engines (robots).
-
Step 3: Choose Indexing
Choose an option from Indexing. Options include index and noindex. The example uses index.
-
Step 4: Choose Links
Choose an option from Links. Options include follow and nofollow. The example uses follow.
-
Step 5: Choose max-snippet
Choose an option from max-snippet. Options include Not set, -1, 0 and 50. The example uses Not set.
-
Step 6: Choose max-image-preview
Choose an option from max-image-preview. Options include Not set, large, standard and none. The example uses large.
-
Step 7: Choose max-video-preview
Choose an option from max-video-preview. Options include Not set, -1, 0 and 30. The example uses Not set.
-
Step 8: Enter unavailable_after
In the unavailable_after (optional) box, type your own value.
-
Step 9: Tick noarchive
Tick noarchive if you want this option, or leave it empty to turn it off.
-
Step 10: Read the results
The output appears inside the tool card. Change any input to compare different scenarios.

Screenshot of the Meta Robots Tag Generator results. -
Step 11: Copy or download the output
Use Copy tag and Copy header to take the result into your document, CMS, spreadsheet or report.
What does each field in the Meta Robots Tag Generator mean?
| Field | What to enter | Example |
|---|---|---|
| Bot | Choose one option (All search engines (robots), Googlebot only, Bingbot only and more) | All search engines (robots) |
| Indexing | Choose one option (index, noindex) | index |
| Links | Choose one option (follow, nofollow) | follow |
| max-snippet | Choose one option (Not set, -1, 0 and more) | Not set |
| max-image-preview | Choose one option (Not set, large, standard and more) | large |
| max-video-preview | Choose one option (Not set, -1, 0 and more) | Not set |
| unavailable_after (optional) | Your text | Your own value |
| noarchive | Tick to turn on | on |
What does a worked example look like?
With the example inputs (Bot: All search engines (robots), Indexing: index, Links: follow and max-snippet: Not set), the Meta Robots Tag Generator returns: <meta name="robots" content="index, follow, max-image-preview:large">
Replace the example with your own input to get your own result, then review it before you use it.
How do you get the best results from the Meta Robots Tag Generator?
- max-image-preview:large lets Google show big images in Discover.
- Use the X-Robots-Tag header for PDFs and images.
- Re-check after every theme, plugin or server change.
- Confirm fixes in Google Search Console with URL Inspection.
For background, read the Google crawling and indexing documentation. If you are working on a related task, our guide on how to use the Sitemap URL Extractor walks through it the same way. You can also browse all free Technical SEO Tools.
What mistakes should you avoid with the Meta Robots Tag Generator?
- Testing on a staging copy and forgetting that the live site has different rules.
- Fixing one URL and not checking the template that created the problem.
- Changing URLs without adding 301 redirects.
Key terms
- Robots.txt
- A plain text file at the root of a website that tells crawlers such as Googlebot which paths they may or may not crawl. It controls crawling, not indexing, so a blocked URL can still appear in search if other pages link to it.
- Indexing
- The process in which Google stores a crawled page in its index so it can appear in search results. A page must be crawlable, return a 200 status code and not carry a noindex tag before it can be indexed.
- 301 redirect
- A permanent redirect that sends users and search engines from an old URL to a new one. It passes most ranking signals to the new address, which makes it the standard choice when a page moves or two pages are merged.
- Meta description
- A short summary in the page HTML that search engines may show under the title in results. It does not directly change rankings, but a clear, specific description of 120 to 160 characters can raise the click through rate.
- Link attributes
- Values such as nofollow, sponsored and ugc added to a link rel attribute to tell search engines about the relationship. Paid links should carry sponsored, and user generated links such as comments should carry ugc.
Related free tools
Frequently asked questions
Is the Meta Robots Tag Generator free to use?
Yes. The Meta Robots Tag Generator is completely free, with no sign up, no daily limit and no watermark. It is one of more than 500 free SEO and marketing tools on hasnainsanmal.com.
Is my data stored when I use the Meta Robots Tag Generator?
No. The Meta Robots Tag Generator runs in your browser with JavaScript, so the values and text you enter are processed on your own device and are not sent to or saved on our server.
How accurate is the Meta Robots Tag Generator?
It creates a solid first draft from your inputs. Always review and edit the output so it is accurate, specific and sounds like you before you publish or send it.
Does the Meta Robots Tag Generator work on a phone?
Yes. The tool is built for screens from 360 pixels wide, so you can use the Meta Robots Tag Generator on a phone, tablet or computer in any modern browser.
Can I use the Meta Robots Tag Generator for client work?
Yes. You can use the results for your own sites and for client projects. Check the output first, and keep a note of the inputs you used so you can repeat the check later.
What should I do after using the Meta Robots Tag Generator?
Apply the result on your page, campaign or document, then measure the effect. If you would like expert help, see the SEO services or message Hasnain on WhatsApp for a free recommendation.
How we checked this guide: every step and screenshot was taken from the live Meta Robots Tag Generator on 2 November 2026. Further reading: Google SEO Starter Guide.




