In this article
The tags that matter
| Tag | What it does |
|---|---|
<title> | The clickable headline in search results and the browser tab |
meta name="description" | Often used as the snippet under the title |
meta name="robots" | Controls indexing: e.g. noindex keeps a page out of search |
link rel="canonical" | Names the preferred URL when similar pages exist |
meta name="viewport" | Makes the page display properly on phones |
meta charset="utf-8" | Ensures characters such as Urdu and emoji display correctly |
The ones you can skip
- Meta keywords: Google has ignored it for ranking for well over a decade.
- Revisit-after, distribution, rating: not used by major search engines.
- Author: harmless, but it does not affect ranking.
Writing a title people click
- Put the main topic first: “Compress PDF – Reduce File Size Online”.
- About 50–60 characters, so it is not cut off.
- Make every page’s title unique.
- If space allows, finish with your brand name.
Writing a useful description
Aim for about 150–160 characters that tell searchers what they will get and why to click: a benefit, a detail, a reason to trust you. Google sometimes rewrites descriptions with text from the page that better matches the search, but a good one is still used often – and it is your best chance to make a first impression.
How to generate the tags
- Open the Meta Tag Generator.
- Type your title and description – live counts show whether they are in the recommended range, with a search result preview.
- Add the canonical URL, robots setting, author and theme colour if needed.
- Copy the HTML into the
<head>of your page.
Quotes and symbols are escaped correctly, so a title like Tom’s “Best” Pizza & Pasta will not break your HTML.
Canonical tags in plain words
If the same content is available at several addresses – with and without tracking parameters, or a product in two categories – the canonical tag tells search engines which one to show. Point it at the clean, main version of the page. Every page can also have a self-referencing canonical.
Noindex: keep pages out of Google
Thank-you pages, internal search results and test pages usually should not appear in search. Use noindex in the robots meta tag. Do not block those pages in robots.txt as well – Google must be able to crawl a page to see its noindex instruction.
WordPress users
Most WordPress sites set these tags through an SEO plugin such as Yoast, Rank Math or All in One SEO, with fields for title and description on each post. The generator is useful for static sites, landing pages and custom templates – and for drafting titles before pasting them into a plugin.
Next steps
Add social sharing tags with the Open Graph Generator, structured data with the Schema Generator, and read our longer guide on writing title tags and meta descriptions.