🔗 Mailto Link Generator

Build a mailto: link with a pre-filled subject, body, CC and BCC — handy for "Contact us" buttons and email templates.

How the link is assembled

The generator runs in your browser and sends nothing anywhere - no DNS lookup, no check that the address exists. It percent-encodes every field, then appends the non-empty ones as query parameters in the order cc, bcc, subject, body:

mailto:hello%40example.com?subject=Question%20about%20your%20service
&body=Hi%20there%2C%0A%0AI%27d%20like%20to%20ask%20about...

The encoding is what makes it work: a raw space or line break in an href breaks the link. %20 is a space, %0A a newline, %40 the @ sign. The tool also prints a ready <a href="...">Email Us</a> snippet, and the To box is the only one that must be filled.

What mail clients do with it

A mailto link only opens the visitor's default mail application. If they read mail in a browser tab with no handler registered, clicking does nothing - which is why a plain visible address next to the button is worth keeping.

Frequently asked questions

How do I add a subject line to a mailto link?

Put ?subject= after the address, with spaces written as %20. Every later parameter is joined with &, so a subject and body read ?subject=Hello&body=Hi%20there.

How do I put a line break in the body?

Use %0A. Two of them give a blank line between paragraphs. Typing a real Enter into the body box here produces exactly that in the generated link.

Will a mailto link get my address scraped by spammers?

It can. The address sits in plain text in your page source, and harvesters read that. A contact form avoids it; obfuscation tricks mostly do not, since scrapers run the same JavaScript your visitors do.