Meta tags are snippets of code in a page’s <head> that describe the page to browsers, search engines and social platforms. Some are essential for SEO, some are useful for sharing, and a few are relics that no longer do anything, yet still get repeated in old advice. This guide sorts the meaningful meta tags from the noise, and shows how to write and audit them.
What meta tags are
Meta tags live in the head of your HTML, invisible to visitors but read by machines. They provide metadata, information about the page rather than its visible content. A single page might include a title, a description, viewport settings, robots directives, canonical information and social-sharing tags. Getting the important ones right is foundational on-page SEO; getting distracted by the obsolete ones is a common waste of time.
The meta tags that matter
A handful do real work:
| Tag | What it does |
|---|---|
| Title tag | The clickable headline in search results; a ranking factor |
| Meta description | The snippet under the title; drives click-through |
| Meta viewport | Controls mobile rendering; essential for mobile-friendliness |
| Meta robots | Tells search engines to index/follow or not |
| Canonical (link) | Points to the master version of a page |
| Open Graph / Twitter | Control how links look when shared socially |
| Charset | Declares the character encoding (usually UTF-8) |
Title and description: the big two
The title tag and meta description are the two meta tags with the most impact, because they shape how your page appears in search. The title influences ranking and is the headline searchers click; the description does not affect ranking but heavily influences click-through. Both have length limits, roughly 60 characters for titles and 150 to 160 for descriptions, and both should be unique on every page. If you only optimise two meta tags, make it these.
The meta robots tag
The meta robots tag controls how search engines treat the page: whether to index it (show it in results) and whether to follow its links. The default is to index and follow, so you only need it when you want to change that, for example, noindex on a thank-you page or a thin archive you do not want in search. It is a precise, powerful tag, and the correct way to keep a page out of the index (robots.txt blocks crawling, not indexing).
The meta tags that no longer matter
Some meta tags survive only in outdated advice. The biggest is the meta keywords tag: Google has ignored it for over a decade, and stuffing it does nothing but hand competitors your keyword list. Others, like meta author, meta rating, or various proprietary tags, have little to no SEO value. Do not spend time on these. If a guide tells you to fill in meta keywords for SEO, that guide is out of date.
Where meta tags live and who sets them
On most sites you will not hand-code meta tags into raw HTML, an SEO plugin or your platform generates them from the content you enter. WordPress plugins like Rank Math or Yoast, for example, build the title, description, robots, canonical and social tags automatically, and let you override any of them per page. The value of understanding the tags is knowing what those plugins are doing on your behalf, and stepping in when the automatic version is wrong: a truncated title, a missing description, or a canonical pointing at the wrong URL. To see any page’s meta tags, including a competitor’s, view the page source and search for the <head>, or run the page through an analyzer for a readable breakdown.
How to write and audit meta tags
For new pages, generate the tags rather than hand-coding them: our free meta tag generator builds a complete, correct set, title, description, robots, canonical, Open Graph and Twitter, ready to paste into your <head>. For existing pages, audit what is already there: paste a page’s HTML into our meta tag analyzer to see which tags are present, whether lengths are in range, and where the gaps are, scored out of 100. Auditing regularly catches missing descriptions and duplicate titles before they cost you clicks.
The takeaway
Meta tags describe your page to machines, and a focused few, title, description, viewport, robots, canonical and social tags, do nearly all the work that matters, while old tags like meta keywords do nothing. Prioritise unique, well-sized titles and descriptions, set robots and canonical deliberately, and ignore the obsolete tags. Build a full set with the meta tag generator, audit existing pages with the meta tag analyzer, and explore the rest of our free SEO tools.