Mailto Link Generator
Build complete mailto: HTML links with pre-filled recipient, subject line, and body text — ready to paste into any web page or HTML email.
What Does This Tool Do?
A mailto: link is an HTML link that opens the visitor's default email app with a pre-addressed message when clicked. Instead of writing the HTML by hand, this tool lets you fill in the recipient, subject, and body, then generates the correct HTML code automatically.
Key Features
How to Use This Tool
- Enter the recipient email address.
- Add a subject line (optional but recommended).
- Add pre-filled body text if desired.
- Choose the link text that visitors will click.
- Click Generate to create the mailto: HTML code.
How It Works
Each field is URL-encoded to handle spaces and special characters. The fields are assembled into a standard mailto: URI format (mailto:address?subject=...&body=...). This URI is then wrapped in an HTML tag with the link text you specified.
Common Use Cases
Frequently Asked Questions
Does the mailto link work on all devices?
Mailto links open the device's default email app. On desktop computers this typically opens Outlook, Apple Mail, or Gmail. On mobile it opens the default mail app. Some browsers may not have a default email app configured.
Can I pre-fill the CC or BCC fields?
Yes — the mailto: specification supports cc and bcc parameters. Add them manually to the generated URL in the format &cc=address@example.com.
Related Tools
Link to This Tool
Copy and paste the code below to link to this tool from your website: