Logo

MonoCalc

/

Social Share Link Generator

Social Media
The link the share button should open. Only http and https addresses are turned into links.

Platforms

Five are ticked to start with. Change them to whatever your share bar needs — the selection is remembered in this browser.

What the share text says

Used as the post text, the submission title or the email subject, depending on the platform.
Longer body text. Line breaks and control characters are removed.
Commas or spaces, with or without the # — X takes a bare comma list, elsewhere they are added to the text.
A leading @ is removed. Only X sends this.
None of the platforms you ticked carry this, so it is left out.

Your share bar

Paste a link to start
Every link is assembled in your browser. The page you paste is parsed, never opened, and no platform is contacted until you click one of these buttons yourself.
X (Twitter)
Facebook
LinkedIn
WhatsApp
Email

What each platform carries

Sent means the value gets its own parameter. In text means the endpoint has no parameter for it, so it is folded into the message body. Not sent means this tool passes nothing, because the endpoint has nowhere to put it.

PlatformLinkTitleMessageHashtagsVia handleImage
X (Twitter)SentIn textSentSentSentNot sent
FacebookSentNot sentNot sentNot sentNot sentNot sent
LinkedInSentNot sentNot sentNot sentNot sentNot sent
WhatsAppIn textIn textSentIn textNot sentNot sent
EmailIn textSentSentNot sentNot sentNot sent
Endpoints are set by the platforms, not by this tool
Share-intent addresses and the parameters they accept change without notice, and a platform that quietly stops reading a parameter looks identical to one that never did. Clicking the buttons in the share bar is the check that settles it.

About This Tool

Social Share Link Generator – Building Share Buttons by Hand

A share intent is an ordinary URL that opens a platform's composer with some of the fields already filled in — for example https://twitter.com/intent/tweet?url=https%3A%2F%2Fexample.com&text=Hello. It is what sits in the href of a "Share this page" button. No SDK, no script and no account is involved, which is why share intents are the practical option in a newsletter, a README, a static site, an email footer or a link-in-bio page, where you cannot drop in a platform widget.

Where hand-written share links break

The first failure is encoding. Every value has to be percent-encoded, and the characters that matter most are the ones a title is full of: a raw & in a title ends that parameter and starts a new one, a # turns the rest into a fragment, and a ? or a space breaks the query string in less obvious ways. This tool pushes every value through the browser's own URL and URLSearchParams objects rather than joining strings together, so a title reading Tips & tricks: what now? survives intact.

The second is assuming every platform takes the same parameters. Several endpoints have no link parameter at all — WhatsApp and Mastodon take only a block of text — so the link has to be folded into the message body or it simply never appears. Others accept the link and nothing else. The capability grid in the tool marks each field as sent in its own parameter, folded into the text, or not sent, so you are not typing a description that every platform you picked will discard.

The third is treating a URL as finished once it is encoded. Percent- encoding makes a value safe inside a URL; it does nothing for the context that URL is pasted into. An & in an HTML attribute still has to become &, and a ) in a Markdown link target still closes the link early. Each output format here is escaped for its own destination.

Reading the URL anatomy

Every generated link is also shown broken into labelled chips: the base endpoint, then each parameter with its encoded value, with the pre-encoding value printed underneath. Seeing %3A%2F%2F line up with ://, or a whole second URL sitting inside one parameter, explains in one glance why a hand-built link was being rejected.

Why only http and https links are generated

An href runs whatever scheme it is handed, so a share-link builder that accepts anything is a way to publish a javascript: URL onto your own page. This tool parses the address you paste and accepts it only when the scheme is http: or https: — an allowlist, not a list of banned words, so odd spellings fail by default rather than by being recognised. Control characters are stripped from every text field, which is what keeps a newline out of a mailto: body. Until the address passes, the preview shows inert text instead of links, and every anchor that is generated carries target="_blank" and rel="noopener noreferrer".

Nothing here touches the network
The page you paste is parsed, never fetched. The tool does not read the target page's title or its Open Graph tags, and it contacts no platform — the only request is the one your browser makes when you click a share button yourself.

Which platforms are included

The endpoint table is data, not code, and it lists what each platform accepts today. Platforms whose endpoints could not be verified are left out rather than shipped as links that silently do nothing, and the same goes for parameters a platform has stopped reading: a share link that prefills nothing looks identical to one that was never supported, so the buttons in the share bar preview are live on purpose. Click one, see what the composer actually shows, then copy the format you need.

The ticked platforms are a starting point
The five platforms selected by default are there to save clicking, not because any set of them performs better than another. This tool measures nothing — it assembles and encodes links, and which platforms belong in your share bar is a decision about your own audience.

Frequently Asked Questions

Is the Social Share Link Generator free?

Yes, Social Share Link Generator is totally free :)

Can I use the Social Share Link Generator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Social Share Link Generator?

Yes, any data related to Social Share Link Generator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

How does the social share link generator work?

You paste the page you want shared and optionally add a title, a message, hashtags and a via handle. For each platform you tick, the tool assembles that platform's share-intent URL — the address a Share button points at — encoding every value with the browser's own URL and URLSearchParams APIs. The result is shown as a working share bar, a labelled breakdown of the URL, and copyable raw, HTML and Markdown forms. Nothing is sent anywhere: your page is parsed, never fetched, and no platform is contacted.

Why does my link have to start with http:// or https://?

Because the output of this tool is an href, and an href will run whatever scheme it is given. The generator accepts http: and https: and refuses everything else, including javascript:, data:, vbscript:, file:, blob: and about:. This is an allowlist rather than a list of banned words, so unusual spellings such as mixed case or a tab inside the scheme are refused too. If you paste an address with no scheme at all, the tool tells you and offers to add https:// as a button you press — it never changes your address silently.

Why is my message missing when the Facebook dialog opens?

Facebook's sharer endpoint takes the link and nothing else, so this tool sends only the u parameter and no prefilled text — emitting a text parameter that does nothing would be worse than sending none. The same is true of LinkedIn's share-offsite endpoint and LINE. The capability grid in the tool marks exactly which of your fields each platform carries, which fields get folded into the message body, and which are not sent at all.

Why does Mastodon ask for a server host?

Mastodon is a network of independent servers rather than one website, so there is no central address a share link can point at — the link has to name the server you are signed in to, such as mastodon.social. Enter the host on its own with no path; the tool validates it as a host name, always builds the link over https, and blocks only that one platform if the host is missing or malformed, leaving your other links working.

What is the difference between the raw, HTML and Markdown output?

They are the same link written for three different places. The raw URL goes in a button's href attribute or a link-in-bio field. The HTML form is a complete anchor tag with target=_blank and rel=noopener noreferrer already on it, escaped for markup so an ampersand becomes &. The Markdown form suits a README or a static-site post, with brackets and parentheses escaped so the link does not break. Percent-encoding alone is not enough for the last two, which is why each format is escaped separately.

Will these links still work next year?

Share-intent endpoints and the parameters they accept are decided by each platform and change without announcement, so a link that works today can quietly stop prefilling later. The endpoint table is kept in one file and reviewed on a schedule, and platforms whose endpoints could not be verified are left out rather than guessed at. Clicking the buttons in the share bar preview is the fastest way to confirm what a platform is actually doing with your values today.