Mailto Link Generator — Email Links with Subject and Body

Build an email link that opens the visitor’s mail app with everything filled in: recipients, CC and BCC, a subject and a multi-line body. Special characters, line breaks and spaces are encoded correctly, and you can copy the raw mailto: URL, an HTML link, a styled button or Markdown — or click to test it.

Runs in your browserUpdated

mailto URL

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the Mailto Link Generator

  1. Enter one or more recipients (comma-separated), and optionally CC and BCC.
  2. Type the subject and the body — line breaks and special characters are encoded for you.
  3. Set the link text and choose an HTML link, a styled button or Markdown.
  4. Click Test it to open your mail app, then copy the code.

How mailto links are encoded

A mailto link is mailto:address?subject=…&body=…. Everything after the ? must be percent-encoded: spaces become %20 (not +, which some mail apps show literally), line breaks %0D%0A, and characters like &, ? and # are escaped so they don’t break the link. Several recipients are separated with commas.

Limits to know

  • Keep links under about 2,000 characters — some browsers and mail apps cut off longer ones.
  • The link only works if the visitor has a mail app set up; offer the plain address too, or use a contact form.
  • Addresses in the page are visible to spam bots. Spam protection is easier with a form than with a mailto link.

Related: WhatsApp Link Generator, URL Encoder, Email Signature Generator.

Also searched as: mailto link with subject, mailto body line break, email link generator, mailto cc bcc, html email link, mailto url encoder, create mailto link.

Tools that pair well with the Mailto Link Generator

  • Social Share Link Generator — Build “share this” links for 12 networks without plugins or tracking scripts — copy single links, the HTML for share buttons, or a tiny script that shares the current page on any Webflow CMS template.
  • QR Code Generator — Generate a QR code for a link, Wi-Fi login, contact card, email, phone number or SMS.
  • UTM Builder — Add utm_source, utm_medium, utm_campaign and friends to any link, see which GA4 channel the visit will land in, and tag a whole list of URLs at once.
  • Email Header Analyzer — Paste the raw headers of an email to see its whole journey: every server hop with the time it took, the SPF, DKIM and DMARC results, the originating IP, and warning signs like a mismatched Reply-To or Return-Path.

Frequently asked questions

How do I add a subject to a mailto link?
Add ?subject= followed by the encoded subject: mailto:hello@example.com?subject=Hello%20there. The generator encodes it for you.
How do I add a line break in a mailto body?
Use %0D%0A for each line break. Type the body with normal line breaks here and they are encoded automatically.
Can a mailto link have several recipients?
Yes — separate addresses with commas in To, and use the cc and bcc parameters for copies.
Why does my mailto link do nothing?
The visitor has no default mail app set, or the link is too long. Keep it under about 2,000 characters and show the email address as text as a fallback.
Can I install Mailto Link Generator as a web app and use it offline?
Yes. Mailto Link Generator is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools