Skip to content

Mailto link generator

Fill in who it's to, a subject and a message to create a mailto link. You get a link that opens a new email ready to send, an HTML link for your website, and a QR code.

Free, no sign-up. Runs in your browser. Nothing you type or upload is sent to us or stored.

Take messages without showing your address

A contact form on a Liite page sends messages to your inbox, so you don't have to put your email address where spam bots can read it.

Make your free page

How to use it

  1. Enter one or more email addresses in the To field.
  2. Add cc and bcc addresses if you need them.
  3. Write a subject and the body of the email.
  4. Copy the link or the HTML snippet, or download the QR code.

What is a mailto link?

A mailto link is a web link that starts with mailto: instead of https://. Clicking it opens the visitor's email app with a new message already addressed. It can also fill in a subject, a body, and cc or bcc recipients, so people only need to press send.

Everything after the address has to be encoded. This tool follows RFC 6068, the standard for mailto links: spaces become %20 and line breaks become %0D%0A, so Gmail, Outlook and Apple Mail show your subject and paragraphs as you wrote them. It also checks that each address looks valid. For the syntax with examples, read liite.co/blog/mailto-and-sms-links.

Where to use them

Use a mailto link for a "Request a quote" button with the subject filled in, a support link with a short template, or an RSVP that lands in your inbox with a subject you can filter on. Paste the HTML snippet into a website, a newsletter or a PDF.

Print the QR code on a poster or flyer and scanning it opens a new email on the phone. Test it with your own phone before you print a batch.

Are mailto links safe?

For the person clicking, yes. A mailto link can't send anything by itself. It only opens a draft, and the standard says mail apps should show the full message and wait for the user to send it. Check the To line matches who you expect before you press send.

For the person publishing the link, there are two catches. Any address in a link on a public page can be read by bots that collect addresses for spam. And bcc isn't hidden in the link: anyone who looks at the link can see bcc addresses. Leave bcc out of public links, or use a contact form.

Things to know

The link opens the visitor's default mail app. On a shared or work computer that may be nothing at all, or an app they never use. Show the address as text next to the link so people can copy it instead.

Keep the body short: a long link is hard to share and makes a dense QR code, and the tool warns you once the link passes about 2,000 characters. The link, the snippet and the QR code are made on your device, and we don't see or store what you type.

Questions

How do I make a mailto link?

Type the address, subject and message above, then copy the link or the HTML snippet. In HTML, a mailto link is an ordinary <a> tag whose href starts with mailto:.

How do you open a mailto link?

Click or tap it, and your default email app opens with a new message. If nothing happens, no default mail app is set: choose one in your system settings, or copy the address into your webmail.

Why do line breaks show up as odd characters?

They weren't encoded the way mail apps expect. This tool writes line breaks as %0D%0A, which Gmail, Outlook and Apple Mail all read as new lines.

Can I send to several people?

Yes. Add more than one address in To, cc or bcc and the tool puts them all in the link.

Can a mailto link attach a file?

No. The mailto standard has no way to attach files. Link to the file in the body instead, or ask people to attach it themselves.

Will a mailto link get my address spammed?

It can. Bots read addresses from public pages. A contact form on your Liite page keeps your address hidden and still sends messages to your inbox.