Mailto link generator
A mailto link opens a new email in the reader’s mail app with the address, subject, and body already filled in. Fill in the fields below to generate one with correct percent-encoding, or use the syntax section to write it by hand. Copy it into a button, a link, or an email signature, and test it before you ship.
mailto:?subject=Quick%20questionSend password resets and receipts from your app
Want your app to send the email itself? Loops does that with one API call.
Each part of a mailto link on one line, with a full example to copy below. Replace YOUR_EMAIL and TEAM_EMAIL with real addresses.
mailto:
Starts the link. Recipients go right after it, separated by commas.
?subject=
Starts the parameters and pre-fills the subject line. Later ones start with &.
&cc=
Adds visible copy recipients.
&bcc=
Adds hidden copy recipients.
&body=
Pre-fills the email body.
%0D%0A
A line break in the body. The generator above writes %0A, which also works.
%20
A space. Use it instead of +.
%26 %3F %23
An &, ? or # inside the subject or body.
<a href=…>
In HTML, the full link goes in the href of a normal link.
mailto:YOUR_EMAIL?cc=TEAM_EMAIL&subject=Quick%20question&body=Hi%20there%0D%0AThanksRFC 6068 also allows other header fields, such as a reply-to address, but mail apps may ignore them, so stick to the fields above.
More free tools: DNS checker, EML viewer, all free tools.
A mailto link opens a new email draft in the reader’s mail app instead of loading a web page. It starts with mailto:, and it can pre-fill the recipients, subject and body. Nothing sends until the reader presses send.
Add ?subject= after the address, followed by your text. Then add &body= and the message. Percent-encode both values, with %20 for spaces and %0D%0A for line breaks, or type them into the generator above and copy the link.
A mailto link hands the draft to the default mail app on the reader’s device. If none is set up, nothing happens, or the device asks you to pick or set up a mail app. If you use Gmail or another webmail service, set it as your browser’s handler for email links. If the draft opens but the subject or body is cut short, look for an & or # that isn’t percent-encoded.
A mailto link is a URI that starts with mailto: followed by the recipient address. Fields after the address go in a query string, the same way parameters work in a web URL: a ? starts the query, and & separates each parameter.
mailto:YOUR_EMAIL?cc=TEAM_EMAIL&subject=Quick%20question&body=Hi%20there
The parts:
to comes right after mailto:, before the ?. For more than one recipient, separate addresses with commas: mailto:FIRST_EMAIL,SECOND_EMAIL.
cc adds visible carbon-copy recipients, comma-separated.
bcc adds blind carbon-copy recipients that other recipients do not see.
subject pre-fills the subject line.
body pre-fills the message body.
Encoding rules that keep the link valid:
Separate addresses in to, cc, and bcc with a literal comma. The comma is a valid separator and does not need encoding.
Percent-encode the subject and body values. Spaces become %20, line breaks become %0A, and an ampersand inside your text becomes %26 so it is not read as a new parameter.
Include a parameter only when it has a value. An empty cc= or subject= adds noise and can confuse older clients.
The tool above applies these rules for you. It encodes the subject and body with the same logic as encodeURIComponent, keeps recipient commas intact, and leaves out any field you left blank.
A mailto link is the right tool for a one-off, low-volume contact point: an ‘Email us’ button in a footer, a support address in your docs, a reply link in a signature. There is no backend to run and no form to maintain.
The tradeoffs are real. The link opens whatever the reader set as their default mail app, which might be a webmail tab they are not signed into, or nothing at all on a shared machine. The address also sits in your page source as plain text, where scrapers harvest it for spam. And you never see who clicked or whether a message actually went out.
A form fits better once contact is recurring, or when you need to capture and route what people send. It keeps the address off the page, validates input, and stores every message in one place. And if a form submission needs to trigger onboarding, receipts, or product updates, you need a sending platform behind the form. Loops runs transactional and marketing email from one contact record, so a form can add the contact and start the workflow that follows.
Do mailto links work on every device?
The link relies on the reader having a default mail app configured. On most phones and desktops that is set up, so the draft opens as expected. On a shared or locked-down machine with no default client, the link may do nothing, which is one reason a form is safer for critical contact paths.
Can I add multiple recipients, CC, and BCC?
Yes. Put several addresses in any field and separate them with commas. CC recipients are visible to everyone on the email, and BCC recipients are hidden from the other recipients.
Why is my subject or body full of %20 and %0A?
That is correct percent-encoding. %20 is a space and %0A is a line break. Mail clients decode these back into readable text when the draft opens, so the recipient sees normal spacing and paragraphs.
Is there a length limit on a mailto link?
Client support for long links varies. This tool warns above 1,900 characters as a precaution, not a universal mailto limit. For anything longer than a couple of sentences, link to a page or send a real email instead.
What's next
Related reading and free tools.