A mailto link opens a new email in your mail app instead of a web page. The simplest one is mailto: and an address: mailto:anna@example.com. After a question mark, it can fill in more of the message: mailto:anna@example.com?subject=Picnic%20on%20Sunday&body=Bring%20a%20blanket starts an email with the subject and the first line already written. Several recipients are joined by commas, and cc and bcc add copies.

Mailto links sit behind "Email us" buttons, on contact pages and in email signatures. You check one before you put it on a page or in a newsletter, or when your app saves links that people type in.

Tool description

Type or paste a link into the Mailto link field, and the result shows as you type: "Mailto link is valid" or "Mailto link is not valid". Spaces and line breaks around a pasted link are ignored. The page has no settings.

What passes

  • mailto: in small letters, then one address or several joined by commas: mailto:anna@example.com,ben@example.com
  • After ?, the fields subject, body, cc and bcc, each used once at most and joined by &: mailto:anna@example.com?cc=ben@example.com&subject=Garden%20party
  • Links with fields but no address, such as mailto:?subject=Hello, and even a bare mailto:
  • Addresses with dots, plus signs or accented letters before the @, such as anna.smith+picnic@example.com

What fails

  • MAILTO: or Mailto: in capitals, and an address without mailto: in front
  • Addresses joined by semicolons, as some mail apps write them
  • Other fields, such as to, field names in capitals such as Subject, and a field used twice
  • Addresses that the Email Validator rejects with its default settings, such as one without a top-level domain (anna@localhost), one with an IP address as the domain, or one with a name, as in Anna <anna@example.com>. This goes for cc and bcc too.
  • An @ written as %40, since the check doesn't decode addresses

Good to know

  • The subject and body aren't checked at all, so plain spaces pass there, although a link should write them as %20.
  • The mailto standard also allows MAILTO: in capitals and fields such as to, so this check is stricter than the standard.
  • A valid link doesn't mean the addresses exist or can receive email.
  • To build a link with the subject and body encoded for you, use the Mailto Link Generator.

Features

  • Checks mailto links with one or more recipients
  • Checks the subject, body, cc and bcc fields
  • Checks every address, copies included
  • Results as you type, with no button to press
  • Runs in your browser, so nothing you type is sent anywhere