Skip to content

Free Mailto Link Generator

Build an email link that opens a new message with the address, subject and text already filled in.

  • 100% free
  • Runs in your browser
  • Instant results
Separate several addresses with commas.
The clickable words visitors see.
Quick answer

This mailto link generator builds an email link that opens the visitor’s mail app with a new message ready to send. Enter the recipient, optional cc and bcc, a subject and a message. The tool URL-encodes everything and returns both the raw mailto link and the HTML code.

How to use the Mailto Link Generator

  1. Enter the recipientType the email address the message should go to. Add cc or bcc addresses if you need them.
  2. Add a subject and messageWrite the subject line and any text you want pre-filled. Line breaks are kept.
  3. Set the link textChoose the words visitors will click, such as "Email us".
  4. Copy the codeCopy the HTML link for a web page, or the plain mailto link for a button or QR code.

A mailto link is a normal HTML link whose address starts with mailto: instead of https://. Clicking it opens the default email program with a draft. The format, defined in RFC 6068, is:

mailto:address?subject=…&body=…&cc=…&bcc=…

The hard part is encoding. Spaces, line breaks, question marks, ampersands and non-English characters are not allowed as they are, and a single unencoded & in a subject cuts the rest of the text off. The mailto link generator handles this for you:

  • Subject and body are percent-encoded: a space becomes %20 and a line break becomes %0D%0A.
  • Several recipients are joined with commas.
  • Addresses are checked for a basic valid shape, and odd ones are reported.
  • In the HTML version, the & separators are written as & so the markup is valid.

Everything is assembled in your browser. The addresses you type are not sent anywhere.

Mailto links are simple, but a few things are worth knowing before you rely on them:

  • They need a configured mail app. On a phone this almost always works. On a shared or office computer without a default mail program, clicking may do nothing. Show the address as visible text too, so people can copy it.
  • Keep the pre-filled text short. Some mail apps and browsers cut links beyond roughly 2,000 characters. A subject and a line or two are safe.
  • Spam harvesting. Addresses in mailto links can be collected by bots. For a public site, a contact form or a dedicated inbox with good filtering reduces the problem.
  • Plain text only. The body cannot contain formatting, images or attachments.

A pre-filled subject is useful for sorting incoming mail, for example "Support request" or "Quote for wedding photography". You can make the same link work offline by turning it into a code with the QR code generator. For chat instead of email, try the WhatsApp link generator.

Frequently asked questions

What is a mailto link?

A mailto link is a hyperlink that opens the visitor’s email program with a new message addressed to you. It can also pre-fill the subject, the message text and cc or bcc addresses.

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

Add them as parameters after a question mark: mailto:name@example.com?subject=Hello&body=Message. The text must be URL-encoded. The mailto link generator does the encoding for you.

Can a mailto link have more than one recipient?

Yes. Separate the addresses with commas in the To field. You can also add cc and bcc recipients as extra parameters.

Why does nothing happen when I click a mailto link?

The device has no default email app set. On a computer, choose a default mail program in the system or browser settings. Webmail such as Gmail can be registered as the handler in the browser.

Can I attach a file with a mailto link?

No. The mailto standard has no reliable way to attach files. Ask the sender to attach the file themselves, or use an upload form.

Last updated 24 November 2026 by the TheTechFolk team.