Mailto Link Generator

This mailto link generator turns recipients, a subject and a message into a correctly encoded mailto: URL and a ready HTML link.

Mailto link
Runs locally in your browser

About the Mailto Link Generator

A mailto: link opens the visitor's email app with the recipient, subject and message already filled in. The part that goes wrong by hand is encoding. RFC 6068 wants spaces written as %20 (a plus sign stays a literal plus), line breaks as %0D%0A, and every non-ASCII character as UTF-8 percent escapes. This generator does that for you, keeps the @ readable in the address list, and separates several addresses with commas.

Each address in To, CC and BCC is checked before the link is built, and a bad one is named in the message with the reason, such as a missing dot in the domain. An address pasted as Jane Doe <[email protected]> is reduced to the address, and a domain with accents is converted to its ASCII form. Below the link you see exactly what an email client will decode from it: the recipients, the subject and the message with its line breaks. The HTML snippet escapes the ampersands between parameters as &amp;, which is what a valid attribute needs.

Limits worth knowing: browsers and mail apps cut very long links, so the tool warns above about 2,000 characters. A BCC address in the link is visible in the page source, and a plain address on a public page can be harvested by spam bots. The Test button opens your own email app. To check a list of addresses first, use the Email Validator; to link a phone chat instead, the WhatsApp Link Generator works the same way, and the URL Encode tool shows the raw percent-encoding.

How to use

  1. Type one or more recipient addresses in To, separated by commas, and add CC or BCC if needed.
  2. Fill in the subject and the message body. Line breaks in the body are preserved.
  3. Read the decoded summary to confirm what the email app will show, then press Test link.
  4. Copy the mailto: URL, or copy the HTML link and paste it into your page.

Common questions

Why %20 and not + for spaces?
In a mailto: URL a + is a literal plus sign. Some mail apps show it as one, so spaces must be %20 as RFC 6068 requires. This tool never writes +.
How do I put a line break in the message?
Press Enter in the message box. Each line break becomes %0D%0A in the link, the sequence email clients expect.
Can I add an attachment?
No. The mailto: scheme has no attachment field, and mail apps ignore an attachment parameter for security reasons.
How long can the link be?
There is no fixed limit, but browsers and mail apps start cutting around 2,000 characters. The tool warns you above that.
Can I hide the address from spam bots?
Tick the option under the message box. The HTML link then writes every character as an HTML entity, which browsers show and follow normally but simple address harvesters do not read. It is not a guarantee, only a speed bump.
Does the link send the email?
No. It only opens a draft in the visitor's email app; they still press Send. Nothing you type here leaves your browser.