Free Meta Tag Generator & OG Preview Tool
Paste HTML tags, analyze a public URL, or enter your page details. Preview Google and social cards, then copy HTML head tags or a Next.js Metadata export. Compare desktop and mobile search previews.
Live Previews
5 platformsexample.com
Page Title
A description of the page will appear here...
example.com
Page Title
A description of the page will appear here...
Page Title
A description of the page will appear here...
example.com
Page Title
A description of the page will appear here...
example.com
example.com
Page Title
A description of the page will appear here...
HTML Output
Add page details or import tags to generate code.
What Are Meta Tags?
Meta tags are HTML snippets in your page's <head> that describe your page for search engines and social platforms. Google can use the title tag for the result title and the meta description for the snippet. It can also use other text from the page.
What Are Open Graph Tags?
Open Graph (OG) tags were created by Facebook to control link preview cards when URLs are shared on social media. og:title, og:description, and og:image are now the standard used by Facebook, LinkedIn, and Slack. Describe the share image with og:image:alt. Add separate alt text when the X card uses a different image. Open Graph image tags.
Twitter Card Tags
Twitter/X has its own set of meta tags for controlling how links appear in the feed. twitter:card can be set to summary (small thumbnail) or summary_large_image (large banner image above the text). Twitter falls back to OG tags if Twitter Card tags are missing, but setting both gives you full control across every platform.
Ideal Image Dimensions
A common landscape size for Open Graph images is 1200 × 630 pixels. Use a public HTTPS image URL. The OG Image Checker previews online images and resizes local files so you can see which parts of the image fit.
Title & Description Length
Keep titles concise and write a description specific to the page. Google can shorten both to fit the device. The counters in the editor are drafting guides. The search snippet preview shows what fits at two example widths.
Canonical URLs
A rel="canonical" tag tells search engines which version of a URL is the "official" one. This prevents duplicate content issues when your page is accessible at multiple URLs (e.g., with and without trailing slash, HTTP vs HTTPS, or via query parameters). Always set canonical to the primary URL you want indexed.
How to Use This Meta Tag Generator
Building from scratch
- 1. Enter your page title and description with the character counters as a guide.
- 2. Add your canonical URL and OG image URL — the image checker validates dimensions automatically.
- 3. Watch the live preview cards update in real time for Google, Facebook, Twitter/X, LinkedIn, and Slack.
- 4. Copy the finished
<head>block and paste it into your HTML.
Auditing an existing page
- 1. Import titles, canonical links and social tags from a public page, or paste the HTML head.
- 2. Review the imported title, description, canonical link, and supported social tags.
- 3. Compare the previews. Use Platform overrides to edit a social title or description separately.
- 4. Edit any fields that need improving, then copy the updated HTML output.
Publishing an app? Check your privacy policy URL