Skip to content
ZeroServer.tools

HTML Mailto Link Generator

Build a mailto: link with To, CC, BCC, Subject, and Body pre-filled — copy the URI, anchor tag, or button.

mailto: URI
mailto:hello%40example.com?subject=Hello%20from%20your%20website
HTML anchor tag
<a href="mailto:hello%40example.com?subject=Hello%20from%20your%20website">Email us</a>
Button with onclick
<button onclick="window.location.href='mailto:hello%40example.com?subject=Hello%20from%20your%20website'">Email us</button>

Preview

Email us

How mailto: links work

A mailto:link opens the visitor's default email client with the fields pre-populated. Special characters in the subject and body must be percent-encoded — this generator handles that automatically. You can specify multiple recipients by separating addresses with commas. Note that some webmail clients and spam filters may ignore BCC values embedded in mailto links.

For a contact form that sends email via SMTP without requiring a client app, pair this with a server-side form handler. To encode other data, see the URL Encoder.

Private & free — this tool runs entirely in your browser.

Recommended: Namecheap Register a domain for your next project — from $1.98/yr.affiliate

Related Web & SEO tools