Want a Contact us button that opens a new email with the subject already filled in? This free mailto link generator builds the link for you — add recipients, a subject and a message, and copy a ready-to-paste link or HTML anchor. Everything runs in your browser, nothing is uploaded, and there is no account to create.
The generator encodes spaces, line breaks and special characters correctly, so the subject and body arrive exactly as you wrote them in Gmail, Outlook and Apple Mail. For a related job, try the Iframe Generator or the WhatsApp Chat Widget Generator.
How to use
- Type the recipient email address into the To box above — add more with commas if needed.
- Fill in the subject and the message body, and add CC or BCC addresses if you want them.
- Click Generate link to build the mailto link and the HTML anchor code.
- Copy the link or the code, paste it into your page or email, and test it before sending.
Why use Toolsvine
A Contact us button that opens a pre-addressed email with the subject Request a quote and a two-line message saves every visitor from typing an address by hand, and it works in every mail app without a form backend. Most link builders forget to encode spaces and line breaks, so the message arrives garbled, but this one encodes every character correctly. It is free, needs no account, and the link it produces opens Gmail, Outlook and Apple Mail alike.
How does the mailto link generator work?
Yes. Type an email address, a subject and a message, and the tool builds a mailto link in your browser. A mailto link is a special web address that tells the browser to open the visitor's email app with a new message already addressed, with the subject and body filled in, so the visitor only has to press Send.
The generator encodes every space, line break, ampersand and question mark, because those characters have special meanings inside a web address and would break the link if left raw. It also builds the full HTML anchor tag, so you can paste it straight into WordPress, Shopify or plain HTML, and it shows a live preview link you can click to test.
Worked example: a Contact us link for a sales team
Take a sales page that needs a Contact us button. Set the recipient to [email protected], copy [email protected], set the subject to Request a quote and the body to a two-line message asking for pricing. The result is a single mailto link about 160 characters long that opens a ready-to-send email in any mail app. Paste the matching anchor tag into the page and the button works on desktop and mobile alike.
| Detail | Value in the example |
|---|---|
| To | [email protected] |
| CC | [email protected] |
| Subject | Request a quote |
| Body | Hi, I would like a quote for 50 units. |
| Link length | About 160 characters |
Try it yourself: type the same addresses above and the link should match. If the preview opens a blank email, check the address spelling — a single typo sends the message to the wrong inbox.
What should I watch out for with mailto links?
The most common mistake is an unencoded ampersand or question mark in the subject or body. Those characters split a web address into pieces, so everything after them gets cut off or misread. This generator encodes them for you, but if you ever hand-write a mailto link, encode every special character or the message will arrive broken.
A second mistake is relying on mailto as your only contact method. Visitors without a mail app set up — common on shared computers and tablets — cannot use it at all. Always pair a mailto button with a visible email address or a contact form. For a related job, the WhatsApp Chat Widget Generator builds a chat button for the same page.
Frequently asked questions
Will a mailto link work on a phone?
Yes. Tapping a mailto link on a phone opens the default mail app with a new message already addressed. It works in Safari, Chrome and every in-app browser. If the phone has no mail app configured, the tap does nothing, which is why a visible email address next to the link is a good backup for mobile visitors.
Can I add more than one recipient?
Yes. Separate addresses with commas, and the generator includes all of them in the To field. You can do the same for CC and BCC. Keep the list short — a mailto link with a dozen recipients looks like spam to mail apps, and some apps cut off very long links. For newsletters, use a real email tool instead.
Why do spaces break my hand-written mailto link?
Because a web address cannot contain a raw space. Spaces must be encoded as percent 20, line breaks as percent 0A, and characters like the ampersand and question mark must be encoded too. This generator encodes all of them for you, so paste your text here and copy the finished link instead of typing it by hand.
Can I prefill the body with line breaks?
Yes. Type the message with normal line breaks in the body box and the generator turns each break into a percent 0A code, so the email opens with the lines exactly where you put them. Keep the body short — a greeting, one request and a sign-off — because long prefilled messages get trimmed by some mail apps.
Does a mailto link send the email by itself?
No. A mailto link only opens the visitor's email app with a message ready to send. The visitor still has to press Send, and nothing is sent without them. That is a feature, not a bug: the visitor controls their own email, and your site never touches their inbox or their address.