You post your shop's link on Facebook and the card shows a gray box with the wrong headline. The page has no share tags, or old ones. Fill in the form once, check the preview, and copy the tags into your page.
How to use the meta tag generator
- Tap an example that is close to your page, like Local business or Blog post. Or start from an empty form with Clear all.
- Type your page title and description. The bars show how wide each one is in a search result.
- Add the full address of the page in Canonical URL.
- Open Share tags to add the picture and the names for Facebook, LinkedIn and X. Leave a field empty and it uses your title, description and address.
- Read the Checks list and fix what it flags.
- Press Copy tags, or download head.html, and paste the tags between
<head>and</head>of your page.
Already have a page? Open Check a head you already have and paste its head. The form fills in, and the checks tell you what is wrong. Copy only the missing tags gives you just the tags the page lacks.
Where the trouble starts
Meta tags are lines of code at the top of a page that people never see. They tell search engines and apps what the page is called, what it says, which address is the main one, and which picture to show when the link is shared.
- Title and description are the headline and the gray text in a Google result.
- Canonical names the one address you want counted when a page opens at several (with and without www, or with tracking at the end).
- Robots rules ask search engines to skip a page, or to skip part of it.
- Open Graph tags (og:) make the card on Facebook and LinkedIn. X tags (twitter:) do the same on X.
Why it bites
Say you add a UTM tag to a link for a campaign. Now your page opens at two addresses, and search engines may treat them as two pages. Or you set noindex on a draft and forget it, and the live page never shows up in search. Or your title runs 70 characters, and Google cuts it in the middle of your shop name.
These are quiet problems. Nothing breaks on screen. You find out weeks later, when the traffic is not there.
On social media
- Facebook and LinkedIn build the link card from your Open Graph tags. A picture of 1200 by 630 pixels works well on both.
- X reads its own twitter: tags first and your og: tags when those are missing. For the Large image card, X wants a picture with a 2 to 1 shape, at least 300 by 157 pixels, no more than 4096 by 4096 and under 5 MB.
- Pinterest reads Open Graph tags for rich Pins.
- Instagram, TikTok and YouTube posts do not show a card built from these tags. The tags matter wherever the link is pasted, like Facebook, LinkedIn, X and messages.
- Apps keep an old card for a while. After you change a tag, ask Facebook's Sharing Debugger or LinkedIn's Post Inspector to fetch the page again.
Need the right size for every post picture? See the social media size guide.
What the tool does and does not do
- Pixels, not characters. Google cuts a title or description by how wide it is, not how many letters it has. An i is narrow and a W is wide. The tool measures your text with the width of each letter in Arial, the font most pixel checkers use. The bars use two rules of thumb: about 600 pixels for a title and about 1200 for a description. Google publishes no limit, so treat them as a guide.
- Accents, other scripts and emoji are estimated. Chinese, Japanese and Korean letters and emoji count as one full square each.
- Google may rewrite your text. It sometimes shows a different title or description than the one you wrote. No tag can force it.
- The picture is not loaded here. Your text never leaves your device, so the preview shows a box with the picture's file name, not the picture.
- The pasted head is read as plain text. It looks for title, meta and canonical tags. Scripts and comments are skipped.
- It does not fetch your live page, and it does not check that your image address opens.
- Your text is not sent anywhere or saved. Reload and the form goes back to the example.
FAQ
How long should a page title be?
Keep it under about 600 pixels wide, which is roughly 55 to 60 letters. Google cuts a title by width, not by letters, so the bar in the tool is the better guide. Put the words people search for first.
Do I need a canonical tag on every page?
No, but it is a good habit. A canonical tag names the main address of a page, which helps when the same page opens at more than one address. Point it at the page's own full address. Google treats it as a hint, not an order.
What size should og:image be?
Use a picture 1200 by 630 pixels. That is the size Facebook recommends, and it also works on LinkedIn and as the X Large image card. Give the full address, starting with https://, because a short path like /share.jpg will not work.
Why does Google show a different title than mine?
Google can rewrite a title or description when it thinks another text fits the search better. It often does this when the title is too long, stuffed with keywords, or the same on many pages. A clear title that matches the page gives you the best chance of keeping yours.
Does this make a meta keywords tag?
No. Google has said it does not use the keywords tag, and it adds nothing to your ranking. If your pasted head has one, the tool tells you it is safe to delete.
Do I need both Open Graph and X tags?
No. X falls back to your Open Graph tags when its own are missing. Fill the X fields only if you want a different title or picture on X, or to add your X account name.