This page writes the block of tags that belongs inside <head>. You enter a title, a description and a canonical URL, and it produces the title element, the meta description, a robots directive, the Open Graph tags and the Twitter card tags, with a search preview beside them.
It is a formatter with a length check, not a ranking tool. The tags are the ones a page needs to describe itself; whether Google uses your title or rewrites it is a separate question, and the page says so in its note.
The tags it writes
A full run produces 15 lines. The first four are the title, the meta description, the robots directive and the canonical link. The next six are Open Graph: og:type, og:title, og:description, og:url, og:site_name and og:image. The last five are the Twitter card: twitter:card, twitter:title, twitter:description, twitter:image and twitter:site.
Each group is conditional. Clear the URL and the canonical and og:url disappear. Clear the site name and og:site_name goes. Turn off both social switches, clear the URL, and the block drops to three tags: title, description and robots. That is the correct output for a page that is not ready to be shared or indexed.
The Twitter handle is normalised: type toolshub4u and the output is @toolshub4u. Type the @ yourself and it is left alone. The robots value is passed through as written, so index,follow and noindex,nofollow both work.
A worked example
A page about keyword density was entered with a 48-character title, a 144-character description, an absolute canonical, the site name and a full image URL. The result read Built 15 head tags, and every length check was green.
| Tag | Value |
|---|---|
title | Keyword Density Checker: Count Words and Phrases |
description | Count how often a phrase appears, see its density against the full word count, and list the most repeated two and three-word phrases in a draft. |
robots | index,follow |
canonical | https://toolshub4u.com/tools/seo-tools/keyword-density-checker.html |
og:type | website |
twitter:card | summary_large_image |
The second run cleared the URL, the image, the site name and the handle, switched off both social groups and set robots to noindex,nofollow. It produced three tags. The preview fell back to example.com and https://example.com/page, and the checklist warned that the canonical was missing, no social image was set and the description was only 67 characters.
A third run used a relative image path, assets/og/seo-tools.png. The page still wrote 15 tags, including og:image with that relative path and twitter:card set to summary_large_image. Only the checklist objected. Social platforms need an absolute URL they can fetch, so the tags would not produce a preview.
https:// address.Length checks and what Google does
The checklist treats a title of 30 to 60 characters and a description of 70 to 160 characters as comfortable. Those are display estimates, not limits. Google does not impose a character limit on titles or descriptions; it truncates in the result where the device width runs out, and it may rewrite either one from the page content.
That is why the page says a tag block is a starting point. A description that repeats keywords is less likely to be used than one that describes the page, and a title that does not match the visible heading is a candidate for rewriting. Write for a reader first, then check the length.
The preview in the tool is a simulation. Use the SERP snippet simulator when you want to see how a title and description are cut at desktop and mobile widths, and the title and meta scorer when you are comparing several versions.
Canonical, robots and the social tags
The canonical should be the full https URL of the preferred version of the page. It is a hint, not a directive, and it belongs on the page itself rather than only in a sitemap. If the URL field is empty, no canonical is written; if it is relative, the tag is written anyway and the checklist fails it.
Open Graph has one fixed value here: og:type is always website. That is right for a homepage or a tool page and wrong for an article, which would normally use article with published and modified times. The generator has no field for those, so edit the block by hand if the page is editorial.
The robots directive controls indexing and link following, not crawling. To keep a page out of the index, noindex is the reliable signal; a robots.txt disallow stops the crawl and can leave the URL indexed without a snippet. The page warns when noindex is selected so it is not left on by accident.
Publishing the block
Paste the tags inside <head>, above the stylesheets if you like, and check the live page with a fetch or a validator. Social platforms cache previews, so a corrected image may take a while to appear; some have a debugging tool that forces a refresh.
Keep one source of truth. If the title is generated by a CMS, do not also hard-code a second title tag. Duplicate tags are a common result of pasting a generated block into a template that already writes its own, and the first or last one wins depending on the parser.
The generator does not create a meta keywords tag, and that is deliberate: Google does not use it for ranking. It also does not write structured data, hreflang or a viewport tag. Those are separate jobs, and mixing them into this block would make it harder to review.