Free · No sign-up · Data stays local

Meta Tag Generator

Free online meta tag generator: enter a title, description, URL and image to get copy-paste ready title, description, canonical, Open Graph and Twitter Card tags, plus length recommendations.

可直接粘贴到 <head> 的代码
长度统计
—
生成行数
—

How to Use

  1. Fill in page details

    Enter the title, description, canonical URL and share image; the site name is optional.

  2. Choose type and platforms

    Pick 'Website' or 'Article', and keep Twitter Card ticked if you want share cards.

  3. Review tips and copy

    Check the length tips below, then copy the code and paste it into your page <head>.

FAQ

Where do the generated tags go?

Paste the whole block between <head> and </head> in your HTML, usually right after charset and viewport and before any scripts.

How long should the title and description be?

Keep the title under 60 characters and the description between 50 and 160. The tool measures both live and warns when they are too long or too short to avoid truncation in search results.

What are Open Graph tags for?

The og: tags control the title, description and thumbnail shown when a link is shared on WeChat, Facebook, LinkedIn and similar platforms. Without them the platform guesses, and the preview usually suffers.

Is the image required?

Not required, but strongly recommended — cards with images get noticeably more clicks. Use an absolute https URL at 1200×630.

More Online Tools