Mailto link generator.

Fill in recipients, a subject, and a body. Copy an encoded mailto: link or an HTML snippet as you type.

Price
Free, no signup
Category
Content

Separate addresses with commas.

Separate addresses with commas.

Separate addresses with commas.

Line breaks are kept.

Used in the HTML snippet.

Try
Mailto link generatorWaiting for input

Your mailto link appears here.

An encoded link, an HTML snippet, and a button to test it.

How this mailto link generator works.

Type the recipients, subject, and body. The link and the HTML snippet update as you type. Everything runs in your browser, and nothing is sent anywhere.

  • To addresses go right after mailto:, separated by commas.
  • CC, BCC, subject, and body go in the query string after a question mark.
  • Spaces become %20 and line breaks become %0D%0A, so the mail app shows the text as you typed it.
  • Characters like &, ?, and # are encoded so they cannot end the subject or body early.
  • Empty fields are left out of the link.

Mailto link syntax.

A full link with every field looks like this:

mailto:hello@example.com?cc=team@example.com&bcc=archive@example.com&subject=Quick%20question&body=Hi%2C%0D%0A%0D%0AThanks

In HTML, the & between parameters is written as & inside the href. The snippet here does that for you, and it escapes quotes in the link text.

Test before you publish.

Use Test Link to open the message in your own mail app. Check that the subject and line breaks look right. Mail apps handle long bodies and many recipients differently, so keep the prefilled text short.

A mailto link exposes your address to spam bots that read page source. A contact form keeps it hidden.

Common questions.

What is a mailto link?
A mailto link opens the visitor's default email app with a new message. The address goes after mailto:, and you can prefill the subject, body, CC, and BCC.
How do I add a subject or body to a mailto link?
Add them after a question mark and join them with &, like mailto:hello@example.com?subject=Hi&body=Thanks. Encode spaces as %20 and characters like &, ?, and # so they do not break the link. This generator does the encoding for you.
How do I add line breaks to a mailto body?
Use %0D%0A for each line break. That is an encoded carriage return and line feed. A plain new line or a <br> tag will not work. Type the body here with normal line breaks and the generator converts them.
Can a mailto link have multiple recipients?
Yes. Separate addresses with commas, like mailto:a@example.com,b@example.com. Add CC and BCC as parameters, like ?cc=team@example.com&bcc=archive@example.com. Mail apps differ in how they handle several addresses, so test the link.
Why does my mailto link not work?
The link needs a default mail app on the device. If none is set up, nothing happens or the wrong app opens. Long links can be cut off, and the limit differs between mail clients and browsers, so keep the body short. An unencoded & or # in the subject can also end the link early.
Is a mailto link safe to put on my site?
It works, but it puts your address in the page source where spam bots can scrape it. Use an address with good spam filtering, or use a contact form if you want to keep the address off the page.

Write it here. Send it from Bento.

Marketing, automation, and transactional email in one app. Plans start at $29/mo for up to 5,000 Active Users.