Meta Tag Generator

Builds the basic HTML meta tags for a web page from a title, a description and a canonical address, with optional search engine settings. Use it to get clean, correctly escaped tags that you can paste into the head of your page.

Options

How to use the Meta Tag Generator

  1. Fill in the page title, description and canonical address, and choose the search engine settings.
  2. The tags appear as you type. Copy them into the <head> of your page.

Rules applied

  • All values are HTML-escaped, so quotes and angle brackets cannot break the page.
  • A robots tag is added only when you choose noindex or nofollow, because indexing and following are the defaults.
  • The canonical address must be a full http:// or https:// address.

Limitations

Worked examples

Typical page

Result

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Fresh Sourdough Recipes &amp; Tips</title>
<meta name="description" content="Easy sourdough recipes for beginners, with step-by-step photos.">
<link rel="canonical" href="https://example.com/sourdough/">
Hide a page from search

Result

<title>Thank you</title>
<meta name="robots" content="noindex, follow">

Practical uses

  • Setting up a new landing page

    A freelancer fills in a title, description and canonical address for a new landing page. The tags appear as they type. They copy them into the head of the page, which saves writing the markup by hand.

  • Keeping a thank-you page out of search

    A shop owner does not want an order confirmation page to appear in search results. They choose the noindex option, which adds a robots tag. The tag can then be copied into the head of that page.

  • Escaping awkward characters safely

    An editor has a title containing an ampersand and quotes. The generated tags escape those characters automatically. The page markup stays valid, with no broken attributes to hunt down.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.