---
title: "Mailto link generator"
url: "https://coldagentai.com/tools/mailto-link-generator.md"
canonical_url: "https://coldagentai.com/tools/mailto-link-generator"
last_updated: "2026-10-18"
type: "tool"
summary: "Build a mailto link with recipients, cc, bcc, subject and message body, correctly encoded for any mail app, plus the HTML anchor. Runs in your browser."
related: ["https://coldagentai.com/tools.md", "https://coldagentai.com/tools/email-checker.md", "https://coldagentai.com/tools/email-signature-generator.md", "https://coldagentai.com/tools/follow-up-email-generator.md", "https://coldagentai.com/tools/email-read-time.md", "https://coldagentai.com/tools/email-sign-off-generator.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# Mailto link generator

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Build a mailto link with recipients, cc, bcc, subject and message body, correctly encoded for any mail app, plus the HTML anchor. Runs in your browser.

A mailto link opens the reader's mail app with a message already addressed and written. It works on a contact page, in an email signature or in a button, as long as it is encoded correctly, and that is where hand-written links go wrong: a space becomes a plus sign, a line break disappears, an ampersand cuts the message short. This tool builds the link from plain fields and gives you the finished URL and the HTML.

The addresses and text you type are turned into a link by code running in this page and are never sent anywhere.

## Inputs

- To: one or more addresses separated by commas.
- Cc and Bcc: optional, in the same form.
- Subject and message: plain text. Write line breaks as you normally would.
- Link text: the words shown for the HTML anchor.

## How it works

- Every address is checked for valid syntax. An invalid address in any field stops the build and the message names the field and the address.
- Several addresses in one field are joined with commas, which is how the mailto format lists more than one recipient.
- The subject and message are turned into percent-encoded text from their UTF-8 form, so accented letters and emoji survive. A space becomes %20, never a plus sign.
- A line break in the message becomes %0D%0A, the carriage return and line feed pair that the mailto format requires. Line breaks in the subject are replaced with spaces.
- The fields are joined with & after a question mark: cc, then bcc, then subject, then body.
- The HTML anchor escapes the link for use inside a double-quoted href, so each & becomes &amp; and a quote can never end the attribute early. The link text is escaped too.

## Where a mailto link helps

A mailto link on a contact page saves a visitor from copying an address by hand. A link in an email signature can open a reply with the subject you want already filled in, for example a request for a quote or a booking. A link in a product page can open a message that already says which product the person is asking about, which makes the enquiry easier for you to answer.

For cold outreach, a mailto link also works as a low-friction reply button: it asks the reader to do nothing more than press send.

## Common mistakes and how this tool avoids them

The most frequent error is writing a plus sign for a space. In a web form that is correct, but in a mailto link a plus is a plus, and the subject arrives as "Question+about+pricing". The tool always writes %20.

The second is an unencoded ampersand in the body. Anything after it is read as a new field and silently dropped. The tool encodes it as %26 in the link and escapes it separately in the HTML.

The third is a missing line break encoding. Without %0D%0A the body arrives as one long line in many apps. The tool converts every kind of line break in your text.

## Testing the link

The preview shows the link as it will look on a page. Click it to see your mail app open with the fields filled in, and check the subject and the line breaks. Test in the mail app your readers are most likely to use, because mail apps do not all treat long bodies the same way.

## Worked example

Input:

```
To: hello@example.com
Cc: team@example.com
Subject: Question about the Growth plan
Message: Hello, /  / Could you tell me how many mailboxes the Growth plan includes? /  / Thanks & regards, / Ada
```

Result:

```
mailto:hello@example.com?cc=team@example.com&subject=Question%20about%20the%20Growth%20plan&body=Hello%2C%0D%0A%0D%0ACould%20you%20tell%20me%20how%20many%20mailboxes%20the%20Growth%20plan%20includes%3F%0D%0A%0D%0AThanks%20%26%20regards%2C%0D%0AAda

<a href="mailto:hello@example.com?cc=team@example.com&amp;subject=Question%20about%20the%20Growth%20plan&amp;body=Hello%2C%0D%0A%0D%0ACould%20you%20tell%20me%20how%20many%20mailboxes%20the%20Growth%20plan%20includes%3F%0D%0A%0D%0AThanks%20%26%20regards%2C%0D%0AAda">Ask a question</a>
```

## Limits

- A mailto link only opens the reader's default mail app or webmail handler. If none is set up, the click does nothing, and the tool cannot change that.
- The body field is plain text. Mail apps do not accept HTML, images or attachments through a mailto link.
- Very long links are cut off or refused by some apps and browsers. The tool warns above 2,000 characters, which is a cautious guide and not a figure from a standard.
- Addresses with non-English letters in the domain are not accepted here. Use the ASCII form of the domain.
- Anyone who sees the page can read the addresses in the link, including a Bcc. Do not put an address in a public link that you would not publish.

## Questions

**Why is my mailto subject full of plus signs?**

A plus sign stands for itself in a mailto link, so a hand-typed plus in place of a space shows up literally. Spaces must be written as %20, which this tool does for you.

**How do I add a line break to the body?**

Type it as you normally would in the message box. The tool writes each line break as %0D%0A, the encoding the mailto format requires for the body.

**Can I add more than one recipient?**

Yes. Separate the addresses with commas in the To, Cc or Bcc field. The tool joins them with commas in the finished link.

**How long can a mailto link be?**

The standard sets no fixed length, but some browsers and mail apps cut long links. The tool warns above 2,000 characters, so keep the body short and put detail in your reply.

**Can a mailto link attach a file?**

No. The format carries addresses, a subject and a plain text body only. Link to a download page in the body text instead.

**Is it safe to put an email address in a link on a public page?**

The address is visible to anyone who views the page, so treat it as public. Use a shared address meant for contact, such as a general inbox, and not a personal one.

## Sources

- [RFC 6068: The mailto URI Scheme](https://www.rfc-editor.org/rfc/rfc6068.txt) (read 2026-10-18)

## Related tools

- [Email checker](https://coldagentai.com/tools/email-checker.md)
- [Email signature generator](https://coldagentai.com/tools/email-signature-generator.md)
- [Follow-up email generator](https://coldagentai.com/tools/follow-up-email-generator.md)
- [Email read time](https://coldagentai.com/tools/email-read-time.md)
- [Email sign-off generator](https://coldagentai.com/tools/email-sign-off-generator.md)

## Related

- [Free cold email tools](https://coldagentai.com/tools.md)
- [Free email checker: syntax, typos, domains](https://coldagentai.com/tools/email-checker.md)
- [Email signature generator](https://coldagentai.com/tools/email-signature-generator.md)
- [Follow-up email generator with a goodbye note](https://coldagentai.com/tools/follow-up-email-generator.md)
- [Email read time and word count estimator](https://coldagentai.com/tools/email-read-time.md)
- [Email sign-off generator](https://coldagentai.com/tools/email-sign-off-generator.md)
