← Imperial Products / Tools / Meta Tag Generator

Meta Tag Generator

Fill in the fields below to generate complete HTML meta tags for SEO, Open Graph, and Twitter Cards — then copy with one click.

Basic SEO
0 / 60
0 / 160
Open Graph (Facebook / LinkedIn)
0 / 60
0 / 160
Twitter Card
0 / 60
0 / 160
Additional Tags
Generated HTML

What Are Meta Tags?

Meta tags are snippets of HTML placed inside the <head> element of a webpage. They are not visible on the page itself but communicate important information to search engines, social media platforms, and browsers. Meta tags tell crawlers what a page is about, how to index it, and how to display it when shared.

Why Meta Tags Matter for SEO

The title tag and meta description are the two most influential on-page SEO elements outside of body content. The title tag is used as the clickable headline in search engine results pages (SERPs) and carries significant ranking weight. The meta description, while not a direct ranking factor, strongly influences click-through rate — a compelling description can mean the difference between a user clicking your result or a competitor's.

Best Practices for Title Tags

Write your title tag as a concise, accurate label for the page. Lead with the most important keyword, then add your brand name at the end separated by a dash or pipe. Avoid keyword stuffing — search engines will often rewrite titles they consider manipulative or misleading. Target 50–60 characters to avoid truncation in SERPs.

Best Practices for Meta Descriptions

Think of the meta description as ad copy for your page in the SERP. It should clearly explain what the user will find on the page and include a soft call to action where natural. Keep it under 160 characters. While Google may rewrite descriptions from page content, providing a well-crafted one gives you the best chance of controlling your snippet.

Open Graph Tags Explained

Open Graph (OG) tags were introduced by Facebook and are now used by virtually every social platform — LinkedIn, Slack, WhatsApp, iMessage, and others — to generate rich link previews. Without OG tags, platforms fall back to guessing the title, description, and image, often with poor results.

Twitter Card Tags Explained

Twitter (now X) uses its own set of meta tags called Twitter Cards to control how links appear when shared in tweets. There are two common card types:

If Twitter Card tags are absent, Twitter falls back to Open Graph tags. Setting both ensures consistent previews across all platforms. The twitter:site tag should be your @username on the platform, which adds attribution to the card.

The Robots Meta Tag

The robots meta tag instructs search engine crawlers how to treat the page. index tells crawlers to include the page in their index; noindex excludes it. follow tells crawlers to follow links on the page; nofollow means they should not pass authority through those links. The default behavior (if the tag is omitted) is index, follow.

Viewport and Charset Tags

The <meta name="viewport"> tag is essential for responsive design — without it, mobile browsers render the page at a desktop width and scale it down, producing a poor user experience. The <meta charset="UTF-8"> tag declares the character encoding and should always be the first element inside <head> to prevent rendering issues with special characters.

More Free Online Tools