Skip to content
Free tool · runs in your browser

Meta tag & Open Graph generator

When you paste a link into WhatsApp, Slack, iMessage or LinkedIn, the preview card comes from a handful of tags in your page's <head>. Write them here, see the preview, paste them in.

Chat / social preview
No image
Google result

Which tags control a link preview

Chat apps and social networks fetch your page when someone pastes the link, read a few tags from the <head>, and build a card. Get them right and your link looks like a finished product; leave them out and it shows a bare URL or random text from the page.

TagUsed byBest length
<title>Browser tab, Google, fallback for everythingUnder 60 characters
meta descriptionGoogle snippet, fallback textUnder 155 characters
og:title, og:descriptionWhatsApp, Facebook, LinkedIn, Slack, iMessage, DiscordSame as above
og:imageThe big picture on the card1200×630 px, under 5 MB, absolute https URL
twitter:cardX (Twitter) layoutsummary_large_image when you have an image

Previews on an HTMLtoLink page

Published pages are served with a noindex header, so they will not appear in Google — but link previews still work, because chat apps do not care about search indexing. Put these tags in your HTML before publishing, and every person you send the link to sees a proper card. The og:image must be an absolute URL: if your image is part of a ZIP upload, use https://your-name.htmltolink.dev/cover.png.

Why the preview did not update

Platforms cache previews, sometimes for days. Facebook's Sharing Debugger and LinkedIn's Post Inspector can force a refresh; for WhatsApp and Slack, adding a harmless query string such as ?v=2 makes the link look new.

Related guides

Frequently asked questions

Do I need both Open Graph and Twitter tags?

X reads Open Graph tags as a fallback, so Open Graph alone works in most places. Adding twitter:card makes X use the large-image layout.

Why is my og:image not showing?

Usually it is a relative path (it must be a full https URL), too large, or behind a password. Password-protected HTMLtoLink pages cannot show a preview image because the app fetching it does not know the password.

Will these tags make my HTMLtoLink page rank on Google?

No — published pages are noindex by design so private links stay private. Use the tags for good-looking previews in chats and social posts.

More free tools

Your HTML deserves a real link

Paste code, drop a file, a ZIP or a whole folder — get a live URL with your own address, an optional password and a QR code. Free to start with Google sign-in; paid plans keep links online for good.

Turn HTML into a link