Meta Tag Generator

Fill in your page's details and get a complete, copy-ready HTML meta tag block

Basics

Robots

Open Graph

Twitter Card

Generated tags

Copied to clipboard.
Everything is generated locally as you type — this tool never fetches any URL you enter.

About this tool

This tool builds the complete block of <meta> and <link> tags a page typically needs in its <head>: the basics (title, description, keywords, author, robots, canonical, viewport), Open Graph tags that control how the page looks when shared on Facebook, LinkedIn and other platforms, and Twitter Card tags for how it looks when shared on X/Twitter. It's pure client-side generation from the form fields you fill in — it never fetches or validates any URL you enter, it just formats what you give it into correct tag syntax.

How to use it

  1. Fill in the Basics section — title, description, canonical URL and robots settings are the most important.
  2. Add Open Graph fields for better previews on social platforms; leave og:title/og:description blank to reuse the Basics fields automatically.
  3. Add Twitter Card fields the same way — they also fall back to Basics/Open Graph fields when left blank.
  4. Copy the generated block from the right panel and paste it into your page's <head>.

Tips: keep titles under about 60 characters and descriptions under about 160 so they don't get truncated in search results. For Open Graph images, use at least 1200×630px so the preview looks sharp on Facebook and LinkedIn.

Do I need both Open Graph and Twitter Card tags?

Twitter/X will actually fall back to reading Open Graph tags if Twitter Card tags are missing, but adding both gives you more precise control over how your page appears on each platform and is the standard practice most sites follow.

What does noindex/nofollow actually do?

"noindex" tells search engines not to include the page in search results, and "nofollow" tells them not to pass link authority through links on the page. Most pages should use index/follow — noindex is typically reserved for pages like internal search results, thank-you pages, or duplicate content you don't want ranked.

Does this tool check if my image URL actually works?

No — this tool never fetches any URL you enter. It only formats the text you provide into the correct tag syntax, so you're responsible for making sure image URLs are correct and publicly accessible before sharing the page.

What's a canonical URL for?

It tells search engines which URL is the "master" version of a page when the same or similar content is reachable at multiple URLs (with tracking parameters, trailing slashes, http vs https, etc.), which helps avoid duplicate-content issues.

Is anything I type sent anywhere?

No — the tag block is assembled entirely with JavaScript in your browser. Nothing you type is uploaded, logged, or stored anywhere.