Meta tag generator
This meta tag generator writes the basic tags every web page needs in its head section. Site owners, bloggers and developers use it to get titles, descriptions and robots settings right without typing HTML by hand.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
The short answer
The core head tags for a page are a title, a meta description, a canonical link and, only if you want to block indexing, a robots tag. Google uses the title for result titles and may use the description as the snippet, but it can write its own, so make both accurate for the page. Index, follow is the default, so that tag can be left out.
Worked exampleThe sample page produces a 39-character title, a 123-character description, a canonical link to https://www.example.com/mugs/, a robots tag of index, follow and the theme color #1f6f8b.
Example
- Page title
- Handmade Ceramic Mugs | Example Pottery
- Meta description
- Shop handmade ceramic mugs, each thrown and glazed in our studio. Free shipping on orders over $50 and easy 30-day returns.
- Canonical URL
- https://www.example.com/mugs/
- Indexing
- Index
- Links
- Follow
- Viewport
- Responsive
- Charset
- UTF-8
- Theme color
- #1f6f8b
<meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Handmade Ceramic Mugs | Example Pottery</title> <meta name="description" content="Shop handmade ceramic mugs, each thrown and glazed in our studio. Free shipping on orders over $50 and easy 30-day returns."> <link rel="canonical" href="https://www.example.com/mugs/"> <meta name="robots" content="index, follow"> <meta name="theme-color" content="#1f6f8b"> <!-- Title: 39 characters. --> <!-- Description: 123 characters. --> <!-- Robots: index, follow is the default, so that tag can be left out. --> <!-- Keep the charset tag first in the head, within the first 1,024 bytes. -->
How to use the meta tag generator
- Fill in Page title, Meta description and Canonical URL.
- Choose Indexing, Links, Viewport and Charset, and enter a Theme color if you want one.
- The result updates as you type; Run also works.
- Use Copy result and paste the tags into your page's head section.
How it works
Text is HTML-escaped, so characters such as &, <, > and quotes cannot break the markup.
Length notes appear as HTML comments under the tags, warning when the title is over 60 characters or the description is over 160, since search results often cut text near those lengths.
The canonical URL must be an absolute http or https address, and the theme color must be a hex color such as #1f6f8b.
It notes when index, follow is chosen, because that is already the default, and when noindex is combined with a canonical URL.
Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.
Questions and answers
How long should a meta description be?
Roughly 70 to 160 characters. Search engines often cut longer descriptions, and they may write their own snippet anyway.
Do I need a robots meta tag?
Only if you want something other than the default, which is index, follow. Use noindex to keep a page out of search results.
What is a canonical URL?
It tells search engines which address is the main version of a page when the same content can be reached at several URLs.
Last updated November 1, 2026. Maintained by SnowRock. How our tools work
All 220 SnowRock tools