Generate SEO-optimized meta tags for your website and social media.
Our free Meta Tag Generator creates all the HTML meta tags your website needs for better search engine rankings and rich social media previews. Fill in your page details and get a complete, copy-ready block of meta tags covering basic SEO, Open Graph, and Twitter Cards — all in one click.
Meta tags are snippets of HTML code placed in the <head> section of a web page. They don't appear visibly on the page itself, but they communicate critical information to search engines and social media platforms about what your page contains.
The title and description meta tags directly influence how your page appears in Google search results. A well-crafted title (50–60 characters) and description (150–160 characters) can significantly improve your click-through rate, even if your ranking stays the same. Open Graph tags control how your page looks when shared on Facebook, LinkedIn, and other platforms — including the image, title, and description shown in the link preview card.
Twitter Cards work similarly but are specific to Twitter/X. Without these tags, social platforms will either show a generic preview or pull random content from your page, which often looks unprofessional and reduces engagement.
Generating your meta tags takes just a few minutes. Follow these steps:
<head> of your HTML file.Your page title is the single most important meta tag for SEO. Include your primary keyword near the beginning of the title, and keep it under 60 characters to avoid truncation in search results. Avoid keyword stuffing — write for humans first, search engines second.
For Open Graph images, use a 1200×630 pixel image for the best display across all platforms. This is the recommended size for Facebook, LinkedIn, and Twitter large card previews. Make sure the image URL is absolute (starting with https://) and publicly accessible — social crawlers can't access images behind authentication.
Don't skip the canonical URL tag. If your content is accessible at multiple URLs (with and without trailing slashes, with query parameters, etc.), the canonical tag tells search engines which version is the "official" one, preventing duplicate content penalties.
This tool generates all three major categories of meta tags in a single workflow — basic SEO, Open Graph, and Twitter Cards — so you don't need to use multiple tools or remember the exact syntax for each tag type. The live previews show you exactly how your page will appear in Google search results and social media link cards before you publish.
The character counters update in real time, making it easy to stay within the optimal length limits. The generated code is clean, properly formatted, and ready to paste directly into your HTML without any editing.
Whether you're a developer building a new site, a marketer optimizing existing pages, or a blogger setting up your first post, this generator covers everything you need to make your content discoverable and shareable.
Your privacy is our priority. All processing happens entirely in your browser using JavaScript. No files, data, or inputs are ever uploaded to any server. Everything stays on your device, making this tool completely safe to use with sensitive content.