Mailto link generator

Build an email link with the subject, body, cc and bcc filled in, encoded correctly, with the HTML to paste.

FreeNo sign-upNothing you type leaves your browser

Separate several addresses with commas.
Plain text. Line breaks are kept. ·
Your mailto link · 189 characters
mailto:events@northwind.example?subject=Question%20about%20the%20Northwind%20Summit%20(Q%26A%20day)&body=Hi%20Northwind%20team%2C%0D%0A%0D%0AI%20have%20a%20question%20about%20my%20ticket%3A
HTML to paste into an email or page
<a href="mailto:events@northwind.example?subject=Question%20about%20the%20Northwind%20Summit%20(Q%26A%20day)&amp;body=Hi%20Northwind%20team%2C%0D%0A%0D%0AI%20have%20a%20question%20about%20my%20ticket%3A">Email the events team</a>
How it opens in a mail appTry it

Toevents@northwind.example

SubjectQuestion about the Northwind Summit (Q&A day)

Hi Northwind team, I have a question about my ticket:

How it works

By , Okaytosend team · Updated

Fill in the address, subject and body, and copy a mailto link that opens a new email with everything already written. The tricky part is the encoding: an “&” in the subject, a line break in the body or a space written as “+” can quietly break the link. This gets them right and shows how the message will open. Nothing you type leaves your browser.

A mailto link is the address, then a question mark, then fields joined with “&”. The standard for it is RFC 6068.

The parts of a mailto link.
PartExampleNotes
Addressmailto:events@northwind.exampleSeveral addresses are separated with commas
Cc and Bcc?cc=sam@northwind.exampleBcc addresses can be read by anyone who looks at the link
Subject&subject=Q%26A%20daySpaces are %20, an ampersand is %26
Body&body=Hi%2C%0D%0AThanksLine breaks are %0D%0A; plain text only
  • An unencoded “&” or “#”. “subject=Q&A day” ends the subject at “Q”, because “&” starts the next field.
  • Spaces as “+”. That's how web forms encode spaces, but some mail apps show the plus signs as typed. Use %20.
  • Line breaks. A line break typed straight into a link is dropped or breaks it. It must be written as %0D%0A.
  • Length. Past about 2,000 characters some browsers and mail apps cut the link short or won't open it. Keep the body to a few lines.
  • HTML in the body. The body is plain text, so tags show as typed.

A mailto link opens the reader's default mail app, which on a work computer may not be the one they use. Show the address as the link text, or next to it, so anyone can copy it. And test the link from the email itself: some email platforms rewrite links for click tracking, and a few don't handle mailto links well.

Questions

How do I add a subject to a mailto link?

Add ?subject= after the address, with the subject encoded: spaces as %20 and an ampersand as %26. For example mailto:events@northwind.example?subject=Ticket%20question. The generator does the encoding for you.

How do I add line breaks to a mailto body?

Write each line break as %0D%0A. Type the body with ordinary line breaks in the generator and it converts them.

Can a mailto link have more than one recipient?

Yes. Separate the addresses with commas: mailto:a@northwind.example,b@northwind.example. Cc and bcc take comma-separated lists too.

Can I put HTML or images in a mailto body?

No. The body is plain text in every mail app. Links typed as full addresses (https://…) usually become clickable once the email is opened.

Is what I type sent anywhere?

No. The link is built in your browser. Nothing you type is sent to us or stored, and there's no sign-up.

More free tools

Cookie settings