Meta tag generator with preview
Fill the fields, watch the Google snippet and the social card update, then copy the ready <head> block.
Page
Open Graph & Twitter
Google preview
Social card
<head> code
Paste inside <head>. Google rewrites titles and descriptions about a third of the time, so treat the previews as a guide, not a guarantee.
The head tags that decide how a page shows up
A handful of tags in the document head control how a page is presented outside itself: the title tag and meta description become the search snippet, the canonical link tells search engines which URL is the primary one, the robots tag says whether to index and follow, and the Open Graph and Twitter Card tags build the preview when the link is shared on social. This tool assembles a complete, consistent set from your input and shows a live Google snippet and social card as you type, so you can see the truncation and framing before the page goes live.
Lengths, and what Google ignores
Aim for roughly 50–60 characters in the title and 110–160 in the description; Google truncates by pixel width, not character count, so wide capitals cut sooner. It also rewrites the title in about a third of results and often generates its own description from the page, so treat the previews as a guide, not a promise. Set a self-referencing canonical on every page, and remember that a link with no image when shared usually means a missing og:image, an image URL that is not publicly reachable, or one that is too small — use an absolute HTTPS URL to an image around 1200 by 630.