Mailto Link Generator

Create a ready-to-use mailto: link with subject, body, Cc, and Bcc pre-filled.

This tool runs entirely in your browser. Your files are never uploaded to a server.

What this tool does

Builds a mailto: URI from a required recipient field and optional subject, body, Cc, and Bcc values. The generated link can be copied into HTML, documents, buttons, or other places that accept links.

How to use it

Enter the main recipient, then add any optional message fields. The link appears as soon as the recipient is non-empty and updates with every edit; use the copy control beside it to copy the complete URI.

Worked example

Recipient [email protected], subject "Project update", and body "Hello Ada" produce mailto:[email protected]?subject=Project+update&body=Hello+Ada. Empty optional fields are omitted instead of creating blank parameters.

Encoding behavior

Subject, body, Cc, and Bcc are serialized by URLSearchParams, so spaces become plus signs and line breaks or reserved characters are percent-encoded. The recipient is trimmed at both ends and placed directly after mailto:.

Using the generated link

In HTML, place the copied value in an anchor href; in a document or site builder, use it as the link target. Clicking normally asks the operating system or browser to open its configured email application.

Limitations

The component does not validate recipient, Cc, or Bcc address syntax and does not send email. Support for prefilled fields, long bodies, and the application that opens varies by browser, device, email client, and user configuration.

Standards, safety and privacy

The output uses the mailto URI convention and standard form-style query encoding. Review recipients and content before publishing, especially Bcc values in public markup. Generation is local and no address or message is uploaded.

Frequently Asked Questions

What is a mailto: link?
It's a special link format that, when clicked, opens the visitor's default email client with the recipient, subject, and body already filled in, instead of loading a webpage.
Can I pre-fill Cc and Bcc recipients too?
Yes, the form includes optional Cc and Bcc fields, and any addresses you enter are encoded into the link alongside the main recipient.
Do line breaks in the body work correctly?
Yes, line breaks are URL-encoded so the message body opens with its formatting intact in the recipient's email client.