Loading the interface. JavaScript is required; controls stay disabled until ready.
Copy reviewed markup into your page head. Canonicals should identify the preferred absolute page URL without a fragment. Search engines may choose different titles/snippets; character counts are guidance, not ranking guarantees. No meta keywords are generated.
How to use
Enter a title and optional description/canonical. Choose robots and optional social fields. Generate, review, copy and place in the intended page head.
Examples & use cases
Generate a canonical link for https://example.com/article and a summary card for sharing.
About this tool
Generated code is plain text, with attribute and title escaping. Optional social groups are omitted unless selected; page title/description provide sensible fallbacks. Canonicals must be absolute HTTP/HTTPS URLs without fragments. Each field allows 4,096 characters. Character counts are guidance, not search ranking or snippet guarantees. No obsolete meta keywords.
Questions & answers
Do specific title lengths guarantee rankings?
No. Search engines can rewrite titles and snippets. Counts help editing but are not hard ranking limits; a canonical is a preference signal rather than a guarantee of which URL is selected.
Generate page metadata with a clear purpose
Metadata describes a page for browsers, search engines and sharing services. Generate code only after deciding what the page actually offers. A useful title identifies that task, while a description gives readers a specific reason to open the page.
A practical example
For an article about cleaning subtitle text, use a title describing that workflow rather than a list of unrelated keywords. Add a concise summary and the preferred absolute URL. Select Open Graph or Twitter-card output only when those groups are wanted. The tool generates markup; it does not install it on a website.
Review canonical and robots choices
A canonical identifies a preferred URL, while robots directives express indexing preferences. They are different controls. Do not point every page at the homepage or add noindex to a page you want found. The canonical field requires an absolute HTTP(S) URL without a fragment; the tool does not fetch that address or verify its server response.
Check the rendered page afterward
Escaping protects generated attributes and title text, but your publishing system must still place the code correctly in the document head. Avoid duplicate title or description tags. Counts are editing guidance, not guaranteed Google snippet cutoffs or rankings. Search engines may choose different title or snippet text for a particular query.
Worked example: a product page
For a page selling a waterproof hiking jacket, a strong title is Waterproof Hiking Jacket for Men | Brand, about 45 characters. The description might read Lightweight 3-layer jacket with sealed seams and pit zips. Free UK and US returns within 30 days, around 100 characters. Add matching Open Graph tags so a shared link shows the product photo and the same text on Facebook, LinkedIn and messaging apps.
More questions about the Meta Tag Generator
How long should a title tag and meta description be?
Google measures by pixel width rather than characters, but titles of about 50 to 60 characters and descriptions of about 120 to 160 characters usually display without being cut off. Put the main topic near the start. Google may rewrite either one if it thinks other text on the page matches a search better.
Does the meta keywords tag help SEO?
No. Google has ignored the meta keywords tag for ranking since 2009, and Bing treats heavy use of it as a spam signal. Spend the effort on a clear title, a useful description and a page that actually answers the question searchers have.
What are Open Graph tags for?
Open Graph tags such as og:title, og:description and og:image control how a link looks when shared on social networks, Slack, WhatsApp and similar apps. They do not change Google rankings directly, but a clear preview image and title can increase clicks from shares. A 1200 x 630 pixel image works for most platforms.
Choose your next task
- Social character preview: Review draft length and approximate snippet presentation.
- Text to slug converter: Prepare a readable path segment separately from the title.
- Robots.txt generator: Review crawler access separately from page metadata.
Learn how to use this tool
How to Preview Social Posts and Meta Descriptions Before Publishing
Compare short-form drafts with estimated previews, write clearer openings and understand why character budgets cannot guarantee display.
About 5 min read
Read guide