AltUtils

Meta Tag Generator

Generate SEO meta tags, Open Graph and Twitter Card markup with live social previews, ready to paste into your HTML head.

CategoryWeb & SEO
Sheet32 / 42
ProcessingIn your browser
Import tags from an existing page

Search basics

Title, description and canonical are what search engines read first.

Empty0 / 60 characters (aim for 30–60)

Empty0 / 160 characters (aim for 70–160)

Used for og:url.

The preferred URL for duplicate versions.

Ignored by Google and Bing for ranking.

Social sharing

Open Graph is read by Facebook, LinkedIn, Slack, Discord, WhatsApp and others; X reads its own twitter:* tags and falls back to Open Graph.

language_TERRITORY, e.g. en_US, fr_FR.

Absolute URL. 1200 × 630 px (1.91:1) works across platforms; keep it under 5 MB.

Indexing (robots meta tag)

Defaults are index, follow, so the tag is only written when you change something.

Technical & structured data

Frameworks such as Next.js already output charset and viewport. Untick them to avoid duplicates.

Live preview

example.com
https://example.com
Your page title appears here
Your meta description appears here. Summarize the page in one or two sentences and give people a reason to click.

Approximate rendering. Google may rewrite titles and snippets, and social platforms cache previews: use their debug tools to refresh a changed card.

Checks

1 error · 1 warning · 2 tips
  • Error: Title is missing. Every indexable page needs a unique <title>.
  • Warning: Meta description is empty. Search engines will build a snippet from the page text instead.
  • Tip: No page URL: og:url is omitted, so platforms will use whatever URL was shared.
  • Tip: No og:image. Shares will show a small or text-only card; 1200 × 630 px images work well on most platforms.

(4 tags)

Paste inside <head>. Keep the charset tag first, within the first 1024 bytes of the page.

What is the Meta Tag Generator?

The Meta Tag Generator writes the HTML that belongs in a page's <head>: the title element, meta description, canonical link, robots directives (noindex, nofollow, nosnippet, max-snippet, max-image-preview and more), Open Graph tags for Facebook, LinkedIn, Slack, Discord and WhatsApp, X (Twitter) card tags, theme-color, charset and viewport, plus optional JSON-LD structured data for a WebSite, Article or Product. Live previews show an approximation of how the page could look in Google results and when shared on Facebook, X and LinkedIn.

Every value you type is HTML-escaped, so quotes, ampersands and angle brackets cannot break out of an attribute or inject markup, and the JSON-LD block is serialized with < and > escaped so text such as </script> cannot end the script early. A checklist flags common mistakes: a missing or overly long title, an empty description, relative image or canonical URLs, invalid X usernames or locales, malformed dates and prices, and noindex combined with a canonical that points elsewhere.

Already have a page? Paste its source into the import box to load its current title, meta, Open Graph, X card, robots and canonical tags, then edit and re-export them. Everything is generated locally in your browser; nothing you type is sent to AltUtils. The only request the previews make is loading the image URL you enter, directly from that address.

Good meta tags help search engines and social platforms understand and present your page, but they are not a ranking shortcut. The title is a relevance signal, the description mainly affects whether people click, and Google may rewrite either one. Open Graph and X tags change how shared links look, not where a page ranks.

Frequently asked questions

Which meta tags matter for SEO?
The title element and meta description (they shape your search snippet), the robots meta tag (controls indexing and snippets), the canonical link (consolidates duplicate URLs) and the viewport tag (mobile-friendly rendering). Google ignores the keywords meta tag, so filling it in has no ranking effect.
How long should the title and meta description be?
There is no official limit. Google truncates by pixel width, which usually means about 50–60 characters for titles and roughly 150–160 characters for descriptions on desktop (less on mobile). The counters here are guidelines; write for people first and put the important words early.
What are Open Graph tags?
Open Graph (ogp.me) is the protocol most apps use to build link previews. og:title, og:type, og:image and og:url are the core properties. Use an absolute image URL; a 1200 × 630 px image (1.91:1) displays well on Facebook, LinkedIn and X. Platforms cache previews, so use the Facebook Sharing Debugger or LinkedIn Post Inspector to refresh a card after changes.
Do I need twitter: tags if I already have Open Graph?
X falls back to og:title, og:description and og:image when the twitter:* equivalents are missing, but twitter:card selects the card layout and twitter:site / twitter:creator attribute the account. The generator writes both sets for maximum compatibility. Note that X tags use the name attribute while Open Graph uses property.
What do noindex, nosnippet, max-snippet and max-image-preview do?
noindex keeps a page out of search results and nofollow tells crawlers not to follow its links. nosnippet hides the text snippet, max-snippet limits it to a number of characters (-1 means no limit), and max-image-preview:large allows large image previews, for example in Google Discover. The page must not be blocked in robots.txt, or crawlers never see these tags.
What is a canonical URL?
A canonical link tells search engines which URL is the preferred version when the same content is reachable at several addresses (tracking parameters, http vs https, trailing slashes). It is a strong hint, not a directive. Use an absolute URL; a self-referencing canonical on the preferred page is fine and common.
What does the JSON-LD option add?
A basic schema.org block for a WebSite, Article or Product built from the fields you filled in. Structured data must match the visible page content and does not guarantee rich results; Google product snippets, for example, need offers, a review or an aggregateRating. Test the result with Google's Rich Results Test before publishing.
Is my data uploaded anywhere?
No. Tags, checks and previews are computed in your browser, and imported HTML is parsed with an inert DOMParser that never runs its scripts. The only network request is the preview loading the image URL you type, straight from that server.