Mailto Link Generator
Create a clickable email link that opens the visitor's email app with the recipient, subject, body, CC and BCC already filled in, plus ready-to-paste HTML.
Create a clickable email link that opens the visitor's email app with the recipient, subject, body, CC and BCC already filled in, plus ready-to-paste HTML.
A mailto link opens the visitor's email app with a new message ready to send. Adding a subject and a starting body makes it easier for people to contact you and helps you sort what comes in.
Enter the details and copy either the link itself or the HTML anchor tag. Special characters are encoded for you, and line breaks work in the body.
A mailto link is a URI that starts with mailto:, followed by the recipient and an optional query string with cc, bcc, subject and body. Spaces, ampersands, question marks and line breaks inside values must be percent encoded or the link breaks, which is the part this tool handles. A body line break becomes a CRLF sequence encoded as %0D%0A. The recipient is left as typed, with spaces removed, and the HTML anchor version also escapes ampersands and quotation marks so it is safe inside an href attribute.
The link only requests a new message. Whether it works depends on the visitor having a default mail app or a webmail handler set up, and many desktop users do not. Behaviour with long bodies varies, and very long links can be truncated by some clients, so keep prefilled text short, around a few hundred characters. Only plain text is supported, with no formatting or attachments. Publishing an address in a link also lets spam crawlers harvest it, so for public pages consider a contact form, or at least a role address such as support rather than a personal one.
Type \n where you want a new line.
Yes. Separate addresses with commas in the To, CC or BCC fields.
The visitor needs an email app or webmail set as the default for mailto links.
No. The link is built in your browser.
No. The mailto standard does not support attachments, and clients ignore attempts to add them. Ask the sender to attach files after the message opens, or provide an upload form.
Characters must be percent encoded, which this tool does with UTF-8. Some old mail clients handle non-English characters poorly, so test with the clients your visitors use.