Free Online Meta Tag Generator
Generate perfectly formatted HTML meta tags for your website in seconds. Set title, description, keywords, author, and robots directives — then copy the code.
What Are HTML Meta Tags?
HTML meta tags are snippets of code placed in the <head> section of a webpage. They provide metadata about the page to search engines, browsers, and social media platforms. While invisible to visitors, meta tags play a crucial role in SEO, controlling how your pages appear in search results and how crawlers interact with your site.
Why Meta Tags Matter for SEO
Well-crafted meta tags can significantly improve your click-through rate from search engine results pages. The title tag and meta description are the first things users see in search results. A compelling, keyword-rich description within the character limits can make the difference between a click and a scroll-past. Robots directives also help you control which pages get indexed.
Best Practices for Meta Tags
Keep your title tag under 60 characters and your meta description under 160 characters to prevent truncation in search results. Include your primary keyword naturally in both. Use a unique title and description for every page. Set the viewport meta tag for mobile responsiveness, and choose your robots directive carefully to avoid accidentally blocking important pages from indexing.
Frequently Asked Questions
What is the ideal length for a meta title?
The recommended length for a meta title is 50-60 characters. Google typically displays the first 50-60 characters of a title tag in search results. Anything longer may be truncated with an ellipsis.
What is the ideal length for a meta description?
Keep your meta description between 120-160 characters. Google may display up to 160 characters on desktop and around 120 on mobile. Make sure the most important information is within the first 120 characters.
Do meta keywords still matter for SEO?
Google has officially stated that it does not use the meta keywords tag as a ranking factor. However, some other search engines like Yandex may still consider them. Including them is optional and low-priority for SEO.
What does the robots meta tag do?
The robots meta tag tells search engine crawlers whether to index a page and whether to follow its links. 'index, follow' is the default. 'noindex' prevents a page from appearing in search results, and 'nofollow' tells crawlers not to follow links on that page.
Should every page have unique meta tags?
Yes. Every page on your website should have a unique title tag and meta description. Duplicate meta tags can confuse search engines and reduce click-through rates since users see the same description for multiple pages.