HTML Meta Tag Generator

Generate common HTML meta tags.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter a page title and description and press Generate. You get a title element and a meta description tag ready for the head of your page.

How to use

1
Step 1
Enter the title.
2
Step 2
Enter the description.
3
Step 3
Press Generate and paste the tags into the head of your page.

How it works

The title goes inside a title element and the description into a meta name=description tag. Ampersands, angle brackets and double quotes are escaped so the HTML stays valid. If you leave the description empty, only the title tag is produced. The tool does not output viewport, robots, canonical or Open Graph tags.

Worked example

A title with special characters

Input
Title: My Page & More, Description: A "quoted" description
Output
<title>My Page &amp; More</title> <meta name="description" content="A &quot;quoted&quot; description" />
Walkthrough
The ampersand and quote marks are converted to &amp; and &quot;.

Limitations

  • Title and description only.
  • Does not check length; use the length checkers.
  • A title is required.

Questions

What meta tags does it create?
A title tag and a description meta tag.
Does it add Open Graph tags?
No. It generates standard meta tags only, not Open Graph tags.
Why was & changed to &amp;?
It is the correct way to write an ampersand in HTML.

Features

  • Title and description tags
  • Safe escaping
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Google Search Console Training trailer

    Google Search Central

    Series overview for Search Console workflows.

    Watch on YouTube
  • How to avoid duplicate content

    Google Search Central

    Canonical and uniqueness issues meta tools help you catch.

    Watch on YouTube