Mailto Link Generator
This mailto link generator builds a link that opens a new email with the recipients, cc, bcc, subject and body already filled in. It encodes everything the way the mailto standard (RFC 6068) requires, so spaces, symbols and line breaks survive, and gives you the link as plain text, HTML or Markdown.
Fill in the email. Copy a link that opens it ready to send.
100% free • No signup • Runs in your browser
mailto:hello@acme.com?subject=Question%20about%20pricing
<a href="mailto:hello@acme.com?subject=Question%20about%20pricing">Email us</a>
[Email us](mailto:hello@acme.com?subject=Question%20about%20pricing)
How to use the Mailto Link Generator
- 1
Fill in the email
Add the recipient, and optionally cc, bcc, a subject and a message. Line breaks in the message are kept.
- 2
Copy the format you need
Take the plain mailto: link, a ready-made HTML link for your site, or Markdown for docs and READMEs.
- 3
Test it
Click the test link to check it opens your email app with everything filled in.
How a mailto link is built
A mailto link is the recipient after mailto:, then optional fields after a question mark, joined by &. The rules come from RFC 6068.
| Part | What it does | Example |
|---|---|---|
| Recipient | Who the email goes to. Separate several addresses with commas. | mailto:sales@acme.com,jane@acme.com |
| Cc and Bcc | Copy people in, openly or blind. | mailto:sales@acme.com?cc=tom@acme.com&bcc=sam@acme.com |
| Subject | Prefilled subject line. Spaces become %20. | mailto:sales@acme.com?subject=Pricing%20question |
| Body | Prefilled message. Line breaks become %0D%0A. | mailto:sales@acme.com?body=Hi%2C%0D%0AI%27d%20like%20a%20demo. |
Frequently Asked Questions
How do I add a subject and body to a mailto link?
Add them after a question mark, joined by &: mailto:sales@acme.com?subject=Hello&body=Hi%20there. The text has to be percent-encoded, so spaces become %20 and line breaks %0D%0A. This generator does the encoding for you.
Can a mailto link have more than one recipient?
Yes. Separate the addresses with commas, like mailto:jane@acme.com,tom@acme.com. You can also add cc and bcc fields after the question mark.
How do I add line breaks to the body?
Encode each line break as %0D%0A, as the mailto standard (RFC 6068) specifies. Type your message with normal line breaks here and the generator converts them.
What happens when someone clicks a mailto link?
Their device opens its default email app with a new message filled in. If no email app is set up, the click may do nothing or ask them to choose one, so show the address as text too.
Can spam bots read mailto links?
Yes. The address sits in the page's HTML, where bots that scrape sites for addresses can find it. For a busy public page, a contact form or a role address with good filtering keeps spam down.