Meta Tag Generator - SEO Meta Tags With Google Preview
Generate SEO meta tags, Open Graph and X card tags as HTML or Next.js metadata, with a Google preview that checks title and description pixel width.
example.com
https://example.com
Your Page Title - Brand Name
Your meta description shows here. Write one or two sentences that tell searchers what they get on the page.
example.com
Your Page Title - Brand Name
Your description
<meta name="robots" content="index, follow" /> <!-- Open Graph (Facebook, LinkedIn, WhatsApp, Discord) --> <meta property="og:type" content="website" /> <!-- X (Twitter) --> <meta name="twitter:card" content="summary" />
How to Use Meta Tag Generator
- 1
Enter your page title and meta description, and watch the pixel meters and the Google preview.
- 2
Add the page URL, site name, author and a social image URL, and choose robots and page type.
- 3
Choose HTML or Next.js metadata and copy the code into your page.
About Meta Tag Generator
The meta tag generator writes the tags that control how your page looks in Google and when it's shared on social media. Type a title and description and see the search result take shape as you go.
What you get
- SEO tags: title, meta description, keywords, author, robots and canonical link.
- Open Graph: og:type, og:title, og:description, og:url, og:site_name and og:image for Facebook, LinkedIn, WhatsApp and Discord.
- X (Twitter) cards: a large image card when you add an image, a summary card when you don't.
- Two formats: plain HTML, or a Next.js App Router metadata export.
Pixel-accurate Google preview
Google trims titles and descriptions by width, not by character count, so a title full of wide letters gets cut sooner. The preview measures your text the way Google renders it and shows where it would be cut, in Google's light or dark theme.
Everything runs in your browser and nothing you type is sent anywhere.
Built by
Fateh Raiyan IshmumFull-stack dev since 2020. Full-stack web developer since 2020. Builds privacy-first, open-web tools. Specialises in Next.js, TypeScript, and performance-focused design.
Frequently Asked Questions
Fill in your page title, meta description, URL and the other fields you need. The Google preview and social card update as you type, and the code below is ready to copy as HTML for your page's <head> or as a Next.js metadata export.
Google cuts titles by pixel width, about 600 px on desktop, which is usually 50 to 60 characters, and shows roughly 920 px of a description, about 150 to 160 characters. The meters above each field show both the characters and the pixel width, and turn yellow near the limit and red past it.
The title tag and meta description matter most: the title is a ranking signal and both shape how your result looks in Google. A canonical link tells Google which URL to index, and robots controls whether the page is indexed and its links followed. Google ignores the keywords tag, so it's optional.
Open Graph tags (og:title, og:description, og:image) control the title, text and image shown when your page is shared on Facebook, LinkedIn, WhatsApp, Slack and Discord. X (Twitter) card tags do the same on X. A 1200 × 630 image works well on all of them.
Yes. Choose Next.js metadata to get a typed metadata object for the App Router with title, description, robots, canonical, openGraph and twitter fields. Export it from a page.tsx or layout.tsx file.
index, follow lets search engines index the page and follow its links, which is right for most pages. Use noindex for pages that shouldn't appear in search results, such as thank-you pages or internal search results, and nofollow when you don't want links on the page to be followed.
More Free Tools
Check keyword density as you type: how often each word and 2-3 word phrase appears, the density of your target keyword, and a CSV of the results.
Count characters with and without spaces as you type, set any character limit to see how many are left, and check X, Instagram, SMS and SEO limits.
Format, beautify, minify, and validate JSON data instantly.
Most Popular
Translate English to Morse code and back, play it as sound or light, tap it by hand and download a WAV.
Generate random anime characters from popular series. Naruto, One Piece, Demon Slayer, Jujutsu Kaisen, more.
Generate random, realistic-format US phone numbers (+1 (XXX) XXX-XXXX) by state, in five formats with CSV export for testing.
Convert ASCII fractions like 1/2 and 3/4 into Unicode fraction characters. Copy and paste ½, ⅓, ¾, ⅝.