How to use it
- Paste the full address of the page you want shared.
- Add a short text or title and, optionally, hashtags.
- Copy the link for each network and use it in a button or a plain link on your site.
How it works
Each link is the network’s public share address with your values percent-encoded (spaces become %20, & becomes %26):
- X:
twitter.com/intent/tweetwith url, text and hashtags. - Facebook:
facebook.com/sharer/sharer.php?u=…; LinkedIn:linkedin.com/sharing/share-offsite/?url=…. - Reddit:
reddit.com/submitwith url and title; Hacker News:news.ycombinator.com/submitlinkwith u and t. - WhatsApp (
wa.me) and Bluesky (bsky.app/intent/compose) take one text: your text, hashtags and URL together. - Telegram:
t.me/share/urlwith url and text; Pinterest:pinterest.com/pin/create/button/with url and description. - Email:
mailto:with the text as the subject and the text plus the URL as the body.
Empty values are left out of the links.
Worked example
URL https://example.com/blog/spring-guide, text “A practical guide to spring gardening”, hashtags “gardening, spring”. The Facebook link becomes:
https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fblog%2Fspring-guide
and the X link carries &hashtags=gardening%2Cspring.
Tips
- Open links in a new tab with
target="_blank" rel="noopener"so readers stay on your page. - Test each link once: networks change their share pages from time to time.
- Keep the text short; some networks cut long text.