Premium tools, free for everyone. Most run right in your browser.

OpenMultiURL

Mailto Link Generator

The Mailto Link Generator makes a link that opens a new email with the address, subject and message already filled in. It encodes spaces, line breaks and symbols the way the mailto standard asks, so the email arrives as you wrote it. It is for website owners, marketers and anyone adding an email button.

  • Free, no subscriptions
  • Runs in your browser
  • Checked by AK Shine
See how it works before you use your own.

Separate more than one address with commas.

Fill in at least one field to make a link.

HTML for a website or email signature

What is the Mailto Link Generator?

The Mailto Link Generator builds a mailto: link from the To, Cc and Bcc addresses, a subject and a message. It follows RFC 6068, the standard for mailto links: spaces become %20 rather than +, every line break becomes %0D%0A, and characters such as &, ?, # and , inside the subject or message are percent-encoded so they cannot break the link. Several addresses are joined with commas. Addresses that do not look right are flagged, the link length is shown, and you get a warning past about 2,000 characters, where some email apps cut links short. A test button opens the link in your own email app, and the HTML section gives a ready anchor tag, with & written correctly, for a website, a newsletter or an email signature.

Who it is for: Website owners adding a contact button, small businesses asking for quotes or orders, marketers, and people setting up an email signature.

How to use the Mailto Link Generator

  1. Type the address the email should go to; add Cc and Bcc if needed.
  2. Write the subject and the message you want already typed.
  3. Check the link and press Test in my email app.
  4. Copy the link, or add link text and copy the HTML.

Why use it

  • Encoded correctlySpaces as %20 and line breaks as %0D%0A, as RFC 6068 asks.
  • Subject and message readyPeople only need to press Send.
  • Cc and BccSeveral addresses in each, joined with commas.
  • HTML includedA ready link for your site or signature, tested in your email app.

At a glance

What you put in
To, Cc and Bcc addresses (several separated by commas), a subject, a message and optional link text
What you get
A mailto link, its length, warnings for addresses that look wrong, a test button, and an HTML anchor tag
Limits
The link opens the visitor's default email app, so it does nothing if they have none set up; very long messages (over about 2,000 characters in the link) can be cut short; attachments cannot be added to a mailto link
Privacy
Runs in your browser. Nothing you enter is uploaded or stored.
Price
Free for everyone. No subscriptions, no payments, no watermark.
Works offline
Yes, once the page has loaded
Last checked
by AK Shine

Worked example

Input
To orders@example.com, Cc ana@example.com, subject "Quote request", message "Hello," then a new line "Please send a quote for 20 chairs.", link text "Ask for a quote".
Result
mailto:orders@example.com?cc=ana@example.com&subject=Quote%20request&body=Hello%2C%0D%0APlease%20send%20a%20quote%20for%2020%20chairs. (134 characters). HTML: <a href="mailto:orders@example.com?cc=ana@example.com&subject=Quote%20request&body=Hello%2C%0D%0APlease%20send%20a%20quote%20for%2020%20chairs.">Ask for a quote</a>

The space is %20, the comma is %2C and the line break is %0D%0A. In the HTML, each & between the parts is written &amp;, which is correct HTML; browsers turn it back into & when the link is clicked.

When to use something else

  • A mailto link needs an email app on the visitor's device. People using webmail in a browser may see nothing happen, so show the address as text too, or use a contact form.
  • Email addresses in a page's code can be collected by spam bots. Consider a contact form for high-traffic pages.
  • Mailto links cannot attach files. For a chat link instead of email, use the WhatsApp Link Generator.

Questions people ask

What is a mailto link?

A link starting with mailto: that opens a new email in the visitor's email app instead of a web page. It can fill in the address, cc, bcc, subject and message. You put it on a button or text, such as Email us, on a website or in a document.

How do I add a subject and message to a mailto link?

Add ?subject= after the address and &body= for the message, with spaces and symbols percent-encoded: mailto:you@site.com?subject=Hello%20there&body=Hi. This tool does the encoding for you, so just type the words.

How do I add a line break in a mailto body?

Use %0D%0A, which is a carriage return and line feed, as RFC 6068 asks. Type the message here with normal line breaks and the tool converts each one. A plain \n or <br> does not work in the link.

Can I send to more than one address?

Yes. Separate addresses with commas: mailto:a@site.com,b@site.com. Cc and Bcc can also hold several addresses each. Type them with commas or spaces and the tool joins them correctly.

Why does nothing happen when I click a mailto link?

The device has no default email app set up, or it is set to an app that is not signed in. On a computer, set your default email app in the system settings, or in Chrome allow Gmail to handle email links. On phones, the built-in Mail app is used.

Why are spaces written as %20 and not +?

A + is only a space in web form data. In a mailto link it stays a +, so the subject would read Quote+request. RFC 6068 asks for %20, which every email app reads as a space.

Is there a length limit for mailto links?

The standard sets none, but some email apps and older browsers cut links of about 2,000 characters. Keep the message short, and put longer text on a web page instead.

Next, you might need