Mailto Email Link & HTML Code Generator
Live preview as you type. Copy-ready HTML anchor and mailto link.
Recipient address for the email.
About This Tool
Generate a click-to-email link that opens the user’s default email app with recipient, subject, and body prefilled. Results update live as you type, and you can copy the HTML anchor or the raw mailto link in one click.
How to use (Step-by-step)
- Enter the Email ID (recipient).
- Type a clear Subject Line.
- Add the Message Text (optional).
- Provide the Link Text (CTA), e.g., “Email Us Now”.
- See the live preview and outputs update instantly.
- Click the copy buttons to use the HTML code or mailto link.
Sample Input
Email: [email protected]
Subject: Product Inquiry
Message: Hi, can you share your latest pricing?
Link Text: Email Us Now
Subject: Product Inquiry
Message: Hi, can you share your latest pricing?
Link Text: Email Us Now
Sample Output (HTML)
<a href="mailto:[email protected]?subject=Product%20Inquiry&body=Hi%2C%20can%20you%20share%20your%20latest%20pricing%3F">Email Us Now</a>
Sample Output (Mailto)
mailto:[email protected]?subject=Product%20Inquiry&body=Hi%2C%20can%20you%20share%20your%20latest%20pricing%3F
Note: Subject and body are URL-encoded automatically for safe use in links.