Faraz Siyal - Web Developer & Designer
Back to All Free Tools
WhatsApp Click-to-Chat Utility100% Free to Use

Free WhatsApp Chat Link Generator & HTML Button Code

Generate official https://wa.me/ click-to-chat links (both direct and with a pre-filled greeting message), customize your button color, and copy self-contained inline HTML & CSS code with an embedded SVG WhatsApp icon for your website.

Direct & Pre-Filled LinksInline HTML + CSS + SVG CodeNo Database or API — Instant & Private

1. Enter Number & Message

Official wa.me format • No data stored

Include country code (e.g. 15551234567 for US or 923138669360 for PK). Spaces, +, and dashes are removed automatically.

Formatted number: 15551234567

63 / 250
This message automatically appears in your visitor’s WhatsApp chat box when they click your link.
Quick Message Templates:

2. Customize HTML Button Design

Button Background Color (Default: WhatsApp Green)
#25D366
#ffffff
Button Corner Shape

Generated WhatsApp Click-to-Chat Links

Works on mobile apps & WhatsApp Web (wa.me official format)

Ready to Copy
1. Click-to-Chat Link (Direct Number Only)Best for quick icons & minimal links
https://wa.me/15551234567
Test Link
2. Click-to-Chat Link with a Pre-Filled MessageRecommended for Higher Replies
https://wa.me/15551234567?text=Hi!%20I%20visited%20your%20website%20and%20would%20like%20to%20discuss%20a%20project.
Test Link

Embeddable HTML & CSS Button Code (with Inline SVG Icon)

Zero external libraries — paste directly into WordPress, Shopify, Wix, Squarespace, or HTML

Live Button PreviewChat on WhatsApp
Inline HTML + CSS Code (Self-Contained with SVG Icon)
<!-- WhatsApp Click-to-Chat Button (Inline HTML + CSS + SVG) from farazsiyal.com -->
<a href="https://wa.me/15551234567?text=Hi!%20I%20visited%20your%20website%20and%20would%20like%20to%20discuss%20a%20project." target="_blank" rel="noopener noreferrer" style="display:inline-flex;align-items:center;gap:10px;background-color:#25D366;color:#ffffff;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:700;line-height:1;text-decoration:none;padding:14px 24px;border-radius:9999px;box-shadow:0 4px 12px rgba(0,0,0,0.12);transition:opacity 0.2s ease;" onmouseover="this.style.opacity='0.92'" onmouseout="this.style.opacity='1'">
  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" style="flex-shrink:0;">
    <path d="M12.031 2C6.508 2 2.023 6.485 2.023 12.008c0 1.766.461 3.491 1.337 5.013L2 22l5.122-1.343a9.972 9.972 0 0 0 4.909 1.292h.004c5.522 0 10.007-4.485 10.007-10.008C22.042 6.485 17.554 2 12.031 2zm5.822 14.129c-.247.695-1.438 1.328-2.011 1.414-.533.08-1.208.114-1.95-.122-.45-.143-1.028-.335-1.768-.654-3.112-1.344-5.144-4.477-5.3-4.685-.155-.207-1.265-1.683-1.265-3.211 0-1.528.8-2.279 1.084-2.59.284-.311.62-.389.826-.389.207 0 .413.002.594.011.191.009.446-.072.697.533.258.621.878 2.144.955 2.3.077.155.129.337.026.544-.103.207-.155.337-.31.518-.155.181-.326.404-.465.544-.155.155-.316.323-.136.634.181.311.803 1.325 1.724 2.146 1.185 1.056 2.183 1.383 2.493 1.539.31.155.491.13.672-.078.181-.207.775-.906.981-1.217.207-.311.413-.259.697-.155.284.103 1.808.853 2.118 1.008.31.155.516.233.594.363.077.129.077.751-.17 1.446z"/>
  </svg>
  <span>Chat on WhatsApp</span>
</a>
How to Use & FAQ

Frequently Asked Questions About WhatsApp Click-to-Chat Links

How does a WhatsApp Click-to-Chat (wa.me) link work?

WhatsApp’s official click-to-chat feature lets visitors start a conversation with your business number immediately without saving your phone number in their contacts first. Clicking the https://wa.me/ link opens WhatsApp on mobile phones or WhatsApp Web on desktop computers.

How should I format my phone number in the WhatsApp link generator?

Enter your full phone number in international format with your country code (for example, 15551234567 for a US number or 923138669360 for a Pakistan number). Our tool automatically removes any plus signs (+), dashes (-), brackets, spaces, or leading zeroes to match WhatsApp’s official wa.me format.

Why does the HTML & CSS button code use an inline SVG WhatsApp icon?

Using an inline SVG icon means the WhatsApp logo is built directly into the HTML snippet. When you copy and paste the button code into WordPress, Shopify, Wix, Squarespace, or any custom HTML website, the icon displays immediately without loading external icon libraries like Font Awesome.

Is this WhatsApp Chat Link Generator 100% free and private?

Yes! This tool runs 100% inside your web browser. It is completely free to use, requires no registration, and never stores or sends your phone number or message to any database or external server.

WhatsApp