Meta Tag Previewer
Paste a page's HTML and get a meta tag preview for Google, Facebook, X, LinkedIn and Slack or Discord. Title, description, Open Graph and Twitter Card tags are checked for length, missing values and broken image URLs.
Open the page, press Ctrl+U (⌘+Option+U on Mac) to view its source, then copy and paste it here. The HTML is read in your browser and its scripts never run.
Used to resolve relative links, and as the address in the previews when the HTML has no canonical link or og:url.
Values typed here replace the tags from the HTML in every preview, so you can test changes before editing the page.
Previews show how each platform usually lays out a link. Exact designs change over time and differ between the app, the website and screen sizes. Images are loaded by your browser from their own servers.
| Tag | Value | Length |
|---|
The tag set uses the values above, with fallbacks filled in. To write new tags from scratch, use the meta tag generator.
See Your Link Before You Share It
A link shared without the right tags turns into a bare URL, a cropped image or a title cut off halfway. Paste a page's source code and this previewer reads its title, meta description, canonical link, Open Graph and Twitter Card tags, then shows how the link is likely to look in Google results and in social feeds and chat apps.
An audit lists what is missing or likely to be truncated, and a ready-made tag block fills the gaps. The previewer works from the HTML you paste, because a web page cannot download other sites for security reasons. Nothing is uploaded.
How to preview your meta tags
- Get the HTML. Open the page and press
Ctrl+U(⌘+Option+Uon a Mac) or putview-source:in front of the address. Select all and copy. Copying just the<head>from your template or CMS also works. - Paste it into the box. Add the page URL if the HTML uses relative links or has no canonical URL.
- Read the audit. Errors are things that break previews, such as a missing or relative
og:image; warnings are likely truncation or missing fallbacks; tips are optional improvements. - Try new wording in the override fields and watch every preview update, then copy the suggested tags into your page.
Why paste HTML instead of a URL?
Browsers block a web page from reading other websites unless those sites allow it (the same-origin policy and CORS). Online previewers that accept a URL run a server that downloads the page for you. This tool has no server: it parses the HTML you paste with the browser's DOMParser, which creates an inert document in which scripts never run.
Pasting the source is also what the platforms see. The crawlers of Facebook, LinkedIn, X, Slack and Discord read the raw HTML and generally do not run JavaScript, so tags added in the browser by a client-side framework are often invisible to them. If your tags only appear in the DevTools Elements panel and not in the page source, render them on the server. Google does render JavaScript, but tags in the initial HTML are the most reliable.
Which tags each platform reads
| Platform | Title | Description | Image | Notes |
|---|---|---|---|---|
| Google Search | <title> | meta name="description" | Not from meta tags | May rewrite titles and snippets; uses the canonical URL. |
og:title | og:description | og:image | Falls back to the title tag; caches results until you re-scrape. | |
og:title | og:description | og:image | Usually shows title, image and domain. | |
| X (Twitter) | twitter:title, then og:title | twitter:description, then og:description | twitter:image, then og:image | twitter:card chooses a small or large card. |
| Slack, Discord | og:title | og:description | og:image | Show og:site_name; Discord uses theme-color for the side bar. |
Length and image guidelines
- Title: Google cuts titles by pixel width, not by a fixed number of characters. Desktop results show roughly 600 pixels, about 50 to 60 characters depending on letter widths. The audit measures your title in the 20 px Arial that Google uses, so the estimate is closer than a character count.
- Description: Snippets are usually trimmed to around 150 to 160 characters on desktop and fewer on mobile. Google often writes its own snippet when the page text matches the search better.
- Open Graph image: Facebook recommends 1200 × 630 pixels (a 1.91:1 ratio). Keep important text away from the edges, because platforms crop differently.
- X images:
summary_large_imageuses a 2:1 image of at least 300 × 157 pixels;summaryuses a square image of at least 144 × 144 pixels. Images must be under 5 MB. - Absolute URLs: write
og:image,og:urland the canonical link as fullhttps://addresses.
Tips for better link previews
- Clear the cache after changes. Facebook and LinkedIn cache previews; use the Facebook Sharing Debugger or LinkedIn Post Inspector to fetch the page again.
- One page, one set of tags. Duplicate titles, descriptions or canonical links from a theme and a plugin confuse crawlers. The tags table shows what was found.
- Write for people. The title and description are your ad in search results and feeds: say what the page offers and why to click.
- Starting from nothing? The meta tag generator writes a full tag set, the favicon generator creates the site icons, and the image resizer and crop image tools turn a photo into a 1200 × 630 share image. Clean up messy markup first with the HTML formatter, and check share URLs with the URL parser.
Frequently Asked Questions
Common questions about meta tags and link previews.
Copy the page source (Ctrl+U in most browsers) and paste it above. The previewer reads the og: tags and shows Facebook, LinkedIn, X and Slack-style cards, plus a Google result.
Browsers do not let one website download another without permission, and this tool has no server to fetch pages for you. Pasting the HTML keeps everything in your browser.
The meta tag generator writes new tags from a form. This previewer checks the tags a page already has, shows how they look and lists what to fix.
Google truncates titles by width, at roughly 600 pixels on desktop. That is usually 50 to 60 characters. Put the most important words first.
Facebook caches previews. If the og:image is correct in the page source, ask Facebook to re-scrape the URL in its Sharing Debugger. Also make sure the image URL is absolute and publicly reachable.
X falls back to og:title, og:description and og:image, but you still need twitter:card to choose the card type. One twitter:card tag is usually enough.
If the tags are added by JavaScript in the browser, they are not in the page source, and most social crawlers do not run JavaScript. Render them on the server or at build time.
Neither. It is parsed into an inert document in your browser, scripts in it never run, and the values are shown as plain text. Only preview images are loaded, directly from their own URLs.