ToolFactory

Meta Tag Generator

Generate clean HTML meta tags for your web pages to improve search engine indexing.

How the Meta Tag Generator works

Enter your page title into the Page title field. Keep this text under 60 characters so search engines do not truncate it in results. Write a summary of your page in the Meta description field. Keep this description between 120 and 160 characters to fit both desktop and mobile snippet views.

Type your target phrases into the Keywords field, separating each term with a comma. Enter the absolute web address for the page into the Canonical URL field. This tag tells search engines which master URL to index when URL parameters or tracking codes create duplicate pages.

The tool instantly processes your entries and generates formatted HTML tag snippet code. It displays exact character counts for your title and description alongside the generated code. Click the copy button to transfer the tags into the header section of your HTML document.

Formula used

title + description + canonical, escaped and capped at search-display limits

SymbolMeaning
≤ 60 charstitle cap so nothing is cut off in results
120–160 charsdescription window that survives both desktop and mobile snippets
canonicalthe one URL you want indexed when parameters create duplicates

The tag generator deliberately skips meta keywords — Google has ignored them since 2009 and competitors only use them to profile your targets. Title and description are what search engines actually display.

Inputs used: Page title (≤ 60 chars), Meta description (120–160 chars), Keywords (comma separated), Canonical URL.

Worked example

Here is how to generate meta tags using the default inputs provided in the tool.

Result:

Frequently asked questions

Why is the page title limited to 60 characters?
Search engines display titles based on pixel width rather than strict character counts. Keeping titles under 60 characters ensures your full text appears in search results without being cut off by ellipses.
What happens if a meta description is longer than 160 characters?
Search engines usually truncate meta descriptions longer than 160 characters on desktop screens and around 120 characters on mobile screens. Keeping text within 120 to 160 characters prevents important details from being hidden.
Do search engines still use the meta keywords tag?
Major search engines like Google do not use the meta keywords tag to calculate ranking positions. Some smaller search engines and internal site search tools still read it, so adding primary keywords remains optional.
Where should I place these generated tags in my HTML?
Paste the generated code blocks directly inside the opening and closing head tags of your HTML document. Ensure they appear before the body tag of your webpage.
What formula does the Meta Tag Generator use?
It uses title + description + canonical, escaped and capped at search-display limits, where ≤ 60 chars is the title cap so nothing is cut off in results; 120–160 chars is the description window that survives both desktop and mobile snippets; canonical is the the one URL you want indexed when parameters create duplicates.
How do I read the result?
The tag generator deliberately skips meta keywords — Google has ignored them since 2009 and competitors only use them to profile your targets. Title and description are what search engines actually display.