Skip to content
TextArray
100% local

Mailto link generator

Build a mailto link with recipients, cc, bcc, subject and a prefilled body.

Output

Mailto link generator

Enter an address, a subject and an optional prefilled body, and the tool assembles a complete mailto link: whoever clicks it lands in their own mail client with a message already drafted to you. Put it behind the "Contact us" button on a website, in a newsletter footer, behind a "Report a problem" support link in an app, or in documentation where a plain address would force readers to copy and paste.

The To field takes several addresses separated by commas, and the Cc and Bcc fields work the same way. Subject and body are URL-encoded for you, so spaces, diacritics, emoji and characters like & or ? survive intact — the most common reason hand-written mailto links break. The body field is a single line, but typing \n inserts a real line break (encoded as %0A), so a two-paragraph template with a greeting and a placeholder is no problem. The Output switch wraps the finished link as an HTML anchor for a web page or a Markdown link for a README, so you can paste it straight into your code.

One caveat worth knowing: any address published inside a mailto link is readable by the same bots that scrape pages for plain-text addresses, so expect some spam on it eventually. For a high-traffic page, a dedicated address you can rotate — or a contact form — is the safer companion.

Everything runs in your browser. The addresses, subject and body never leave your device; the link only reaches a mail client when someone actually clicks the published result.

FAQ

How do I get line breaks into the body?
Type \n where the break should go. The tool converts it to a real line break and encodes it as %0A, which mail clients render as a new line in the drafted message.
Can I send to several people, or add cc and bcc?
Yes. Separate addresses with commas in the To field, and use the Cc and Bcc fields the same way. All of them end up in the one link and open pre-addressed in the mail client.
Will publishing a mailto link attract spam?
It can. The address sits in the page source, where address-harvesting bots find it just like plain text. Use an address you are prepared to filter or rotate, or offer a contact form on high-traffic pages.
Are the addresses or the message uploaded anywhere?
No. The link is assembled entirely in your browser and nothing you type leaves your device. A mail client first sees the content when someone clicks the finished link.