💻 Web Dev Tools

Meta Tag Generator

Generate complete SEO meta tags, Open Graph, Twitter Card and JSON-LD Schema markup with live SERP snippet, Facebook card and Twitter card previews that update as you type. Copy by section or copy all. Free, client-side, no login.

Live Google SERP preview OG + Twitter + JSON-LD in one Pixel-accurate title/desc bars Page type templates
AdSense — 728×90 Leaderboard

Meta Tag Generator Tool

Page type template:
Aim for 50–60 characters (≈600px)
Aim for 120–155 characters (≈920px)
Article only

💡 Preview is approximate — actual display varies by query and device.

example.com › page
Your page title will appear here
Your meta description will appear here. Write something compelling that makes users want to click your link in the search results.
Title pixel width 0 / ~600px
Description pixel width 0 / ~920px

💡 Facebook uses og:title, og:description and og:image from the Open Graph tab.

🖼️
EXAMPLE.COM
Your page title
Your Open Graph description will appear here when your page is shared on Facebook or LinkedIn.

💡 Twitter uses twitter:card, twitter:title, twitter:description from the Twitter tab.

🖼️
example.com
Your page title
Your Twitter Card description will appear here when someone shares your link on X / Twitter.
AdSense — 728×90 Leaderboard
📝
Writing your meta description? Check the character limit.
The free Character Limit Checker checks text against Google meta description (155 chars), email subject lines, Twitter, LinkedIn and 7 more platform limits simultaneously — live colour-coded bars as you type.
📊 Character Limits →
⭐ User Ratings

Rate this tool

4.8
Based on 5,102 ratings
5
4,490
4
357
3
153
2
51
1
51
Was this meta tag generator helpful?
Thank you for your rating!
Features

Live SERP preview, JSON-LD and social cards in one — features most meta tag generators skip

Most meta tag generators give you a code block. This tool gives you live Google SERP, Facebook card and Twitter card previews that update as you type, pixel-accurate length bars for title and description, page type templates, and JSON-LD Schema markup alongside OG and Twitter tags — all in one generator.

🔍
Live Google SERP preview
See an accurate Google search result snippet that updates on every keystroke — title, breadcrumb URL and description. Pixel-accurate width bars (≈600px title, ≈920px description) show exactly where Google truncates, not just character counts. Absent on most free tools.
📱
Facebook and Twitter card previews
Switch between Google, Facebook and Twitter previews. The Facebook card shows og:title, og:description and og:image. The Twitter card shows the summary_large_image layout. All three update live as you fill in the fields. Essential for checking how shared links will look before publishing.
📜
JSON-LD Schema markup
Generate JSON-LD structured data for WebPage, Article, BlogPosting, Product, Organization, Person or FAQPage types. All inherit from the fields you've already filled in. Copy the schema block separately to paste in your HTML head. Rare in free meta tag generators.
📋
Copy by section or copy all
Each output section (Basic SEO, Open Graph, Twitter Card, JSON-LD) has its own copy button for pasting into the appropriate plugin or template. A Copy All button combines everything into a single paste-ready HTML block for the <head> section.
📊
Pixel-accurate length bars
Character counts alone are misleading — Google measures title and description width in pixels, not characters. Narrow characters (i, l, 1) use less space; wide ones (W, M) more. The pixel bars estimate rendered width so you can see exactly when Google would truncate your title or description.
Page type templates
Click Website, Article, Product or Profile to pre-populate the og:type and JSON-LD type fields with the right values. Each template sets sensible defaults so you spend less time remembering which fields apply to which content type and more time writing good titles and descriptions.
How to use

How to generate meta tags for your website

1
Fill in the SEO tab
Enter your page title (50–60 chars), meta description (120–155 chars), canonical URL, and set your robots directives. The Google SERP preview on the right updates instantly so you can see whether your title gets truncated before clicking away from this tab.
2
Complete the Open Graph tab
Add your og:image URL (1200×630px) and og:site_name. Leave og:title and og:description blank to inherit from your SEO tab values — useful when the two are identical. Switch to the Facebook preview to see how your link will look when shared. For articles, add the published date.
3
Set up Twitter Card
Choose summary_large_image for the best click-through rate on X/Twitter. Add your @handle in twitter:site. Leave title, description and image blank to inherit from OG fields. Switch to the Twitter preview tab to see the card. summary_large_image shows the image full-width above the title.
4
Configure JSON-LD Schema (optional)
Select your schema type (Article for blog posts, Product for shop pages, Organization for brand pages). Add your publisher name and logo URL for Article schema. The JSON-LD output is generated automatically and inherits page title, description and image from the other tabs.
5
Copy and paste into your <head>
Click Copy all tags to copy the complete tag set, or use each section's Copy button to paste into the appropriate plugin field (e.g. Yoast SEO or RankMath for WordPress). Download as .html to save a snippet file. Paste inside the <head> element, before any CSS or script tags.
Why LazyTools

How this compares to other meta tag generators

FeatureLazyToolsmetatags.ioBigDevSoonWokeey
Basic SEO + robots + canonicalYesYesYesYes
Open Graph tagsYesYesYesYes
Twitter Card tagsYesYesYesYes
JSON-LD Schema markupYes — 7 typesNoNoNo
Live Google SERP previewYes — liveYesYesNo
Facebook card previewYesYesYesNo
Twitter card previewYesYesYesNo
Pixel-accurate length barsYes — px estimatedChars onlyChars onlyChars only
Page type templatesYes — 4 typesNoNoNo
Copy by sectionYesNoYesNo
Download as .htmlYesNoNoNo
Quick reference

Essential meta tags and what they do

TagPurposeBest practice
<title>Page title — shown in browser tab and Google SERP50–60 chars, front-load keyword, unique per page
meta descriptionSummary shown under title in SERP — not a ranking factor but affects CTR120–155 chars, write as ad copy, include a benefit and CTA
canonicalTells Google the preferred URL for this contentAlways set — prevents duplicate content penalties
robotsControls indexing and crawl behaviourindex, follow for most pages; noindex for thank-you / admin pages
og:titleTitle shown in Facebook/LinkedIn share cardsCan differ from title tag — more social, less keyword-focused
og:imageImage shown in share card1200×630px minimum — always include or shares look blank
og:typeContent type for Open Graphwebsite for homepages, article for blog posts, product for shop
twitter:cardTwitter card formatsummary_large_image for max engagement — shows image full-width
twitter:sitePublisher Twitter/X handleInclude for attribution on shared links
JSON-LDStructured data for rich results in GoogleArticle, Product and FAQ schemas can earn enhanced SERP features
Complete guide

Meta Tags — A Complete SEO and Social Sharing Guide

Meta tags are HTML elements that live in the <head> section of your webpage and communicate key information to search engines, social platforms and browsers. They don't appear on the page itself, but they directly determine how your page looks in Google search results, how it appears when shared on Facebook or Twitter, and how well search engines understand what your content is about. Getting them right is one of the highest-leverage SEO tasks: a well-written title and description can improve click-through rate without any change to the page's content or links.

SEO meta tag generator with Open Graph free

The two most important SEO meta tags are the title and the meta description. The title tag is a confirmed Google ranking signal — the most important on-page SEO element. Keep it under 60 characters (approximately 600px width) and front-load your primary keyword. Google frequently rewrites titles that don't match user intent, so write titles that accurately describe what the page delivers. The meta description is not a ranking signal, but it acts as ad copy in the SERP — a well-written description with a clear benefit and call to action measurably improves click-through rate, which is an indirect ranking signal.

Google SERP snippet preview meta tags

Most meta tag generators show you a character count. The problem is that Google measures title and description width in pixels, not characters. A title like "Will Williams Wins" is 18 characters but uses relatively few pixels because W, i, l are not all the same width in proportional fonts. A title like "Mammogram Mammography" is 21 characters but may be wider in pixels. The pixel-accurate bars in this generator estimate rendered width using the approximate character widths of Google's Roboto font, giving you a more accurate signal of truncation than a raw character count.

Meta description generator for WordPress free

In WordPress, meta tags are usually managed by plugins like Yoast SEO, RankMath or All in One SEO. These plugins provide input fields for the title and meta description — they handle the tag formatting. You can use this generator to draft and preview the optimal title and description before pasting them into the plugin field. The character limit bars and SERP preview let you iterate quickly without publishing test changes to your live site. Generate the Open Graph and Twitter tags here, then use the plugin's social settings to paste them in.

JSON-LD schema generator online

JSON-LD (JavaScript Object Notation for Linked Data) is Google's preferred format for structured data markup. It goes in a <script type="application/ld+json"> tag in the <head> and tells Google what type of content the page contains — an Article, a Product, an Organization, a Person or a FAQ list. When Google understands this, it can display enhanced rich results: article date and author, product price and rating, FAQ accordion in the SERP, or sitelinks. Rich results consistently achieve higher click-through rates than standard blue links.

Twitter card meta tags generator

Twitter/X uses its own Card markup (twitter:card, twitter:title, twitter:description, twitter:image) but falls back to Open Graph tags when Twitter Card tags are absent. For most cases, setting both gives you independent control. The summary_large_image card type displays your image full-width above the title and description — significantly more engaging than the small thumbnail of the summary card. Set twitter:site to your Twitter handle to get attribution on every share of your content, building brand recognition alongside each link click.

Frequently asked questions

Meta tags are HTML elements in the <head> of your page that tell search engines, social platforms and browsers about your content. The title tag and meta description control how your page appears in Google search results. Open Graph and Twitter Card tags control how your page looks when shared on social media. JSON-LD structured data can earn rich results features like FAQ accordions and article dates in the SERP.
Google displays approximately 600px of title text on desktop, which corresponds to roughly 50–60 characters in a typical mix of Latin letters. Front-load your primary keyword in the first 50 characters as a safety margin. Titles that are too short waste an opportunity; titles that are too long get truncated with an ellipsis in the SERP.
Google displays approximately 920px of description text on desktop, which is roughly 120–155 characters. Write the description as ad copy: lead with the benefit, include your primary keyword naturally, and end with a call to action. Google may rewrite your description if it doesn't match user search intent, but having a well-written one gives you the best chance of controlling the display.
Open Graph (og:) tags control how your page appears when shared on Facebook, LinkedIn, WhatsApp and other social platforms. Without them, these platforms guess what to display — often with a missing image or wrong text. The essential tags are og:title, og:description, og:image and og:url. The og:image should be at least 1200×630px for maximum visual impact across all platforms.
The canonical tag (<link rel="canonical" href="...">) tells Google which version of a page is the preferred one when multiple URLs serve the same content. This commonly happens with HTTP vs HTTPS, www vs non-www, URL parameters, and paginated content. Always set the canonical to prevent duplicate content from splitting your page's ranking authority.
Twitter/X falls back to Open Graph tags when Twitter Card tags are absent, so OG alone often works. However, adding explicit twitter:card, twitter:site and twitter:creator tags gives you independent control and attribution. The twitter:card type determines the card layout — summary_large_image shows the full-width image card that consistently gets more engagement than the small summary card.
JSON-LD is Google's preferred format for structured data. Use Article or BlogPosting for blog posts, Product for e-commerce pages, Organization for brand/about pages, Person for author profiles, FAQPage for Q&A content, and WebPage for general pages. Structured data can earn rich results in Google search like article dates, product ratings, and FAQ accordion — all of which increase click-through rate.
All meta tags must go inside the <head> element, before the closing </head> tag. They should appear before any CSS or JavaScript links for best performance. In WordPress, use a plugin like Yoast SEO or RankMath to add them — these plugins insert the tags automatically. In Shopify, edit your theme.liquid file. In plain HTML, paste them directly inside <head>.
Related tools

More free SEO and web dev tools