Toolvito

Works on this device

Mailto Link Generator

Type the addresses, the subject and the message to get a correct mailto link. The link is made on your device. This page sends no mail and does not contact any address.

Your mail

One or more addresses, with a comma between them. You may leave this empty.

Addresses that get a copy.

Addresses that get a copy which the other readers do not see.

The text that the new message starts with. Line breaks are kept.

More options

Shown in the HTML and Markdown links. If you leave this empty, the first address is used.

No standard sets a longest length. Some mail programs and browsers cut links longer than about 2,000 characters.

Your values are worked out in this browser. They are not sent to a server.

Your link will show here

Type an address, or choose Try an example.

How to use the mailto link generator

  1. Type one or more addresses in To. Put a comma between two addresses. You may leave it empty if the sender must type the address.
  2. Add Cc, Bcc, a Subject and a Message if you want them. Line breaks in the message are kept.
  3. The link shows at once. Under it you get the same link as HTML code and as a Markdown link.
  4. Under More options you can type the words of the link and change the length at which the page warns you.
  5. Choose Copy link to copy the mailto link, or the Copy button of the HTML or Markdown box.
  6. To check or change a link that you already have, choose Read a mailto link into its parts in the menu and paste it.

How the link is written

A mailto link starts with mailto: and the addresses, with a comma between them. After a question mark come the other parts as name=value, with & between them: cc, bcc, subject and body. The rules are in RFC 6068, the standard for mailto links.

  • Every part is written as UTF-8 text and then percent-encoded. Letters, digits and the signs - . _ ~ stay as they are.
  • Every other character becomes a percent sign and two hex digits for each byte. A space is %20, an ampersand is %26, a question mark is %3F and é is %C3%A9.
  • In an address the @ sign stays. A plus sign becomes %2B, because some programs read a bare plus sign as a space.
  • A line break in the message is written as %0D%0A.
  • In the HTML link the characters & < > " and ' are written as &amp; &lt; &gt; &quot; and &#x27;, so the code is safe to paste into a page.
  • In the Markdown link a backslash is put before \, [ and ] in the words of the link.

Worked example

To ana@example.com, subject Price list 2026, and a message of two lines, Hello Ana, and Please send the price list., give this link of 111 characters:

mailto:ana@example.com?subject=Price%20list%202026&body=Hello%20Ana%2C%0D%0APlease%20send%20the%20price%20list.

The HTML link is <a href="mailto:ana@example.com?subject=Price%20list%202026&amp;body=Hello%20Ana%2C%0D%0APlease%20send%20the%20price%20list.">ana@example.com</a>.

Limits you should know

  • A mailto link opens the mail program that the person has set on that device. If no mail program is set, nothing may happen. The link cannot choose the program.
  • No standard sets a longest length. Some mail programs and browsers cut or refuse links longer than about 2,000 characters, so keep the message short. You can change the length at which this page warns you.
  • Mail programs are free to ignore parts of a link. Most use to, cc, bcc, subject and body. A link cannot attach a file.
  • The address check is light. It finds a missing @ sign, spaces and names such as Ana <ana@example.com>. It cannot know if a mailbox exists.
  • Addresses with quotation marks are not accepted in the builder.
  • An address in a link on a public page can be read by programs that collect addresses for unwanted mail.
  • Addresses in Bcc are hidden from the readers of the mail, but not from people who can see the link.
  • The example addresses on this page use example.com, a name kept for examples.

Related tools