Free Online Mailto Link Generator

Free online mailto link generator. Build an encoded email link with subject, body, Cc and Bcc and copy it as a link, HTML button or Markdown. No sign-up.

Mailto Link Generator by Utiliby

Free Online Mailto Link Generator

Create a correctly encoded mailto link with recipients, Cc, Bcc, subject and message, then copy the link, HTML, button or Markdown.

Try your link (opens your mail program):

Email us

Disclaimer: This free online mailto link generator runs in your browser and sends nothing to a server. A mailto link only works if the visitor has a mail program or webmail handler set up on their device, so always show the email address in plain text or offer a contact form as a fallback. Addresses in a mailto link can be collected by spam robots, and hiding them with HTML entities only stops the simplest ones. Very long links may be cut off by some browsers and mail programs. Test the link on the devices your visitors use.

Share, cite or embed this tool

Written by the Utiliby editorial team · Last updated October 15, 2026 · Rules and formulas reviewed October 2026

What this free online mailto link generator does

A mailto link lets a visitor start an email to you with one click. It is the simplest way to put a contact link on a page, a signature or a document. The format looks easy, but it is full of traps: spaces and line breaks must be encoded, the ampersand and hash characters can break the link, several recipients must be separated correctly and an HTML attribute needs its own escaping. This free online mailto link generator takes care of all of that. You fill in the To, Cc, Bcc, subject and message boxes and the tool builds a correct mailto link, an HTML email link, a styled email button and a Markdown link.

A live compose window shows how the message will look when the link is clicked, warnings flag invalid addresses and links that are too long, and a decoder reads any existing mailto link back into its parts. You can also hide addresses with HTML entities to make life harder for simple spam robots.

How a mailto link works Your web pageEmail us Linkmailto:[email protected]?subject=Hello&body=Hi%20there New messageTo: [email protected]Subject: HelloHi there
A mailto link is just a web address that starts with mailto:. The browser hands it to the visitor's mail program, which opens a message with your details already filled in.

How to create a mailto link step by step

  1. Pick a template or start blank.
  2. Enter the recipient. Use commas to add more than one.
  3. Add Cc, Bcc, a subject and a message if you want them pre-filled.
  4. Write the link text and choose a text link or a button.
  5. Check the warnings. Fix invalid addresses and keep the link short.
  6. Open the Code tab and copy the format you need.
  7. Test it by clicking the link in the preview.

Mailto link syntax explained

PartExampleNotes
Schememailto:Always first
Recipients[email protected],[email protected]Separated by commas
Start of options?Only once
Subjectsubject=Hello%20thereSpaces become %20
Cc and Bcc[email protected]&[email protected]Joined with &
Bodybody=Line%201%0D%0ALine%202%0D%0A is a line break

In HTML the ampersand in a link must be written as &. The generator does this in the HTML output, but not in the plain link, which is meant to be pasted into places that do not use HTML.

Special characters that need encoding

CharacterWritten as
Space%20
New line%0D%0A
Ampersand &%26
Question mark%3F
Hash #%23
Percent %%25
Plus +%2B (in the subject and body)
Quotes%22 and %27
Non-English lettersUTF-8 percent codes

Where to use mailto links

Best practice for mailto links

Spam robots and your address

Spam robots crawl the web and collect anything that looks like an email address. A plain mailto link is an easy target. Turning on the hide option replaces the characters with HTML entities, which browsers read normally but simple scrapers miss. It is not secure, because a determined robot can decode entities, but it helps. Stronger options are a contact form, a link to your contact page, an image of the address with a text alternative or JavaScript that builds the link when the page loads. Keep a good spam filter and authenticate your own sending with the DMARC and SPF Record Generator. If you need to collect addresses that people have published, the Email Extractor works only on text you give it and should be used only for lawful, permission-based contact. Validate any list with the Email Validator and List Cleaner.

Accessible mailto links

Link text should describe what happens, for example Email our support team. If a button opens an email program, say so, because it surprises some people when a new window appears. Make sure the button has enough color contrast, which this tool checks automatically when it chooses black or white text. If you can, add the visible address nearby and think about a form for people who use webmail or have no mail program.

Quick glossary

Accuracy, limits and responsible use

The tool follows the mailto standard (RFC 6068) and encodes text for use in links. It cannot know which mail program your visitors use, and programs differ in how they handle long links, Bcc and special characters. Test on a few devices. Use the output only for lawful communication.

Frequently asked questions

How do I use this free mailto link generator?

Fill in the recipient, subject and message, and the tool builds the link, an HTML link, an HTML button and a Markdown link. Copy the one you need, or test it with the link in the preview.

Is this mailto link generator really free?

Yes. It is a free online tool with no sign-up. Your details stay in your browser.

What is a mailto link?

A mailto link is a link whose address begins with mailto:. When someone clicks it, their mail program opens a new message to that address.

How do I add a subject and body to a mailto link?

Add a question mark after the address, then subject= and body= parts joined by an ampersand, with spaces written as %20 and new lines as %0D%0A. The generator does this encoding for you.

How do I add several recipients?

Separate the addresses with commas in the To, Cc or Bcc box. The tool joins them in the format that mail programs expect.

How do I add Cc and Bcc to a mailto link?

Add cc= and bcc= parameters after the question mark. The generator adds them when you fill in those boxes. Remember that Bcc addresses are visible in your page source.

How do I put a line break in a mailto body?

Use the code %0D%0A. Type normal line breaks in the body box and the tool converts them.

Why does my mailto link not work?

The visitor may have no mail program set up, or the link may contain unencoded characters such as spaces, ampersands or hash signs, or it may be too long. This tool encodes everything and warns you about length.

How do I make a mailto button?

Choose the Button style and a color. The tool writes an HTML link styled as a button with inline CSS, which also works in email newsletters.

What is the maximum length of a mailto link?

There is no fixed limit, but some browsers and mail programs cut off links over about 2,000 characters. The tool warns you when the link gets long.

Can spam robots find email addresses in mailto links?

Yes, robots read page source. Turning on address hiding converts the link to HTML entities, which stops the simplest robots but not all. A contact form is safer for busy pages.

Should I use a mailto link or a contact form?

Mailto links are quick and need no server, but they depend on the visitor's mail setup and expose your address. A form works for everyone and can reduce spam. Many sites offer both.

Can I decode an existing mailto link?

Yes. Use the Decode a link tab. Paste a link or an HTML anchor and the tool shows the recipients, subject and body, and lets you load them for editing.

Does a plus sign in the address work?

Yes. An address such as [email protected] is valid and the generator keeps the plus sign as it is.

Does it work with Gmail and Outlook?

A mailto link opens whatever program or web handler the visitor has chosen as their default for email, including Outlook, Apple Mail and Gmail in the browser if it is set as the handler.

Can I use the link in an email or a PDF?

Yes. The plain link, the HTML version and the Markdown version can go in web pages, emails, documents and chat tools that support links.

Can I save or print the result?

Yes. Copy any snippet, download all of them in one text file, or print or save a page with the link and checks.

Sources and further reading

Sources were consulted in October 2026. Standards and rules can change, so always check the official page for your situation.

Disclaimer: This free online mailto link generator runs in your browser and sends nothing to a server. A mailto link only works if the visitor has a mail program or webmail handler set up on their device, so always show the email address in plain text or offer a contact form as a fallback. Addresses in a mailto link can be collected by spam robots, and hiding them with HTML entities only stops the simplest ones. Very long links may be cut off by some browsers and mail programs. Test the link on the devices your visitors use.