Tools/Developer/Mailto Link Generator
Developer Tool

Mailto Link Generator

Create properly encoded mailto links with recipient, subject, message body, CC and BCC parameters.

Runs locally in your browser
Free online tool

Build a Mailto Link

No email is sent automatically
Test Link

How to create a mailto link

Enter the recipient email address, optional subject, message body, CC and BCC values, then generate the encoded URL or HTML anchor.

How mailto subject and body parameters work

Mailto links start with mailto:. Extra values such as subject and body are added as encoded query parameters so spaces, ampersands and line breaks survive correctly.

Mailto link examples

mailto:hello@example.com?subject=Website%20Enquiry
mailto:hello@example.com?body=Hello%0A%0AThanks
mailto:hello@example.com?cc=team@example.com&bcc=archive@example.com

Frequently asked questions

What is a mailto link?

It is a link that opens the user’s configured email application with a new message.

Can I add a subject automatically?

Yes. Add a subject parameter and it will be prefilled when the mail app opens.

Can mailto links include CC and BCC?

Yes, most mail handlers support CC and BCC fields in mailto URLs.

Can I add a message body?

Yes. Line breaks can be encoded into the body parameter.

Do mailto links work on mobile?

Usually, as long as the device has a mail app or handler configured.

Why does not clicking a mailto link open Gmail?

Mailto uses the browser or operating system’s configured mail handler, which may not be Gmail.

Related tools

CSS Clamp Generator and SVG Cleaner.