Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

HTML Meta Tag Generator

Enter a title, description and optional canonical URL, social image, type and site name — get a copy-pasteable <head> block with SEO, Open Graph and Twitter card tags. Empty fields are skipped and values are HTML-escaped.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

What the generator emits

Fill in a title and a description and you get a head block: a <title>, a meta description, an optional canonical link, a set of Open Graph properties and a set of Twitter card tags. Empty fields are simply omitted, so you can start with a title and add the social details later, and the output is ready to paste between <head> and </head>.

The two fields that are always written

Open Graph type and the Twitter card type always appear, because both protocols require a value: og:type defaults to website and can be switched to article, while twitter:card defaults to summary_large_image with a plain summary alternative. Everything conditional — og:title, og:description, og:url, og:image, og:site_name and the matching twitter: fields — appears only when you supply it.

Escaping and safe pasting

Every value is HTML-escaped before it goes in an attribute, so an ampersand becomes &amp; and a double quote becomes &quot;. A title containing quotes or angle brackets therefore cannot break out of the attribute and corrupt your head section — the kind of bug a hand-written tag block hides until a page title contains a stray character.

What it does not do

The tool writes tags but does not validate them. It does not check that your canonical URL matches the page you are on, that the social image is reachable or the right size, or that the description lands in the length search engines prefer, and it emits no JSON-LD, favicon or viewport tags. There is no fetching or image inspection, and nothing is uploaded.

Questions

Why are attribute values escaped?

Quotes and angle brackets are escaped (&quot; &lt; &gt; &amp;) so the generated HTML is safe to paste even when your title contains special characters.

Why is og:type always included even when I leave fields blank?

The Open Graph protocol requires a type, and the Twitter card tag is likewise mandatory. Both get a sensible default (website and summary_large_image), while every other tag appears only when you supply its value.

Can I generate a page with only a description?

Yes. The tool needs at least one of title or description; the title tag, og:title and twitter:title are simply dropped when no title is given, and the description tags are written instead.

See category