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)
  1. Enter the Email ID (recipient).
  2. Type a clear Subject Line.
  3. Add the Message Text (optional).
  4. Provide the Link Text (CTA), e.g., “Email Us Now”.
  5. See the live preview and outputs update instantly.
  6. 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

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.