Asistente RD

Meta tags generator (SEO and Open Graph)

Generate SEO, Open Graph and Twitter Card meta tags from a simple form. Length counters, safe escaping and one-click copy. No sign-up, runs in your browser.

Free · No sign-up · In your browser

Fill in the form and copy the ready-to-paste block for the <head> of your page.

31/60 chars

Good length (max 60).

59/160 chars

Good length (max 160).

Generated tags

<title>Café &amp; Té: la guía &quot;definitiva&quot;</title>
<meta name="description" content="Aprende a preparar café y té en casa con métodos sencillos." />
<meta name="author" content="María López" />
<link rel="canonical" href="https://ejemplo.com/cafe-y-te" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="article" />
<meta property="og:title" content="Café &amp; Té: la guía &quot;definitiva&quot;" />
<meta property="og:description" content="Aprende a preparar café y té en casa con métodos sencillos." />
<meta property="og:url" content="https://ejemplo.com/cafe-y-te" />
<meta property="og:image" content="https://ejemplo.com/img/cafe.jpg" />

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Café &amp; Té: la guía &quot;definitiva&quot;" />
<meta name="twitter:description" content="Aprende a preparar café y té en casa con métodos sencillos." />
<meta name="twitter:image" content="https://ejemplo.com/img/cafe.jpg" />

Everything is generated in your browser. Values are escaped (< > & and quotes) so no text can break the HTML.

Share on WhatsApp Last reviewed: July 9, 2026

What meta tags are

Meta tags are invisible markers that sit inside the <head> of a page and tell Google, Facebook, and X (Twitter) what your content is about. The browser never draws them, but search engines and social networks read them to decide which title to show in results and which card to display when someone shares your link.

Writing them by hand is tedious and easy to break: a single stray quote in the title can cut an attribute in half. This generator takes your details from a form and produces the full block — classic SEO, Open Graph, and Twitter Card — with every character safely escaped, ready to copy and paste.

How to use the generator

  1. Type the title and description. The counters warn you when you go past the recommended limits.
  2. Add the canonical URL, the image for social cards, and the author (all optional).
  3. Pick the content type (og:type) and the Twitter card style.
  4. Copy the generated block and paste it inside the <head> of your HTML.

Everything happens in your browser: neither your text nor your URLs leave your device.

The three layers of tags

The block combines three families that serve different jobs. Keep them consistent with each other (same title, same description) so you never confuse the crawlers.

LayerKey tagsWho reads it
Core SEOtitle, meta description, link canonicalGoogle, Bing
Open Graphog:title, og:description, og:image, og:url, og:typeFacebook, WhatsApp, LinkedIn
Twitter Cardtwitter:card, twitter:title, twitter:description, twitter:imageX (Twitter)
  • Title: up to 60 characters. Google trims results around that point, so a longer title shows up with an ellipsis.
  • Description: up to 160 characters. It is the grey text under the link in the results; anything longer gets truncated by the search engine.

These are guidelines, not laws: a 62-character title is not a penalty, but you risk losing the important part to a cut.

Worked example

Imagine a blog post with these details:

  • Title: Coffee & Tea: the "ultimate" guide (34 characters)
  • Description: Learn to brew coffee and tea at home with simple methods. (57 characters)
  • URL: https://example.com/coffee-and-tea
  • Image: https://example.com/img/coffee.jpg
  • Author: Maria Lopez, type article, large-image card

Notice the title contains an & and a pair of double quotes. The generator turns them into &amp; and &quot; so they never break the HTML. The resulting block is:

<title>Coffee &amp; Tea: the &quot;ultimate&quot; guide</title>
<meta name="description" content="Learn to brew coffee and tea at home with simple methods." />
<meta name="author" content="Maria Lopez" />
<link rel="canonical" href="https://example.com/coffee-and-tea" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="article" />
<meta property="og:title" content="Coffee &amp; Tea: the &quot;ultimate&quot; guide" />
<meta property="og:description" content="Learn to brew coffee and tea at home with simple methods." />
<meta property="og:url" content="https://example.com/coffee-and-tea" />
<meta property="og:image" content="https://example.com/img/coffee.jpg" />

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Coffee &amp; Tea: the &quot;ultimate&quot; guide" />
<meta name="twitter:description" content="Learn to brew coffee and tea at home with simple methods." />
<meta name="twitter:image" content="https://example.com/img/coffee.jpg" />

Paste that block as-is into your <head> and the page is ready for search engines and social networks.

Frequently asked questions

Why are the quotes and the & sign escaped?

Because the values live inside attributes wrapped in double quotes. If your title has an unescaped double quote, the browser thinks the attribute ends there and misreads the rest. Turning " into &quot;, & into &amp;, and the < > signs into &lt; &gt; guarantees the text is read as text, not as code.

Do I really need Open Graph and Twitter tags?

If you care how your link looks when it is shared, yes. Without og:image or og:title, apps like WhatsApp and LinkedIn show a bare, image-less preview. Twitter can reuse the Open Graph tags, but declaring twitter:card gives you control over whether the card uses a large image or a compact summary.

What size should the og:image be?

The standard recommendation is 1200 × 630 pixels (a 1.91:1 ratio) for the large-image card. Use an absolute, publicly reachable URL; relative paths do not work because the networks fetch the image from their own servers.

What is the canonical tag for?

link rel="canonical" tells the search engine which URL is the official one when several versions of the same content exist (with query parameters, with or without a trailing slash, and so on). It stops Google from splitting relevance across duplicates and consolidates everything into a single address.

Should the tab title and og:title be identical?

They can be, and this tool keeps them the same by default for simplicity. Even so, some publishers prefer a catchier og:title for social and a more search-optimised title. If that is your case, edit the block by hand after copying it.

Related tools