What are meta tags?
Meta tags are short pieces of HTML inside the <head> of a page. Visitors do not see them on the page itself, but search engines and social networks read them to understand what the page is about and how to display it. The most important ones are the title tag and the meta description, because Google often uses them for the blue headline and the grey snippet in search results.
This meta tag generator writes all the common tags for you:
<title>and the meta description, with live character counters- the canonical link, which tells Google the preferred address of the page
- the robots tag, to allow or block indexing
- Open Graph tags (
og:title,og:imageand more) for Facebook, LinkedIn and WhatsApp previews - Twitter card tags for X
- charset and viewport, which every modern page needs
How to use the meta tag generator
- Enter your page title. Aim for 30 to 60 characters and put your main keyword near the start.
- Write a meta description of 120 to 155 characters that explains the benefit and invites a click.
- Add the canonical URL and a share image of 1200 x 630 pixels.
- Choose the robots setting. Leave it on index, follow for normal pages.
- Click Copy code and paste the tags inside the
<head>section of your page, or into the SEO fields of your CMS.
Tips for meta tags that get clicks
Write for people, not only for robots. A good title promises exactly what the page delivers, and a good description adds a reason to choose you, such as free shipping, 24/7 service or a local area. Google explains how it creates titles and snippets in its guides on title links and snippets.
Keep every title unique across your site. Duplicate titles make it harder for Google to tell pages apart. You can find duplicates with our Duplicate Content Checker.
After you add the tags, preview your search result with the SERP Preview Tool, check the live page with the Meta Tag Checker and test social sharing with the Open Graph Preview. The Open Graph protocol site lists every available property.
The meta tags every page needs
Not every meta tag is worth adding. These are the ones that still matter today:
| Tag | What it does |
|---|---|
<title> | The clickable headline in Google and the text on the browser tab |
meta description | The summary Google often shows under your title |
meta viewport | Makes the page display properly on phones |
meta charset | Tells the browser which character set to use (UTF-8) |
link rel="canonical" | Tells search engines which URL is the main version of the page |
meta robots | Controls indexing, for example noindex for thank-you pages |
og:title, og:description, og:image | Control how the link looks on Facebook, LinkedIn and WhatsApp |
twitter:card | Controls the preview card on X |
The meta keywords tag is not on this list on purpose. Google has said publicly that it does not use it for ranking, so it is optional.
How to write a title tag that ranks and gets clicks
Your title tag is the single most important on-page SEO element. A few rules that work:
- Put the main keyword near the start. "Plumber in Lahore - 24/7 Emergency Service" is better than "Welcome to Our Company".
- Keep it around 50-60 characters so it is not cut off. Google actually measures in pixels, so wide letters such as W and M take more space.
- Make every title unique. Two pages with the same title compete with each other.
- Add your brand at the end if there is room, separated by a dash or a pipe.
Google may rewrite titles that are vague or stuffed with keywords. Its guide on title links explains when this happens.
How to write a meta description
A meta description does not directly change rankings, but it decides whether people click. Think of it as a small advert:
- Describe what the page offers in plain words.
- Include the main keyword naturally, because Google highlights search terms in bold.
- Add a reason to click, such as "free", "step by step" or "same-day delivery".
- Stay between roughly 120 and 155 characters.
Open Graph and social sharing
When someone shares your page on WhatsApp or Facebook, the platform reads your Open Graph tags. Without them, it guesses, and the preview often shows the wrong image or no image at all. Use an image of 1200 x 630 pixels, keep important text away from the edges, and write an og:title that makes people want to tap. You can check how a shared link will look with the Open Graph Preview tool. The full specification is on ogp.me.
After you generate your tags
Paste the code inside the <head> section of your page, publish, and then run the Meta Tag Checker on the live URL to make sure everything was saved correctly. If you use WordPress, an SEO plugin usually has fields for the title and description, so you only need to copy the text, not the HTML.
Frequently Asked Questions
Do meta keywords still help SEO?
No. Google has ignored the meta keywords tag for many years, so this generator does not add it.
Where do I paste the meta tags?
Inside the <head> section of your HTML, before </head>. On WordPress, use the fields of an SEO plugin instead of editing code.
Will Google always show my meta description?
Not always. Google may write its own snippet when it thinks another part of the page better matches the search. A clear, relevant description is still used most of the time.
What size should my Open Graph image be?
Use 1200 x 630 pixels. This works well on Facebook, LinkedIn, WhatsApp and X.
Can I use the same meta description on every page?
It is better not to. Duplicate descriptions make pages look alike in search results. Write a short, unique summary for each important page.
Do meta tags work for Bing and other search engines?
Yes. Title, description, robots and canonical tags are standard and are read by Bing, Yandex, DuckDuckGo and others.
What is the difference between og:title and the title tag?
The title tag is for search results and the browser tab. og:title is for social media previews. They can be the same, but you can make og:title more conversational.
Last updated: October 25, 2026