Developer

Mailto Link Generator

Build mailto: links with pre-filled to, cc, bcc, subject and body, properly URL-encoded, with ready-to-paste HTML.

Last reviewed by the Radiatus Cloud team

Test link

Use mailto links on websites and email signatures to open the visitor's mail app with everything pre-filled. Special characters are URL-encoded automatically.

Need this built for your product?

We design, build & host secure software & APIs.

Talk to an engineer

Build a mailto link

A mailto link opens the user’s email client with fields pre-filled, and building one with all the fields encoded correctly is fiddly. This tool builds mailto links with pre-filled to, cc, bcc, subject and body, properly URL-encoded.

Why encoding the fields matters

A mailto link can pre-fill not just the recipient but cc, bcc, the subject and the body, which makes it far more useful than a bare email address, a support link that opens a message with the subject already set, for instance. But the subject and body contain spaces and special characters that must be URL-encoded, or the link breaks or the fields come out garbled. Building the link with proper encoding produces one that works reliably across email clients. This is the right way to create a rich email link rather than hand-assembling the encoded string.

A link that just works

It runs entirely in your browser, so nothing you paste is uploaded and the result is yours to copy straight into a project, which lets you work on private code and data without anything leaving your machine.

Related tools

  • JSON Formatter — Format and beautify JSON in your browser. Pinpoints syntax errors by line and column, flags unsafe integers, and never uploads your data to a server.
  • JSON Validator — Validate JSON syntax with precise line and column errors, and check documents against a JSON Schema. Runs locally in your browser, nothing uploaded.
  • Regex Tester — Test regular expressions against sample text with live match highlighting, capture groups and flag control. Runs entirely in your browser.
  • HTML Minifier — Minify HTML by removing comments and redundant whitespace, without breaking inline elements or pre blocks. Runs entirely in your browser.

Frequently Asked Questions

What can a mailto link pre-fill?

The recipient, cc and bcc, the subject and the body, so clicking it opens an email client with all those fields already filled in.

Why does the link need encoding?

Because the subject and body contain spaces and special characters that must be URL-encoded, or the link breaks or the fields come out garbled.

When is a rich mailto link useful?

For a support or contact link that opens a message with the subject and perhaps a template body already set, saving the user effort.

Does it work across email clients?

A properly encoded mailto link works reliably in the email clients that support the standard fields, which the common ones do.

Is my input uploaded?

No. The generation runs entirely in your browser.

Privacy & Security

Runs entirely in your browser. No data is sent to any server.

Data: None
Client-side-Side
Active
v1.0

How to Use

Fill in the recipient and optional subject/body. Copy the link or the full HTML anchor tag, or test it in your mail app.

Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.