What is an HTML Meta Tag Generator?
An HTML meta tag generator builds the complete <head> block for any page in seconds. Instead of writing meta tags by hand and checking every attribute, you fill in a form and get ready-to-paste HTML — including SEO basics, Open Graph for Facebook and LinkedIn, Twitter Card, robots directives, viewport, and charset.
How to Use This Tool
- Fill in the Basic SEO fields — title, description, author, keywords, and canonical URL. Watch the character counters to stay within recommended limits.
- Enable Open Graph to add social sharing tags for Facebook, LinkedIn, and other platforms that support the OG standard.
- Enable Twitter Card to control how your link looks when shared on Twitter. If Twitter Card tags are absent, Twitter falls back to Open Graph.
- Enable Robots Directives to tell search engine crawlers whether to index the page, follow links, and how much content to display in snippets.
- Check the Live Preview to see how your page will look as a Google search result, Facebook post, and Twitter share.
- Click Copy All to copy the entire HTML block, then paste it inside your
<head>element.
SEO Meta Tags Explained
| Tag | Recommended Length | Purpose |
|---|---|---|
<title> | 50–60 characters | Shown in browser tabs, search results, and bookmarks |
<meta name="description"> | 120–160 characters | Shown below the title in search results — affects CTR |
<meta name="author"> | any | Credits the page author; used by some readers and RSS |
<meta name="keywords"> | optional | Largely ignored by Google but may be useful for internal search |
<link rel="canonical"> | full URL | Tells search engines which URL is the “official” version |
Open Graph Tags
Open Graph tags control how your page appears when shared on social networks. The essential set is:
- og:title — the headline shown in the card preview
- og:description — the text beneath the headline
- og:image — the thumbnail image (recommended size: 1200×630 px)
- og:url — the canonical URL of the page
- og:type — usually
website; usearticlefor blog posts
Twitter Card
Twitter Card tags work like Open Graph but are specific to Twitter. If Twitter Card tags are missing, Twitter falls back to Open Graph. The summary_large_image type shows a large image above the text and gets significantly higher engagement than summary.
Robots Directives
The <meta name="robots"> tag controls crawler behavior:
| Directive | Effect |
|---|---|
index | Allow the page to appear in search results |
noindex | Prevent the page from appearing in search results |
follow | Allow crawlers to follow links on the page |
nofollow | Tell crawlers not to follow links |
max-snippet:-1 | Allow unlimited text snippet length in results |
max-image-preview:large | Allow large thumbnail images in results |
Character Limits
- Title: Google truncates titles longer than ~60 characters. Stay between 50–60 for best results.
- Meta Description: Google shows up to ~160 characters on desktop. Write 120–155 to avoid truncation on mobile.
Privacy
All tag generation runs entirely in your browser. No data you enter is ever sent to a server, stored, or logged.