Fill in the desired fields below to generate an HTML email link (`mailto:`). The link and HTML code will update automatically. Use the preview link to test it in your default email client.
Mailto Link Generator
Create custom `mailto:` HTML links with To, CC, BCC, Subject, and Body fields.
Email Options
Preview
Click the link below to test the generated mailto link in your default email client:
About the Mailto Link Generator
Easily create HTML email links (mailto:
links) with our simple generator. These links allow users to click and open their default email client with pre-filled information like the recipient, subject, CC, BCC, and body text.
What is a Mailto Link?
A mailto:
link is a type of URL scheme used in HTML to create hyperlinks that trigger the user's default email application (like Outlook, Apple Mail, Gmail web interface if configured) to open a new email composition window. You can specify various parameters within the link to pre-populate fields in the email.
How to Use This Tool
- Enter the primary recipient's email address in the To field (required).
- Optionally, add comma-separated email addresses for CC (Carbon Copy) and BCC (Blind Carbon Copy).
- Fill in the desired Subject line.
- Enter the default message content in the Body field. Line breaks will be preserved.
- Customize the Link Text that will be displayed on your webpage for the link.
- The Preview section shows a clickable link to test the result in your email client.
- Click "Show Generated Code" to view and copy the raw
mailto:
link (for the `href` attribute) and the full HTML<a>
tag code.
This tool correctly encodes the subject and body text to ensure they work correctly in the email link.