Mailto Link Generator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free mailto link generator. Create email links with recipients, Cc, Bcc, a subject and a pre-written message, correctly encoded.
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the mailto link generator
Fill in who the email should go to and, if you like, a subject and a message. The mailto link generator builds the link instantly:
- To: one or more addresses, separated by commas, semicolons or spaces.
- Cc and Bcc: optional extra recipients.
- Subject: the subject line the email will start with.
- Message: the body text, including line breaks.
You get the mailto link itself, a Test the link button that opens it in your email app, and a ready-made HTML link for your website. Subjects and messages are encoded correctly, so spaces, ampersands, question marks, accented letters, emoji and line breaks all survive. The generator checks that each address looks valid and warns you if the link gets so long that some email apps might cut it off. Everything runs in your browser.
What a mailto link is
A mailto link is a link that opens a new email instead of a web page. When someone clicks it, their default email app opens (Outlook, Apple Mail, Gmail if it's set as the handler, and so on) with the details already filled in.
<a href="mailto:[email protected]?subject=Office%20order%20for%20next%20week">Email us</a>
The format is defined in a web standard (RFC 6068):
mailto:followed by the address or addresses, separated by commas,- then
?and any ofsubject=,body=,cc=andbcc=, joined with&, - with special characters in the values percent-encoded: a space is
%20,&is%26, and a line break is%0D%0A.
Writing these by hand is fiddly and easy to get wrong; a single unencoded & in a subject cuts it short. That's what the generator handles for you.
Where mailto links are useful
- Contact pages: an "Email us" link alongside your form.
- Order and quote requests: a link that opens an email with "Quote request" as the subject and prompts like "What do you need, and when?" in the body.
- Support: different links for orders, wholesale and press, each with its own subject, so emails arrive sorted.
- Email signatures and PDFs: a click-to-email link in a price list or proposal.
- Event RSVPs: a link that opens "Yes, I'll be there" to the organiser.
- Feedback: a link at the end of a newsletter that opens a reply with a question already asked.
Writing a good pre-filled email
Pre-filled emails make it easier for people to get in touch, and help you get the information you need in the first message:
- Keep the subject specific: "Office order for next week" helps you sort and find emails later.
- Use the body for prompts, not a finished letter: "We'd like to order breakfast for __ people on: __". People fill in the gaps.
- Leave space for their own words. A pre-written message that sounds like an advert puts people off sending it.
Limitations of mailto links
Mailto links are simple and reliable, but they have limits worth knowing:
- They depend on the visitor's setup. If someone has no email app set up (common on shared or work computers), clicking does nothing useful or opens an app they don't use. Always show the email address as text too, so people can copy it.
- Long links can be cut off. Browsers and email apps handle long links differently. Keep messages short; the generator warns you above about 2,000 characters.
- Formatting is plain text. You can't add bold text, links or images to the body.
- No attachments. The mailto standard doesn't support adding files.
- Spam bots read them. An address in a mailto link is visible in your page's code, so it may receive more spam. Most email services filter this well; if it's a problem, use a contact form instead, or as well.
For many small businesses, the best approach is both: a short contact form for people who prefer it, and a visible address with a mailto link for people who'd rather use their own email.
Mailto, WhatsApp or a form?
- Mailto links suit detailed requests, B2B customers and anything that needs a record, such as orders and quotes.
- WhatsApp links suit quick questions and customers who prefer messaging. The WhatsApp link generator builds them.
- Contact forms work for everyone, whatever their setup, and can ask structured questions.
Offering two of these covers most people's preferences. You can turn any of these links into a QR code for printed material with the QR code generator.
Adding the link to your site
Copy the HTML from the generator and paste it into an HTML block on your website, or use the link itself in your website builder's link field: most builders accept a mailto: address wherever they accept a web address. In an email signature, the email signature generator adds a mailto link to your email address automatically.
Encoding, explained
These characters need encoding inside the subject or body:
| Character | Encoded |
|---|---|
| space | %20 |
& |
%26 |
? |
%3F |
# |
%23 |
| line break | %0D%0A |
é |
%C3%A9 |
The mailto link generator encodes everything that needs it, using %20 for spaces (not +, which some email apps show as a plus sign). If you ever need to encode or decode other text for links, the URL encoder and decoder does it.
Mailto links in different places
The same link works in many places, but each has its own quirks:
- Website builders (WordPress, Wix, Squarespace, Shopify): choose "Email" or "Web address" in the link settings and paste the full
mailto:link. Some builders have an "Email" link type that only takes an address; for a subject and message, use the web address option with the full link. - PDFs: links made in Word or Google Docs carry through when you export to PDF. Test the link in the PDF before sending it.
- Social media bios: most platforms only allow web links, not mailto links. Link to your contact page instead.
- QR codes: a QR code can hold an email with the address, subject and message; the QR code generator has an email option.
- Email signatures: a mailto link to your own address helps people who forward your emails.
Accessibility
Make it clear that a link opens an email, so nobody is surprised when their mail app launches. Link text such as "Email [email protected]" or "Email us your order" works better than "Click here". If you use an envelope icon on its own, give it a text label for screen readers, such as an aria-label of "Email us", so the link makes sense without the picture.
A worked example
A bakery takes office catering orders by email and wants customers to include the number of people and the date. On the catering page, the owner uses the mailto link generator with the address [email protected], the subject "Office order for next week", and a short body: "Hello, We'd like to order breakfast for 20 people on: Thanks,".
The generator shows the link and no problems. The owner tests it, sees the subject and message appear correctly in Outlook with each line in place, and adds the HTML link next to the order form, with the address shown as text too. Orders now arrive with the subject and the important details already there.
Test the link on both a phone and a computer before you publish it, because the subject and body are filled in by the visitor's own email app, and a few apps handle long bodies or special characters differently.
Reach buyers while they are searching
Social posts reach people who follow you. Google Ads reaches people who are searching for what you sell, right now. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Frequently asked questions
How do I create a mailto link with a subject?
Enter the address and subject in the mailto link generator. It builds a link like mailto:[email protected]?subject=Your%20subject, encoded correctly.
Can I add a message body?
Yes. Type the message, including line breaks, and it's added to the link as body=, with line breaks encoded as %0D%0A.
How do I send to several people?
Enter several addresses in To, Cc or Bcc, separated by commas, semicolons or spaces. They're joined with commas in the link.
Why doesn't my mailto link work?
The visitor may not have an email app set up. Show the address as text too, so they can copy it.
Can a mailto link add an attachment?
No. The mailto standard doesn't support attachments.
Is the mailto link generator free?
Yes. It's free with no sign-up, and it runs entirely in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.