Meta Tag Generator
Generate SEO meta tags, Open Graph and Twitter card tags with live character counters — copy a ready-to-paste HTML head block.
About the Meta Tag Generator
This free meta tag generator builds a complete, copy-ready HTML head block for any web page. Fill in your page title, description, canonical URL, keywords, author and robots directive, and the tool writes clean <title>, <meta> and <link rel="canonical"> tags instantly. Live character counters warn you the moment your title passes 60 characters or your description passes 160, the points where Google typically truncates them.
It also generates social sharing tags automatically: Open Graph tags (og:title, og:description, og:url, og:image, og:type) that control how your link looks on Facebook, WhatsApp and LinkedIn, plus Twitter card tags for X. Set one OG image URL and both networks are covered.
Everything runs in your browser with nothing uploaded. Copy the generated block, paste it inside your page's <head> section, and your page is ready for search engines and social previews.
How to Use the Meta Tag Generator
- 1Enter your page title and meta description, keeping an eye on the character counters.
- 2Add the canonical URL, keywords, author and choose a robots directive.
- 3Paste an OG image URL (1200 × 630 px works best) and pick a Twitter card type.
- 4Click Copy and paste the generated block into your page's <head>.
Frequently Asked Questions
What meta tags are most important for SEO?
The title tag and meta description matter most: the title is a direct ranking signal and both control your snippet in search results. A canonical link prevents duplicate-content issues, and the robots tag controls indexing. Meta keywords are ignored by Google but harmless to include. Open Graph and Twitter tags do not affect ranking but decide how your link looks when shared.
How long should a meta title and description be?
Keep titles under about 60 characters and descriptions under about 160. Google actually truncates by pixel width rather than characters, but these counts are reliable rules of thumb. Anything longer gets cut off with an ellipsis in search results, which can hide your call to action. This tool's counters turn red the moment you cross either limit.
What are Open Graph tags and do I need them?
Open Graph (OG) tags are metadata that Facebook, WhatsApp, LinkedIn, Slack and many other apps read when someone shares your link. They set the preview title, description and image. Without them, platforms guess — often picking a random image or truncated text. If you ever expect your pages to be shared, OG tags are worth the thirty seconds this generator takes.
What is a canonical URL and when should I set one?
A canonical URL tells search engines which address is the master version of a page when the same content is reachable at several URLs — with and without www, with tracking parameters, or via category paths. Setting it consolidates ranking signals onto one URL and prevents duplicate-content dilution. Set it on every page, pointing to the clean, preferred address.
What does the robots meta tag do?
It tells crawlers whether to index the page and follow its links. "index, follow" is the default and right for most pages. Use "noindex, follow" for thin pages you want out of search results, such as internal search pages or thank-you pages, while still letting crawlers pass through to linked pages. "noindex, nofollow" hides the page and blocks link discovery entirely.