Meta Tag Generator

Updated July 2026

Fill in your page details to generate the SEO title, meta description, canonical link, Open Graph and Twitter Card tags — ready to paste into your HTML <head>. Live preview, character counts and one-click copy. Everything runs privately in your browser.

Meta tags describe your page to search engines and social networks. The title and description shape your search snippet, while Open Graph and Twitter Card tags control the social preview when your link is shared. Enter your details and copy the generated tags into your page's <head>.
0 characters · aim for ~50–60
The preferred absolute URL of this page.
0 characters · aim for ~150–160
Ignored by search engines — optional.
Absolute URL · ~1200×630 recommended.
Large image shows a bigger preview.

Nothing is sent anywhere — the tags are built locally in your browser, and your input is HTML-escaped so the output is safe to paste.

How meta tags and Open Graph work

Meta tags live in the <head> of your page and describe it to the software that reads it — browsers, search-engine crawlers and social-network scrapers. The two that matter most for SEO are the title and the meta description: together they form the clickable headline and summary that appear in a search result, so they are your pitch to someone deciding whether to visit. A canonical link tells search engines which URL is the authoritative version of a page, which avoids duplicate-content problems when the same content is reachable at several addresses.

Open Graph tags (the ones prefixed og:) and Twitter Card tags do the same job for social media. When your link is pasted into a post, the platform looks for og:title, og:description, og:image and og:url to build the preview card. Without them the platform guesses, often badly. This generator escapes every character that is special in HTML — &, <, >, " and ' — so a title containing, say, an ampersand produces valid markup rather than a broken tag.

Worked example: a title of Tips & Tricks becomes <title>Tips &amp; Tricks</title> in the output. The raw & is escaped to &amp; so the tag stays valid; a browser still displays it as Tips & Tricks.
TagWhat it controlsRecommended length
<title>Search-result headline & browser tab~50–60 characters
meta descriptionSearch-result summary snippet~150–160 characters
link rel=canonicalPreferred URL of the pageAbsolute URL
og:imageSocial preview image~1200×630 px
twitter:cardTwitter/X card stylesummary / large image

Reference note: the generated tags follow the HTML living standard, the Open Graph protocol and the Twitter Cards specification. Search engines treat the title and description as strong hints, not exact instructions, and may rewrite a snippet when it better matches the search query.

Frequently asked questions

What are meta tags?
Meta tags are HTML snippets in the page <head> that describe the page to browsers, search engines and social networks. The most important for SEO are the title and meta description, which can appear as the headline and summary in search results; the canonical link names the preferred URL of the page.
What is Open Graph?
Open Graph is a protocol, originally from Facebook, that uses og: meta tags to control how a page looks when shared. Tags like og:title, og:description, og:image and og:url define the headline, summary, image and link of the social preview card.
How long should a title and meta description be?
Aim for a title of about 50–60 characters and a description of about 150–160 characters. Search engines measure displayed pixel width, so these are guides; longer text is not penalised but is usually truncated with an ellipsis in the snippet.
Do meta keywords help SEO?
No. Google and the other major search engines have ignored the meta keywords tag for years because it was abused. This tool can output one if you want, but it will not improve ranking — invest in a strong title, description and content instead.
What image size should I use for og:image?
Use about 1200×630 pixels (a 1.91:1 ratio) for a large card, under roughly 5 MB, served from an absolute https URL that is publicly reachable so the network can fetch it when building the preview.
Where do I put these tags?
Paste them inside the <head> element, before the closing </head> and near your charset and viewport tags. They must be in the head, not the body, so crawlers and social scrapers read them before rendering the page.
⚡ Meta Tag Generator — by larely ↗

Related tools

HTTP Status Codes

Searchable reference of every HTTP status code and what it means.

Data Transfer Rate Converter

Convert between Mbps, MB/s, Gbps and more, with the bits-vs-bytes rule.

ASCII Table

Full ASCII table with decimal, hex, octal, binary and character lookup.

MIME Types

Look up the MIME type for any file extension.

Markdown Table Generator

Build a Markdown table with alignment and copy the syntax, in your browser.

HTTP Headers Reference

Searchable reference of common HTTP request and response headers.

HTML Symbols & Entities

Searchable reference of HTML symbols and entity codes to copy.

MD5 Hash Generator

Generate the MD5 hash of any text or file instantly in your browser.

File Checksum Calculator

Verify a file's SHA-256, SHA-1, MD5 or CRC32 checksum in your browser — no upload.

AES-256 Text Encryption

Encrypt and decrypt text with password-based AES-256-GCM, entirely client-side.

HMAC Generator & Verifier

Compute and verify HMAC-SHA256 and other HMAC signatures in your browser.

Test Data Generator

Generate fake mock data as CSV or JSON for testing.

Browse all 251 free tools →