Mailto Link Generator
Create a link that opens a new email with the recipient, subject and message already filled in. Everything is encoded correctly, including line breaks and special characters.
HTML code for your website
How to use the Mailto Link Generator
- Enter the address the email should go to (or several, separated by commas).
- Optionally add cc, bcc, a subject and a pre-written message.
- Copy the link, or copy the ready-made HTML code for your website.
- Click Test it to make sure your email app opens with everything filled in.
Where mailto links are useful
A "Contact us" or "Email sales" button on your website that arrives with a clear subject line, so enquiries are easy to sort.
Support pages that pre-fill the information you need, like an order number line in the message.
Newsletters and PDFs: a "Reply to this offer" link that opens a ready-to-send email.
QR codes on flyers or business cards; ListaFix's free QR code generator can turn the same email into a scannable code.
Getting the encoding right
Mailto links break easily: an ampersand, question mark or line break in the subject or message has to be encoded, or the email arrives cut off. The generator encodes everything correctly, including accented letters, and uses the line-break format email apps expect.
Related free tools
What the mailto link generator does
The Mailto Link Generator builds a link that opens a new email with the address, subject and message already filled in. Instead of hand-typing tricky codes for spaces, line breaks and symbols, you fill in a simple form and copy a link or a ready-made HTML snippet. It is a quick way to add a working "Email us" button to a website, PDF or newsletter.
Benefits
- Fill in every part of the emailSet the To, Cc and Bcc addresses, a subject and a full message, and they all open pre-filled in the visitor's email app.
- Encoding done for youSpaces, line breaks, ampersands, question marks and accented letters are converted correctly, so the email doesn't arrive cut off.
- Link and HTML codeCopy the plain mailto link, or copy a complete HTML link tag with your own link text, ready to paste into a web page.
- Test it right awayClick Test it to open the email in your own email app and see exactly what visitors will get.
- Catches bad addressesAnything that isn't a valid email address is left out of the link, and the tool tells you which ones it skipped.
- Length check built inA live character count warns you when the link goes over 2,000 characters, the point where some apps start cutting it off.
- Updates as you typeThe link and code rebuild with every keystroke, so you can tweak the wording and copy the result straight away.
Who it is for
- Small business owners adding a "Contact us" or "Get a quote" button to their website.
- Support teams that want customer emails to arrive with a clear subject and the details they need.
- Marketers adding a "Reply to this offer" link to newsletters or PDFs.
- Web designers who need a correctly encoded email link without writing the codes by hand.
- Event organizers who want people to RSVP with a pre-written message.
How to use it
- Enter the To address, plus Cc and Bcc if you want them.
- Add a subject, a message and the link text.
- Click Test it to check the email opens correctly.
- Copy the link or the HTML code and paste it where you need it.
Your privacy
The link is built entirely in your browser. The addresses and message you type are not sent to ListaFix or anyone else.
Frequently asked questions
What is a mailto link?
A link that starts with mailto: and opens the visitor's email app with a new message. You can pre-fill the recipient, cc, bcc, subject and body.
How do I add line breaks to the body?
Just type them in the message box. The generator converts them to the correct %0D%0A code automatically.
Why doesn't the link do anything for some visitors?
Mailto links open the device's default email app. People who only use webmail without setting a default app may see nothing happen, so show the email address as text too.
Is there a length limit?
Keep links under about 2,000 characters. Some browsers and email apps cut off longer ones.
Can I add an attachment to a mailto link?
No. Mailto links can't attach files; link to the file in the message instead.
Can I send to several people?
Yes. Separate addresses with commas in the To, Cc or Bcc boxes.