Meta Tag Generator
Generate SEO meta tags — title, description, robots, canonical and viewport — and copy clean HTML you can paste into your <head>.
The eight lines in the generated block
You fill in three fields and the generator writes eight lines for your page's <head>:
| Line | Comes from |
|---|---|
<title> | Page title |
meta name="description" | Meta description |
link rel="canonical" | Canonical URL |
meta name="viewport" | Fixed: width=device-width, initial-scale=1 |
meta name="robots" | Fixed: index, follow |
og:title, og:description, og:url | The same three fields again |
The robots line states the default, so you can delete it, or swap it for a tag from the Meta Robots Tag Generator if the page needs noindex. The Open Graph lines have no image. For a full social preview, use the Open Graph Generator on this site and replace these three lines with its output.
Filling in the three fields
Under the title and description boxes, a counter shows the length in characters and a tick when it falls in range: 30–60 for the title, 70–155 for the description. A shop page might use:
- Title: Handmade Ceramic Planters | Clayworks (37 characters)
- Description: Wheel-thrown planters in six glazes, each with a drainage hole and a matching saucer. (85 characters)
The canonical URL is the address you want search engines to treat as the main version of this page. Enter the full address, with https:// and your domain, exactly as it should appear, including or omitting the trailing slash the way your site does. The box starts as https://example.com, so change it on every page. Leaving one URL, such as your home page, on every page tells search engines that all those pages are copies of it.
Quotation marks and ampersands in your text
The generator puts your text into the tags exactly as typed. It doesn't convert special characters, so a double quotation mark ends the attribute early. A title of The "Best" Pizza in Town produces:
<meta property="og:title" content="The "Best" Pizza in Town" />
A browser reads the content as just The and drops the rest. Three ways to avoid it:
- Use typographic quotes (“Best”) or single quotes in the text.
- After copying, replace each straight double quote inside an attribute with
". - Rephrase so the quotes aren't needed.
An ampersand such as "Salt & Pepper" usually displays fine, but writing it as & is the strictly correct form. Angle brackets in a title should always be written as < and >.
Check for tags your site already prints
Most content management systems, themes and SEO plugins already write some of these lines. Pasting the full block on top creates two titles, two canonicals or two viewport tags, and then you can't be sure which one a search engine or browser will use.
Before pasting, open the page, view its source, and search for <title, canonical and viewport. Paste only the lines that are missing, and edit the existing ones in your CMS settings rather than overriding them by hand.
Frequently asked questions
Does the length counter measure characters or pixels?+
Characters. Search results are cut by display width, so a title of wide capital letters can be truncated before 60 characters. The Google SERP Snippet Preview on this site gives a visual check.
Can I use the same description on several pages?+
You can, but each page then looks the same in search results, which makes it harder for a searcher to pick the right one. Write a separate description for every important page, and let minor pages go without rather than repeat one.
Where exactly do I paste the generated code?+
Inside the head section of the page's HTML, between the opening and closing head tags. On a CMS, use the theme's header settings or an SEO plugin's fields rather than editing template files directly, so an update doesn't wipe your changes.
Guides & deep dives
Meta Tags That Matter in 2026: Title, Description and Beyond
Learn which meta tags still drive SEO in 2026 — title and description limits, OG tags, robots directives, and which tags to stop wasting time on.
Schema Markup for Beginners: Types That Win Rich Results
Learn how to add schema markup to your site with real JSON-LD examples for FAQ, Article, Product, and LocalBusiness — and avoid the errors that kill rich results.
robots.txt: What to Block, What Never to Block
Learn robots.txt syntax, the right patterns to block crawlers, what you must never disallow, and how to avoid the noindex vs robots.txt mistake.
UTM Parameters: Naming Conventions That Keep Analytics Clean
Stop fragmenting your campaign data. Learn the UTM naming conventions that keep Google Analytics consistent, reportable, and free of duplicate sources.
Embed this tool on your website
Free to use on blogs, school sites and intranets. Paste this code into your page's HTML; please keep the credit line.
<iframe src="https://utilityapp.lat/embed/seo/meta-tag-generator" title="Meta Tag Generator" width="100%" height="600" style="border:0;max-width:760px" loading="lazy"></iframe> <p style="font-size:13px"><a href="https://utilityapp.lat/seo/meta-tag-generator">Meta Tag Generator</a> by UtilityApp</p>