Meta tags are short lines of code in the head of a web page that describe the page to software rather than to people. Search engines read them to decide how to show or index the page, browsers read them to know how to display it on a phone, and social apps read them to build the preview card when somebody shares the link. A visitor never sees them on the page itself. Most of the meta tags that once mattered for search, such as the keywords tag, are now ignored, while a handful still do real work. Knowing which is which saves a lot of wasted effort.
In short
- Code in a page’s head that describes it to software.
- Read by search engines, browsers and social apps.
- The description, robots and viewport tags still matter.
- Google ignores the meta keywords tag entirely.
What a meta tag looks like
Each meta tag is one line in the head section of the HTML, giving a name and a value. A page might carry a description, a character set, a viewport setting and a robots rule, all before the first visible heading. Website builders and content management systems usually write most of them automatically and offer fields for the ones you should set yourself.
The ones Google supports
Google’s documentation lists the meta tags its search engine uses.
- Description. A short summary of the page, sometimes used as the snippet under the result. Our page on the meta description covers writing one.
- Robots and googlebot. Rules for crawling and indexing, such as noindex to keep a page out of results. Our page on noindex explains when to use it.
- Viewport. Tells the browser how to display the page on a phone, and signals to Google that the page is built for mobile.
- Charset. The character set, which keeps letters and symbols displaying correctly.
- Google site verification. A code that proves you own the site in Search Console.
- Notranslate. Asks Google not to offer a translated version in results.
Google also notes that it ignores meta tags it does not support, so adding more does not help.
The ones that no longer count
Some tags survive in old templates and old advice long after search engines stopped reading them.
- Meta keywords. Google says it is not used and has no effect on indexing or ranking.
- Language codes in tags. Google detects language from the text itself.
- Meta refresh redirects. Supported, but Google recommends a proper server redirect instead.
Time spent filling in keywords on every page is better spent on the title and the visible text.
The title tag, which is not quite one
The page title is written in its own title element rather than as a meta tag, but it sits in the same head section and is usually edited in the same panel. It is the most important of the group for search, because it often becomes the clickable headline in results. Our page on the title tag covers length and wording.
Tags for sharing
When a link is pasted into Messenger, Facebook or another chat app, the preview card is built from Open Graph tags, which are meta tags in format. They set a title, description and image for sharing, which can differ from the search versions. Without them, an app picks whatever it finds, often the wrong image or a cropped logo. For a business whose links travel mostly through chat and groups, these tags shape the first impression more than the search snippet does.
Setting them on a real website
- Use the built-in fields in your website builder or an SEO plugin rather than editing code.
- Write a unique description for every important page.
- Check the preview image for your main pages by sharing a link to yourself.
- Leave robots tags alone unless you mean to hide a page.
- Keep the viewport tag that responsive templates include by default.
Meta tags on every page
Templates often give every page the same tags, copied from the homepage. That means every product or service page shows the same description in search and the same image when shared, which tells neither people nor search engines what makes each page different. Give each important page its own description and, where it matters, its own sharing image.
Checking what a page carries
The quickest check is to open the page source in a browser and read the head section. Google Search Console’s URL Inspection tool shows how Google read the page, including any noindex rule. For sharing previews, paste the link into a private chat with yourself and look at the card before customers do.
Where it goes wrong
- A noindex tag left on after a site launches, hiding it from search.
- The same description on every page, so none of them stands out.
- Hours spent on meta keywords, which Google ignores.
- No sharing image set, so chat previews show a random picture.
- Tags added by script that search engines may not read reliably.
Words you will hear
- Head. The part of a page’s code that holds tags visitors do not see.
- Meta description. The summary tag sometimes used as the search snippet.
- Robots meta tag. The tag that controls indexing and link following.
- Viewport. The tag that controls how a page fits a phone screen.
- Open Graph. The tags that build link previews in social apps.
- Snippet. The text shown under a result in search.
Open the source of your homepage and find three tags: the title, the description and any robots rule. If the description is missing or reads like a list of keywords, rewrite it before touching anything else.
Questions we get
More about meta tags
What are meta tags?
Which meta tags matter for SEO?
Does Google use the meta keywords tag?
Where do meta tags go?
What is the robots meta tag?
Are Open Graph tags meta tags?
How do I check a page's meta tags?
Do it yourself
Guides on the same topic
Free step by step guides for owners doing the work themselves. No sign up and no email required.
SEO tips for beginners: your first seven steps
A step by step SEO guide for Philippine business owners with no agency. Seven things you can do yourself, in the order that actually matters.
Read the guideHow to do keyword research for free: six steps, no paid tools
A step-by-step method for finding the words your customers actually type, using only the free tools Google gives away. For owners with no software budget.
Read the guideHow to make a Google Business Profile: six steps to being on the map
Check whether Google already lists your business before you create anything, then get through the step that actually stops people: verification.
Read the guide
Related terms
Meta description
The meta description is the summary beneath your result. It has never been a ranking factor, Google replaces it most of the time, and it is still worth writing.
Title tag
The title tag is the clickable headline in search results and the label in a browser tab. It is the strongest on-page signal and the line that wins the click.
noindex
noindex is an instruction telling search engines to keep a page out of results. It has to be readable to work, which is why blocking the page defeats it.