Utilia

Mailto Link Generator

Create a mailto link with recipients, CC, BCC, subject and message body, correctly percent-encoded, plus a ready-to-paste HTML link.

Opens your default email app with the fields filled in. Nothing is sent.

Checks

How to use the mailto link generator

  1. Type one or more addresses in To. Separate several addresses with commas or new lines.
  2. Optionally fill in Cc and Bcc, a Subject and a Message body. Line breaks in the body are kept.
  3. Set the Link text, the words visitors will click. If you leave it empty, the first address is used.
  4. Copy the Mailto link to use it anywhere a URL is accepted (a button builder, a newsletter, a QR code), or copy the HTML link to paste into a web page.
  5. Click Test the link to open your own email app with everything filled in. Nothing is sent until you press send yourself.

Load example fills the form with a sample support request, and Clear empties every field. Everything runs in your browser.

How a mailto link is built

The mailto: scheme is defined by RFC 6068. The recipients come right after the colon, separated by commas, and the other fields follow as query parameters:

mailto:support@example.com?cc=sales@example.com&subject=Order%20question&body=Hello%2C%0D%0A...

Because the whole thing is a URL, every value must be percent-encoded. This tool applies the rules the RFC actually requires:

  • Spaces become %20, never +. A plus sign only means “space” in HTML form submissions. In a mailto link, many email clients show a literal +, so Order+question would arrive as “Order+question”. A real + in your text is encoded as %2B.
  • Line breaks become %0D%0A (carriage return plus line feed), whatever line ending your system uses, which is the form RFC 6068 asks for in the body.
  • Reserved characters such as &, =, ?, # and % are encoded, so a subject like “Q&A” doesn’t split into a second parameter.
  • Accented and non-Latin letters are encoded as UTF-8, for example é becomes %C3%A9.
  • The @ of each address stays readable, as the standard allows.

In the HTML output, the link is also escaped for the href attribute, and the link text is escaped as HTML, so quotes or angle brackets in your subject can’t break the page.

Checks performed

The Checks list flags addresses that don’t look valid, addresses listed twice across To, Cc and Bcc, and addresses with accented characters, which many clients refuse in links. Display names such as Jane <jane@example.com> aren’t allowed in a mailto link, so only the address between the angle brackets is kept. You are also warned when a link has a subject or body but no recipient, and when it goes past about 2,000 characters, the point where some browsers and email apps start to cut it.

Limits worth knowing

A mailto link depends on the visitor’s device. It opens whatever email app is set as the default, and on a computer without one (common with webmail users), clicking may do nothing or open an app they never use. It’s a good idea to show the address as visible text too, or to offer a contact form. Attachments can’t be added through a mailto link, and HTML formatting in the body isn’t supported: the body is plain text.

Frequently asked questions

Why are spaces encoded as %20 and not +?

RFC 6068 treats the mailto query as a plain URI, where + is an ordinary character. Only HTML forms use + for spaces. Encoding spaces as %20 is the only form that every email client reads the same way.

Can I add several recipients?

Yes. Enter several addresses in To, Cc or Bcc, separated by commas, semicolons or new lines. The tool joins them with commas, the separator the standard defines. Some old versions of Outlook expected semicolons, but current clients accept commas.

Is Bcc hidden from the person who clicks?

No. Bcc hides addresses from the other recipients of the email, not from your visitor. Anyone can read the full link in the page source, so don’t put an address in Bcc that you want to keep private.

Will spammers harvest the address?

Addresses in mailto links are visible in the page source, and scraping bots do collect them. If spam is a concern, a contact form is safer than a mailto link.

Why does the link do nothing on my computer?

Your browser has no default email app configured. Set one in your operating system settings, or tell your browser to use your webmail for mailto: links. The link itself is fine.