Mailto Link Generator
A plain email link opens a blank message. A good one opens a message with the subject already filled in and the body half written.
Build a mailto link with recipients, Cc, Bcc, a subject line, and a pre-filled message body — correctly URL-encoded and ready to paste into a web page or document.
How It Works
A mailto link is a normal link whose address starts with mailto: instead of https://. Clicking it opens the visitor's default email app with a new message addressed to the email in the link. Extra fields are added as a query string after a question mark: ?subject=... fills the subject line, &body=... fills the message body, and &cc=... and &bcc=... add copied recipients. Multiple recipients in any field are separated by commas. If you need to gather the addresses first, an email extractor can pull every address out of a document or chat log.
Every value is URL-encoded before it goes into the link: spaces become %20, line breaks become %0A, and characters like &, ? and # become %26, %3F and %23. That encoding is essential — an unencoded & in a subject line would be read as the start of a new parameter and cut the subject short. This generator encodes everything correctly, including multi-line bodies, so the link works exactly as written in every email app.
The output gives you the raw link, a clickable test link that opens it in your own email app, and an HTML version (<a href="mailto:...">) ready to paste into a web page. Everything runs in your browser — no address is ever sent anywhere.
Worked Example
The example — To hello@example.com, subject "Question about your guide", body "Hi there,\n\nI read your guide and have a quick question." — generates mailto:hello@example.com?subject=Question%20about%20your%20guide&body=Hi%20there%2C%0A%0AI%20read%20your%20guide%20and%20have%20a%20quick%20question. Note the %20 spaces, the %2C comma, and the %0A%0A double line break — all exactly as the mailto standard requires.
How to Use This Tool
Fill in the recipient and any optional fields, then click Generate Mailto Link.
- Enter the recipient. One email address in the To field. Add Cc and Bcc addresses if the message should be copied to others — separate multiple addresses with commas.
- Add a subject and body. Both are optional, but a pre-filled subject makes it far more likely the sender writes a useful message — and makes your inbox easier to filter.
- Copy the link or the HTML. Use Copy Link for the raw mailto URL, or copy the HTML version to paste into a web page. Click Test Link to check it opens correctly in your email app.
The example on the page builds a link to hello@example.com with a subject and a two-paragraph body. Reset restores it.
Tips and Practical Advice
Mailto links are simple, but a few details decide whether they actually get used.
- Keep bodies short. A pre-filled body longer than a few lines annoys more than it helps — and very long mailto URLs can break in some email apps. A greeting and one line of context is enough.
- Use the subject for filtering. A distinctive subject ("Question about your guide") lets you filter incoming mail automatically and tells the sender their message will reach the right place.
- Remember not everyone has an email app set up. Visitors who use webmail without a default mail app may get an error or a setup prompt from a mailto link. For a contact page, offer a contact form as well. For phone numbers rather than email addresses, a phone number validator checks the format.
- Do not put a mailto link in a public place without spam protection. Plain email addresses in page HTML are harvested by spam bots. This generator is for links you control — for a public site, consider a contact form instead of a raw address.
How Mailto Links Are Encoded
A mailto link follows RFC 6068, the standard that defines the mailto URI scheme. Its structure is simple: mailto: followed by the recipient, then a question mark and one or more headers as name=value pairs joined by & — subject, body, cc, bcc and even to. Everything after the question mark is a query string, exactly like the parameters in a web URL — which is why the same encoding rules apply.
Those rules are percent-encoding, defined by RFC 3986: any character that has a special meaning in a URL, or is not allowed in one, is replaced by a % sign and its two-digit hexadecimal code. Spaces become %20, commas %2C, question marks %3F, ampersands %26 and line breaks %0A. The ampersand is the dangerous one — an unencoded & in a subject line is read as the start of a new parameter, silently cutting the subject short and creating a bogus header. That is the single most common reason a hand-written mailto link breaks.
Here is a full example. An email to support@example.com with the subject “Question about pricing?” and a two-paragraph body becomes mailto:support@example.com?subject=Question%20about%20pricing%3F&body=Hi%20SumKit%20team%2C%0A%0AI%20have%20a%20question%20about%20your%20mortgage%20calculator. Every space is %20, the ? at the end of the subject is %3F (so it is not read as a second query string), the comma after “team” is %2C, and the blank line between the paragraphs is the double line break %0A%0A. Paste this into a browser address bar and your email app opens with the message exactly as written.
A few practical notes. Spaces must be %20, not + — the plus sign means a space only in form data, not in a mailto URI, where + is a literal plus. Multiple recipients go in the To field separated by commas, or in cc= and bcc= parameters. Keep the whole link reasonably short: bodies of a few hundred characters are fine, but very long mailto URLs can be truncated by some email apps, so a contact form is the better tool for long messages. And remember that a mailto link only opens the sender’s email app — nothing is sent until they press send, and visitors with no email app configured will see an error or a setup prompt instead.
Last reviewed: 21 November 2026.
Frequently Asked Questions
What is a mailto link?
A mailto link is a link that opens the visitor's email app with a new message. It starts with mailto: followed by the address, and can include a subject, body, Cc and Bcc as a query string — for example, mailto:hello@example.com?subject=Hello.
How do I add a subject to a mailto link?
Add ?subject=Your%20Subject after the address, with spaces encoded as %20. This generator does the encoding for you — type the subject normally and the link comes out correctly encoded.
Can a mailto link have a pre-filled message body?
Yes — add &body=Your%20message after the subject. Line breaks become %0A, so multi-line bodies work too. Keep the body short: very long mailto URLs can break in some email apps.
Why is my mailto link not working?
The most common cause is unencoded special characters: an & in the subject splits the link into two parameters. This generator encodes everything. If the link still fails, the visitor may have no default email app set up — a contact form is the reliable fallback.
Can a mailto link send to multiple people?
Yes — put several addresses in the To field, separated by commas, or add cc= and bcc= parameters after the subject. The To addresses are checked for valid format; cc and bcc addresses are encoded as entered, so check their spelling.
Why do spaces show as %20 instead of +?
In a mailto URI, + is a literal plus sign — it only means a space in form data (application/x-www-form-urlencoded). RFC 6068 mailto links use percent-encoding, so spaces must be written as %20. This generator encodes spaces as %20 automatically.
Last updated: