How to use it
- Fill in the fields you have. Only the tags for fields you fill in are written, so you will not get empty tags.
- Use the full web address (starting with
https://) for the canonical URL and the image, and a short, accurate description written for people. - Tick any robots directives you need. Leave them all off when the page should be indexed and its links followed, which is the default behaviour.
- Press Copy and paste the result inside the
<head>of your page. Check the preview to see roughly how a shared link may look.
What the tags do
The <title> and description meta tag describe the page for search results and browser tabs. The canonical link names the address you prefer for the page, which helps when the same content is reachable at several addresses. The robots meta tag gives crawlers instructions for this page, such as noindex to ask that it is kept out of search results.
Open Graph tags (og:title, og:description, og:image and others) were created for social networks, and many chat and social apps read them to build a card when a link is shared. Twitter / X cards use their own twitter: tags and can fall back on Open Graph. The generator reuses your title, description and image for both. Platforms decide how they use these tags, so check a real share if the look matters.
Escaping
Values are placed inside HTML attributes, so the characters &, <, >, " and ' are written as HTML entities. A title such as Tom & Jerry's "Best" Guide becomes Tom & Jerry's "Best" Guide in the attribute, which a browser reads back as the original text.
Related guides
- Dofollow vs. Nofollow Links: How They Impact SEO
- What Is Internal Linking? Benefits & Step-by-Step SEO Guide
More SEO and marketing tools: search snippet preview, robots.txt generator and schema markup generator. For help with SEO and content, see our marketing expertise.
Frequently asked questions
No. The tags are built by your browser’s own JavaScript. Nothing is sent to CodeROG or anyone else, and the image address is not fetched for the preview.
They are mainly for how a link looks when it is shared in social and messaging apps, not a ranking factor you can count on. They are still worth having because a clear card tends to be easier to recognise and click.
It tells search engines which address you consider the main one for a page. It is a hint rather than a command, so search engines may choose a different address. Use the exact, absolute address, and make it match the page’s own address unless you are deliberately pointing to a duplicate’s original.
It asks search engines not to show the page once they next crawl it, so it can take a while, and the page must stay crawlable (not blocked in robots.txt) for the tag to be seen. It is not a way to protect private content.
Requirements differ by platform and change over time. A widely used choice is a landscape image of about 1200 by 630 pixels, which works for the large card on most networks. Check the current documentation of the networks you care about.