Meta Tag Generator
Fill in a few fields and get a complete, valid head block — title, description, canonical, robots and social tags — with live length guidance.
0 characters
0 characters
Search result preview
About the Meta Tag Generator
The title tag and meta description are the two pieces of text that decide whether anyone clicks your page in a search result. The title is a direct ranking input and the single strongest on-page signal about what a page is for. The description is not a ranking factor, but it occupies most of the visual space in a result and does most of the work of earning the click. Both get truncated if they run long, usually mid-sentence and usually at the worst possible point.
Around them sits a set of tags that are less glamorous and just as consequential. The canonical link tells search engines which URL is the authoritative version, and it is the standard defence against duplicate content created by tracking parameters, pagination and trailing slashes. The robots meta controls indexing and snippet behaviour. The viewport meta is what makes a page mobile-friendly at all, and its absence is still a surprisingly common cause of failed mobile usability checks.
This generator produces all of it as one correctly ordered block. Character counters warn you as you approach the lengths at which search engines truncate — roughly 60 characters for a title and 160 for a description — and a live preview shows how the result will look in a search listing. Open Graph and Twitter Card tags are generated alongside, so the same page also previews correctly when the link is shared.
How to use it
- Enter the page basicsTitle, description and the canonical URL for the page you are optimising.
- Watch the length countersColour-coded feedback warns you before the title or description crosses the truncation threshold.
- Add the optional fieldsAuthor, keywords, language and a robots directive if the page needs one.
- Fill in the social detailsAn image URL and site name so Open Graph and Twitter Card tags are generated too.
- Check the search previewSee a realistic rendering of how the result will appear before you publish.
- Copy the head blockPaste the generated tags into your page's , or into your CMS's SEO fields.
Features
- Complete head blockCharset, viewport, title, description, canonical, robots, Open Graph and Twitter Card in the correct order.
- Live length warningsCharacter counts with thresholds based on where search engines actually truncate.
- Search result previewA realistic listing preview so you can judge the wording, not just the length.
- Robots directivesindex, noindex, follow, nofollow, noarchive and snippet controls with plain-English explanations.
- Social tags includedOpen Graph and Twitter Card generated from the same inputs, with no retyping.
- Valid, copy-ready markupProperly escaped attribute values and correct tag ordering.
Who uses this tool
- BloggersWrite a title and description deliberately rather than letting a theme generate one from the first paragraph.
- Web developersProduce a correct head block for a static site or a hand-built landing page in seconds.
- SEO specialistsDraft and preview metadata for a client before it goes anywhere near production.
- Store ownersGive product and category pages distinct metadata instead of shipping a template's duplicates.
Tips worth knowing
- Put the primary keyword near the front of the title. Truncation eats the end, and the front carries more weight anyway.
- Write the description as an advert, not a summary. It has no direct ranking effect, so its only job is to earn the click.
- Every page needs a self-referencing canonical, even when there is no duplicate — it neutralises tracking parameters automatically.
Frequently asked questions
How long should a title tag be?
Aim for 50–60 characters. Search engines truncate by pixel width rather than character count, so the real limit varies with the letters used, but 60 characters is the safe planning figure. Put the important words first so nothing critical is lost if it is cut.
Do meta keywords still matter?
No. Google confirmed years ago that it ignores the keywords meta tag entirely, and it has been widely abused for so long that other engines discount it too. The generator can include it for legacy systems that read it, but it will not help your rankings.
What does the canonical tag do?
It names the authoritative URL for a page. When the same content is reachable at several addresses — with tracking parameters, with and without a trailing slash, or through pagination — the canonical tells search engines which one to index and consolidates ranking signals onto it.
Will search engines always use my meta description?
No. Google rewrites descriptions for a large share of results, choosing a passage from the page that better matches the specific query. Writing a good one still matters because it is used often, and because it is what appears when your link is shared without a preview image.
What is the difference between noindex and nofollow?
noindex tells search engines not to include the page in their index. nofollow tells them not to follow links on the page. They are independent: a common combination is index, nofollow for pages you want found but whose outbound links you do not want to endorse.
Where do I put these tags?
Inside the
element of the page, before the closing . If you use a CMS, paste the individual values into its SEO fields instead — most themes and SEO plugins output the tags for you, and having both produces duplicates.