Skip to content
Free Tool Arena

Developer Utilities · Free tool

Social Share Buttons Generator

Vanilla HTML share buttons for X, Facebook, LinkedIn, Reddit, WhatsApp. No third-party SDK required.

Updated May 2026

Preview

X F L R
<div style="display:flex;gap:0.5rem;flex-wrap:wrap">
  <a href="https://twitter.com/intent/tweet?url=https%3A%2F%2Fexample.com%2Fpost&text=Check%20out%20this%20post" target="_blank" rel="noopener" aria-label="Share on X (Twitter)" style="display:inline-grid;place-items:center;width:40px;height:40px;border-radius:40px;background:#000000;color:#fff;text-decoration:none;font-family:system-ui,sans-serif;font-weight:700;font-size:16px">X</a>
  <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fexample.com%2Fpost" target="_blank" rel="noopener" aria-label="Share on Facebook" style="display:inline-grid;place-items:center;width:40px;height:40px;border-radius:40px;background:#1877F2;color:#fff;text-decoration:none;font-family:system-ui,sans-serif;font-weight:700;font-size:16px">F</a>
  <a href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fexample.com%2Fpost" target="_blank" rel="noopener" aria-label="Share on LinkedIn" style="display:inline-grid;place-items:center;width:40px;height:40px;border-radius:40px;background:#0A66C2;color:#fff;text-decoration:none;font-family:system-ui,sans-serif;font-weight:700;font-size:16px">L</a>
  <a href="https://reddit.com/submit?url=https%3A%2F%2Fexample.com%2Fpost&title=Check%20out%20this%20post" target="_blank" rel="noopener" aria-label="Share on Reddit" style="display:inline-grid;place-items:center;width:40px;height:40px;border-radius:40px;background:#FF4500;color:#fff;text-decoration:none;font-family:system-ui,sans-serif;font-weight:700;font-size:16px">R</a>
</div>

Uses official platform share URLs — no third-party tracking, no Facebook SDK, no cookies set. Simple <a> tags that open the platform’s share dialog. Brand letters used as icons; replace with SVG icons (Heroicons / Tabler / Bootstrap Icons) for a richer look.

Found this useful?Email

Advertisement

What it does

Generate vanilla HTML share buttons for X, Facebook, LinkedIn, Reddit, WhatsApp, Email. Uses official platform share URLs — no SDK, no cookies, no tracking.

Embed this tool on your siteShow snippet

Paste this snippet into any page. Loads on-demand (lazy), no tracking scripts, and sized to most dashboards. Replace the height to fit your layout.

<iframe src="https://freetoolarena.com/embed/social-share-buttons-generator" width="100%" height="720" frameborder="0" loading="lazy" title="Social Share Buttons Generator" style="border:1px solid #e2e8f0;border-radius:12px;max-width:720px;"></iframe>
Embed docs →

How to use it

  1. Set page URL and share text.
  2. Tick which platforms to include.
  3. Adjust button size.
  4. Copy the HTML.

Frequently asked questions

Why don't I need a Facebook SDK?
These are simple <a> tags pointing at each platform's share dialog URL. No SDK = no Facebook pixel, no third-party cookies, no consent banner concerns. Tradeoff: no share-count display.

Advertisement

Learn more

Explore more developer utilities tools

100% in-browserNo downloadsNo sign-upMalware-freeHow we keep this safe →