---
title: "Meta Tag Generator with a Google Result Preview | VulCode"
description: "Meta tags are snippets in a page's head that give Google and social networks the title, description and image. Preview the Google result and copy the code."
url: "https://vulcode.com/en/tools/meta-tag-generator"
lang: "en"
---

[Home](https://vulcode.com/en) [Resources](https://vulcode.com/en/resources) [Tools](https://vulcode.com/en/tools)

# Meta tag generator with a Google preview

Meta tags are snippets in a page's head that give Google and social networks the title, description and image. Preview the Google result and copy the code.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

Google result

Page title

Page description 155 characters

Canonical URL

Enter a full URL, for example https://yourdomain.com/pricing.

Link sharing

Open Graph tags Facebook, LinkedIn, Discord, Slack X (Twitter) tags the link card on X

Site name

Page type

Language and region

Image URL

Enter a full image URL with https://.

Image description

Card on X

Large image Thumbnail

X account

Up to 15 letters, digits or underscores.

Indexing

Search results

Show Hide

Links on the page

Follow Do not follow

Extra directives

Large image previews max-image-preview:large No description under the title nosnippet No images in Google Images noimageindex No translation offer notranslate

## Google preview

on desktop

- Title

- Description

Google publishes no fixed limit. Around 600 px for the title and 920 px for the description are the widths where a desktop result usually gets an ellipsis, so that is what the preview uses.

The title and description fit the result, and the URL and image are complete.

## Code for the head section

14 lines

```
<title>Meta Tag Generator with a Google Result Preview | VulCode</title>
<meta name="description" content="Meta tags are snippets in a page's head that give Google and social networks the title, description and image. Preview the Google result and copy the code.">
<link rel="canonical" href="https://vulcode.com/en/tools/meta-tag-generator">
<meta name="robots" content="index, follow">

<meta property="og:type" content="website">
<meta property="og:title" content="Meta Tag Generator with a Google Result Preview | VulCode">
<meta property="og:description" content="Meta tags are snippets in a page's head that give Google and social networks the title, description and image. Preview the Google result and copy the code.">
<meta property="og:url" content="https://vulcode.com/en/tools/meta-tag-generator">
<meta property="og:site_name" content="VulCode">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://vulcode.com/icon-512.png">
<meta property="og:image:alt" content="The VulCode mark">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image:alt" content="The VulCode mark">
```

X takes the title, description and image from the Open Graph tags, so the code does not repeat them.

Copy the code

## How to use it in four steps

Step by step, with this page's example.

- Type the title, the description and the full page URL. The Google preview changes with every character.

- Check the bars under the preview. The title should fit in about 600 px and the description in about 920 px.

- Add an image and a site name for sharing, and under Indexing decide whether the page should show up in Google.

- Copy the code and paste it into the head section of the page in place of old tags with the same names.

What you enter

This page's title, its description and the URL https://vulcode.com/en/tools/meta-tag-generator

What you get

```
<title>Meta Tag Generator with a Google Result Preview | VulCode</title>
<meta name="description" content="Meta tags are snippets in a page's head that give Google and social networks the title, description and image. Preview the Google result and copy the code.">
<link rel="canonical" href="https://vulcode.com/en/tools/meta-tag-generator">
<meta name="robots" content="index, follow">
```

These are the first four lines of the output. The og: tags and the X card follow.

## Questions

- **What are meta tags and what are they for?**: They are snippets in the head of a page that give Google and social networks the title, description, canonical URL and sharing image. They are not visible on the page, yet they decide how the Google result and the link card look.
- **How long should a meta description be?**: About 920 px on desktop, which is usually 140 to 160 characters. It matters more that the description sums the page up concretely, and the bar under the preview shows whether it fits.
- **How many characters can a page title have?**: Google counts width, not characters. On desktop a title usually gets an ellipsis at around 600 px, which is 50 to 60 characters. Narrow letters such as i or l take less room than W or M, so the tool measures pixels and shows the character count alongside.
- **Why does Google show a different description from mine?**: The meta description is a suggestion. Google shows a snippet of the page when it decides that fits the search better. A description that sums up this particular page in concrete words stays in the results more often than a general slogan repeated across the site.
- **What is the canonical tag for?**: It points Google to the main URL when the same content lives under several, for example with a ?utm parameter, or with and without a trailing slash. Use the full URL with https:// and the domain. Google treats canonical as a strong hint, not an order.
- **How are Open Graph tags different from X tags?**: Open Graph is read by Facebook, LinkedIn, Discord, Slack and most messengers. X has its own twitter: tags, but when they are missing it takes the title, description and image from Open Graph. So with both groups on, the tool adds only the card type, the account and the image description for X.
- **Does noindex remove a page from Google straight away?**: No. The page drops out of the results when Google's crawler visits it again and sees the tag. It must not be blocked in robots.txt, or the crawler never reads the tag. For a quick hide there is the Removals tool in Search Console, but it only works for a limited time.
- **Is anything sent to your server?**: No. The preview and the code are built in your browser, and the tool does not even fetch the image from the URL you give, so you can work on a page that is not public yet.

## Related tools

The tool sets the tags of one page. When they need fixing across a whole site, or planning from scratch, we do that in an SEO audit or a technical SEO job.

- ### [Favicon generator](https://vulcode.com/en/tools/favicon-generator)
  Turn one image into favicon.ico, PNG icons, a manifest and HTML tags.

- ### [Image converter to WebP and AVIF](https://vulcode.com/en/tools/image-converter-webp-avif)
  Resize and convert to WebP, AVIF, JPEG or PNG without uploading the files. AVIF saves only in a browser that supports it.

- ### [URL encoder and decoder online](https://vulcode.com/en/tools/url-encoder-decoder)
  encodeURIComponent, encodeURI and form encoding side by side, query parameters in a table and IDN domains in punycode.

- ### [CSP generator with a risk check](https://vulcode.com/en/tools/csp-generator)
  Build a Content-Security-Policy from a preset, see its risks and copy the header, a meta tag or an nginx line.

- ### [SEO audit](https://vulcode.com/en/services/seo-audit)
  When the titles, descriptions and canonicals need checking across the whole site at once, not page by page.

- ### [Technical SEO and speed](https://vulcode.com/en/services/technical-seo)
  When the tags should be built from each page's content automatically, along with hreflang and structured data.

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
