HTML Meta Tag Generator
Generate common HTML meta tags.
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
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 & More</title> <meta name="description" content="A "quoted" description" />
- Walkthrough
- The ampersand and quote marks are converted to & and ".
Limitations
- Title and description only.
- Does not check length; use the length checkers.
- A title is required.
Questions
What meta tags does it create?
Does it add Open Graph tags?
Why was & changed to &?
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 YouTubeHow to avoid duplicate content
Google Search Central
Canonical and uniqueness issues meta tools help you catch.
Watch on YouTube
- SEO Starter Guide
Google Search Central
Official starter guide for titles, snippets, and crawl basics.
- Collect campaign data with custom URLs
Google Analytics Help
UTM parameter guide for campaign URL builders.