Meta tags are small pieces of HTML in the <head> of your page that tell search engines and social networks about it. Some are essential, some help you get more clicks, and some have been ignored by Google for years. This guide separates the useful meta tags from the myths.
Page Contents
The meta tags that matter
| Tag | Why it matters |
|---|---|
| Title tag | The clickable headline in search results and the browser tab; a strong relevance signal |
| Meta description | Often used as the snippet under the title; affects clicks |
| Meta robots | Controls indexing (noindex) and following links (nofollow) |
| Canonical link | Tells Google the preferred URL among duplicates |
| Viewport | Makes the page work on mobile – essential for mobile-first indexing |
| Charset | Makes sure characters display correctly (UTF-8) |
| Open Graph / Twitter | Control the image, title and description when links are shared |
| hreflang | Shows which language or country version to serve |
Title tag
The title is the single most important meta element. Tips:
- Put the main keyword near the start and describe the page honestly.
- Aim for about 50–60 characters – Google cuts titles at around 600 pixels.
- Make every title unique.
- Add your brand at the end if there is room.
Preview yours with our SERP Snippet Preview, and read how to write title tags and meta descriptions.
Meta description
The description is not a direct ranking factor, but it is your sales pitch in the search results. Write about 120–160 characters that summarise the page and give a reason to click. Google may rewrite it when another part of the page matches a search better.
Meta robots
<meta name="robots" content="noindex">keeps a page out of search results (thank-you pages, internal search, thin tag pages).nofollowtells search engines not to follow the links on the page – rarely needed.max-image-preview:largeallows large image previews in Google Discover.
Remember: Google must be able to crawl a page to see its noindex tag – do not also block it in robots.txt.
Canonical tag
<link rel="canonical" href="https://example.com/page/"> tells Google which URL is the main version when the same content appears at several addresses (with parameters, http/https, www/non-www, print versions). Most SEO plugins add a self-referencing canonical automatically.
Viewport
<meta name="viewport" content="width=device-width, initial-scale=1"> is required for responsive pages. Without it, phones show a zoomed-out desktop page.
Open Graph and Twitter tags
These control how your link looks when shared on Facebook, LinkedIn, X, WhatsApp and Slack: og:title, og:description, og:image (1200 × 630) and twitter:card. See our Open Graph guide.
Meta tags you can ignore
- Meta keywords – Google has ignored it since 2009. It only shows competitors your keywords.
- Revisit-after – never supported by Google.
- Author, copyright, rating=general – no ranking effect (author can still be useful for other tools).
- Geo tags – not used by Google for local rankings; use Google Business Profile and LocalBusiness schema instead.
How to add meta tags
- WordPress: use an SEO plugin – it adds title, description, robots, canonical and Open Graph fields to every post and page.
- Shopify / Wix / Squarespace: use the SEO settings of each page or product.
- Custom sites: paste the tags into the
<head>of each page template.
FAQ
Which meta tags are important for SEO?
The title tag, meta description, meta robots, canonical link and viewport. Open Graph tags matter for social sharing.
Do meta keywords still matter?
No. Google ignores the meta keywords tag.
How long should a meta description be?
About 120–160 characters, with the key message first.
Why does Google show a different title?
Google may rewrite titles that are too long, vague, duplicated or stuffed with keywords.
Do I need Open Graph tags?
Not for rankings, but they make your links look much better when shared on social media and messaging apps.
Need a website or app for your business? Talk to Techpass Master – we design and build websites and apps for clients worldwide.
