Skip to content
Free, no account, runs in your browser

Email link generator: mailto links with subject and message

Fill in who the email goes to and what it should say, and get a link that opens a ready-to-send email in the visitor's mail app. Nothing you type is sent to us.

Updated

Separate several addresses with commas.

mailto link Add at least one address.
HTML snippet
How do I create a mailto link with a subject and body?Start with mailto: and the address, then add ?subject= and &body= with the text percent-encoded: spaces as %20 and line breaks as %0D%0A. Separate several recipients with commas and add &cc= or &bcc= if needed. For example: mailto:sales@example.com?subject=Quote%20request&body=Hi%2C. This tool does the encoding and gives you the HTML link and a QR code.

How to use it

  1. Add the recipients

    Enter one or more To addresses, and cc or bcc if you need them. Several addresses are joined with commas.

  2. Write the subject and message

    Type normally, with line breaks. The tool encodes spaces, line breaks and symbols such as &, ? and # so nothing gets cut off.

  3. Copy the link or the HTML

    Copy the mailto: link, or the ready-made <a href> snippet for your website or email signature.

  4. Download the QR code (optional)

    For print, download the QR code. Scanning it opens a new email with everything filled in.

How a mailto link is put together

The mailto: format is defined in RFC 6068. After mailto: come the addresses, then a ? and header fields joined with &. The standard is strict about encoding: line breaks in the body must be written as %0D%0A, spaces should be %20, and characters that have a job in the link (?, & and = and also #) must be encoded when they appear in the text.

  • Why + is not a space here. Some form software writes spaces as +, but in an email address + is a real character (as in jane+news@example.com). RFC 6068 says spaces should be %20 for that reason, and the tool follows it.
  • Bcc is not secret in the link. Anyone who looks at the link or the page source can see the bcc address, so do not use it for anything you would not publish.
FieldWritten asExample
ToRight after mailto:, commas between addressesmailto:anna@example.com,ben@example.com
Subject?subject=?subject=Quote%20request
Body&body=, line breaks as %0D%0A&body=Hi%2C%0D%0APlease%20send%20a%20quote.
Cc&cc=&cc=team@example.com
Bcc&bcc=&bcc=archive@example.com

Where mailto links work well, and where they don't

A mailto: link opens whatever mail app the visitor has set as the default. On phones and in email signatures that is usually exactly what people want. On shared or work computers it may open an app nobody uses, so on a website keep the address visible as text as well, so people can copy it.

  • Good for: support and sales contact links, "email us for a quote" buttons, feedback links in newsletters, and QR codes on printed forms or packaging that start a pre-written request.
  • Less good for: long messages (keep the body short), attachments (mailto: cannot attach files), and anything you need to track, because a mailto: click leaves no record on your side.
  • Spam: an address published in a link can be collected by spam bots, so consider a dedicated address such as sales@ for public pages.

Need to know who scanned or tapped?

A static mailto: QR code from this page works without any service, but you will never know how many people scanned it, and you cannot change the address after printing. BN Shortener's dynamic QR codes include an email type (to, subject and body): the printed code stays the same while you can change what it does, and each scan is counted. The Free plan includes 5 dynamic QR codes. If you would rather collect messages through a form, a bio page can hold a contact form block whose messages are emailed to you.

Sources

  1. RFC 6068: The 'mailto' URI scheme, checked 2026-10-23
  2. Barcode contents: email addresses, ZXing project wiki, checked 2026-10-23

Questions

How do I add a line break in a mailto body?

Write it as %0D%0A, which is a carriage return plus a line feed. RFC 6068 requires this form. The tool converts the line breaks you type automatically.

How do I send to several people with one mailto link?

Put the addresses after mailto: separated by commas, such as mailto:anna@example.com,ben@example.com. Use cc= and bcc= for copies.

Why does my subject get cut off at the & sign?

An unencoded & starts a new field, so everything after it is lost. Encode it as %26. The generator encodes &, ?, # and = for you.

Can I attach a file with a mailto link?

No. The mailto: format has no way to attach files. Link to the file in the body instead, for example with a short link.

Does a mailto link work on phones?

Yes. Tapping it opens the phone's default mail app with the fields filled in. Scanning a mailto: QR code does the same.

Is anything I type sent to your server?

No. The link, HTML snippet and QR code are built in your browser and are not stored.

Try it on your next link

The Free plan includes a custom domain, 5 dynamic QR codes, a bio page and click analytics. No credit card.