Skip to content

Menu

Meta Tag Generator

Generate SEO head tags: title, description, robots, canonical, viewport and charset.

Runs entirely in your browserGeneratorsFree, no sign-up
Loading tool

01What is Meta Tag Generator?

Every page needs a small block of tags in its <head>, and it's easy to forget one or break the markup with a stray quote. Meta Tag Generator writes that block for you from six inputs: Page Title, Description, Keywords, Author, Robots and Canonical URL. The output updates as you type, so there's no generate button to press. The order is fixed and deliberate. A UTF-8 charset declaration always comes first, because the HTML Living Standard requires the encoding declaration to sit within the first 1,024 bytes of the document. Next is a responsive viewport tag set to width=device-width, initial-scale=1, which is the value MDN recommends for mobile layouts. After that come the <title> element, meta tags for description, keywords, author and robots, and finally a <link rel="canonical">. Any field you leave blank is simply dropped from the output. The tool escapes four characters in your text: ampersands, double quotes, less-than and greater-than signs. That keeps an attribute value like a description with quotes in it from closing the tag early. Apostrophes are left alone, which is fine because every attribute is wrapped in double quotes. Here's a quick example. Type Docs as the title, Jane Doe as the author and pick noindex, nofollow. You get five lines: charset, viewport, <title>Docs</title>, an author tag and a robots tag reading noindex, nofollow. Description, keywords and canonical don't appear because they were empty. Character counts show next to the title and description labels. Treat them as a rough guide. Google's own documentation says there's no fixed length limit for either, and it trims snippets to fit the device screen. Google also states that it ignores the keywords meta tag, and the field label says so. There are limits you should know about. The robots menu has only the four index/follow combinations, so directives like noarchive or max-snippet need to be added by hand. The canonical field isn't validated, so a relative path or a typo goes straight into the output. You won't get Open Graph, Twitter Card, hreflang or favicon tags here, and there's no preview of a search result. All of the text you type is turned into tags locally in the page, and the Copy button just puts the finished block on your clipboard.

Front-end developers setting up page templates who want a correct, escaped <head> block without typing it from memory. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Meta Tag Generator

  1. Type the Page Title and watch the character count beside the label.
  2. Write a Description that sums up the page in plain words.
  3. Fill in Keywords and Author only if your setup actually uses them.
  4. Pick a Robots value from the four index and follow combinations.
  5. Paste the full https:// address into Canonical URL if the page has duplicates.
  6. Click Copy and paste the block into your page's <head>.

03Worked examples

Input: All fields empty, Robots left at index, follow
Result: <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="robots" content="index, follow" />
Charset, viewport and robots are always written. Empty fields are left out.
Input: Page Title: Pricing; Description: Plans from $9/month.; Canonical URL: https://example.com/pricing
Result: <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Pricing</title> <meta name="description" content="Plans from $9/month." /> <meta name="robots" content="index, follow" /> <link rel="canonical" href="https://example.com/pricing" />
Input: Page Title: Tom & Jerry's "Best" <Episodes>; Robots: noindex, follow
Result: <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Tom &amp; Jerry's &quot;Best&quot; &lt;Episodes&gt;</title> <meta name="robots" content="noindex, follow" />
&, double quotes and angle brackets are escaped. The apostrophe is left unchanged.
Input: Page Title: Docs; Author: Jane Doe; Robots: noindex, nofollow
Result: <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Docs</title> <meta name="author" content="Jane Doe" /> <meta name="robots" content="noindex, nofollow" />
A typical setup for an internal docs page you don't want in search results.
Input: Description: Free "JSON" formatter & validator; Keywords: json, formatter; Robots: index, nofollow; Canonical URL: https://example.com/json
Result: <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content="Free &quot;JSON&quot; formatter &amp; validator" /> <meta name="keywords" content="json, formatter" /> <meta name="robots" content="index, nofollow" /> <link rel="canonical" href="https://example.com/json" />
No title was entered, so no <title> line is written. Quotes inside the description are escaped.

04Common use cases

  • Writing the head block for a hand-coded landing page before it goes live
  • Adding a canonical link to a product page that's reachable with and without tracking parameters
  • Marking a staging copy, a thank-you page or an internal search results page as noindex
  • Fixing a description that contains quotes or an ampersand and keeps breaking a template
  • Building a starter set of head tags to paste into a CMS theme or a static site layout
  • Checking which tags a page is missing by filling in what it should have and comparing

05Tips

  • index, follow is what search engines assume when there's no robots tag, so the tag only changes behaviour when you choose noindex or nofollow.
  • A noindex page still has to be crawlable. If robots.txt blocks it, Google never sees the noindex tag.
  • Always use an absolute URL for the canonical link. Relative paths are allowed by the spec but Google recommends absolute ones to avoid mistakes.
  • Keep the charset tag as the very first thing in <head>. If something else goes above it, check that it still lands inside the first 1,024 bytes.
  • Escaping is already done for you, so paste raw text. Pasting &amp; yourself would come out as &amp;amp;.

06Related concepts

Meta description, Robots meta tag, Canonical URL, Viewport meta tag.

Frequently Asked Questions

What is Meta Tag Generator?

Meta Tag Generator is a free, browser-based developer tool on AIDToolStack. Generate SEO head tags: title, description, robots, canonical, viewport and charset. It requires no installation or sign-up and works entirely in your browser.

Is Meta Tag Generator free to use?

Yes. No sign-up, no fees and no usage cap.

Does Meta Tag Generator store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe