How to generate meta tags
- Enter your page title.
- Enter a meta description. It is optional, but you should almost always write one.
- Press Run tool and copy the two lines of HTML.
The output looks like this:
<title>Your page title</title> <meta name="description" content="Your description">
Special characters such as quotes, ampersands and angle brackets are escaped automatically, so a title like Tom & Jerry's "Best" Tips will not break your HTML.
Do you need this on WordPress?
On most WordPress sites you do not paste these tags by hand. WordPress writes the title tag for you, and SEO plugins such as Yoast SEO, Rank Math or SEOPress give each post a field for the SEO title and meta description. Adding a second set of tags in the theme creates duplicates, which confuses search engines.
The generator is still useful for:
- Static HTML pages, landing pages and sites built with other tools.
- Drafting and checking titles and descriptions before you paste them into your SEO plugin.
- Writing tags for a developer or a client who will add them to their own templates.
Writing a good title tag
The title tag is still one of the strongest on-page signals, and it is usually the blue link people click in search results. Some guidelines that hold up:
- Keep it to about 50 to 60 characters. Google cuts titles by pixel width, roughly 600 pixels on desktop. Wide letters like W and M use more space than narrow ones like i and l.
- Put the main topic near the start. If the end gets cut off, the important part is still visible.
- Make each title unique. Two pages with the same title compete with each other.
- Write for people. A title stuffed with keywords looks spammy and gets fewer clicks.
- Add your brand at the end if there is room, separated by a pipe or a dash.
Writing a good meta description
The meta description does not affect rankings directly, but it often becomes the grey text under your link. A good one improves click-through rate, and clicks are what you are after.
- Aim for 120 to 160 characters. Google shows roughly 920 pixels on desktop and less on mobile.
- Summarise what the page gives the reader. Say what they will learn, get or be able to do.
- Use the main keyword naturally. Google bolds words that match the search, which makes your result stand out.
- Do not repeat the title. Use the space to add detail.
Google rewrites a large share of meta descriptions, picking text from the page that it thinks matches the search better. You cannot stop this, but a clear, specific description gets used more often than a vague one.
Check before you publish
Paste your title and description into the Google SERP preview to see how they look as a search result and check their character counts. For a full on-page checklist, the WordPress SEO guide on WPSekar.com covers titles, headings, internal links and more.
Frequently asked questions
Does Google still use the meta keywords tag?
No. Google has ignored it for well over a decade, which is why this tool does not generate it.
Where do the tags go in an HTML page?
Inside the <head> section, usually just after the charset and viewport tags.
What about Open Graph tags?
Social networks use Open Graph tags such as og:title for link previews. SEO plugins generate them automatically from your SEO title and description.