How to use the mailto link generator
- Enter one or more addresses in To (comma-separated). Add CC and BCC addresses if you need them.
- Fill in Subject and Body. Leave either empty to skip it.
- Change Link text to the words people will click, such as “Email support”.
- The results update as you type: copy the Link for a button builder or QR code, or the HTML anchor for a web page. The Preview shows how the button looks.
What it does and when to use it
A mailto link opens a new email in the visitor’s mail app with the fields already filled in. It saves them typing and gives you subject lines that are easy to filter. Typical uses: a “Report a problem” link on a help page, or a “Request a quote” button with the product name in the subject.
If you want people to text or call instead, use the SMS link generator or the click-to-call link generator. For a printed flyer, paste the finished link into the QR code generator.
How it works
The tool follows RFC 6068, the mailto standard. Addresses are split on commas, semicolons and spaces and joined with commas; the @ sign is left readable. CC and BCC become cc= and bcc= parameters, and the subject and body are percent-encoded with the browser’s encodeURIComponent, so a space becomes %20, a comma %2C and an em dash %E2%80%94. Line breaks in the body are normalised to %0D%0A.
Each address in To is checked against a simple pattern (something@domain.ending). Anything that fails is listed in a warning, but the link is still built. The HTML version writes the & between parameters as &, as HTML attributes require.
Worked examples
Default support link. With the preset fields the tool produces:
mailto:support@example.com?subject=Order%20%231042%20%E2%80%94%20question&body=Hello%2C%0D%0A%0D%0AI%20have%20a%20question%20about%20my%20order.
The # in “Order #1042” became %231042. Left raw, a mail app would treat everything after it as a page fragment and drop it.
Two sales addresses with a hidden archive copy. To sales@acme.example; ops@acme.example, BCC archive@acme.example, subject “Quote request: 50 chairs & 5 tables”, empty body:
mailto:sales@acme.example,ops@acme.example?bcc=archive@acme.example&subject=Quote%20request%3A%2050%20chairs%20%26%205%20tables
The semicolon became a comma, and the & in the subject became %26 so it is not read as a new parameter.
A typo. To hello@shop gives the warning Check these addresses: hello@shop, because the address has no domain ending.
Limits and tips
- Only the To field is checked for typos; check CC and BCC yourself.
- Every address in the link is visible in your page source, where spam bots can collect it. Consider a contact form for high-traffic pages.
- Keep pre-filled bodies short, and test the link on a phone and a computer before you publish it.
- The vCard generator is a better choice when you want people to save all your contact details, not just send one email.
Frequently asked questions
Why not just type the mailto link by hand?
How do I add line breaks to the body?
Can I send to more than one person?
Will the BCC stay hidden?
Why does nothing happen when someone clicks my link?
Sources
- RFC 6068: The 'mailto' URI Scheme — RFC Editor, accessed 2026-10-08
How do we know nothing is uploaded? Test it yourself on the privacy proof page.