Mailto Link Generator
Generate RFC-compliant mailto links with advanced anti-spam obfuscation, custom templates, and QR code integration. Perfect for developers and email marketers.
About
The mailto: URI scheme is the standard method for creating email hyperlinks on the web, defined primarily by RFC 6068. While seemingly simple, improper implementation often leads to broken links, particularly when dealing with special characters, line breaks, or multiple recipients. A robust implementation requires strict percent-encoding of the subject and body parameters to ensure compatibility across diverse clients like Outlook, Gmail, and Apple Mail.
This tool addresses the two most critical failures in email link generation: Character Encoding and Spam Vulnerability. By automatically converting reserved characters (e.g., &, ?, =) into their hexadecimal equivalents and offering HTML entity obfuscation, this generator produces production-grade code that resists scraping bots while maintaining full user accessibility.
Formulas
The syntax for a mailto URI is structured as a scheme followed by the recipient path and an optional query string for headers.
Where the headers component is a query string of key-value pairs:
Crucially, the body parameter must treat newlines as the sequence %0D%0A (CRLF) rather than typically ignored encoded whitespace.
Reference Data
| Character | Name | Percent-Encoded | HTML Entity (Dec) | HTML Entity (Hex) |
|---|---|---|---|---|
| SPACE | Space | %20 | ||
| @ | At Sign | %40 | @ | @ |
| : | Colon | %3A | : | : |
| / | Slash | %2F | / | / |
| ? | Question Mark | %3F | ? | ? |
| = | Equals | %3D | = | = |
| & | Ampersand | %26 | & | & |
| LF | Line Feed | %0A | ||
| CR | Carriage Return | %0D | ||
| , | Comma | %2C | , | , |
| % | Percent | %25 | % | % |
| < | Less Than | %3C | < | < |
| > | Greater Than | %3E | > | > |
| # | Hash | %23 | # | # |
| $ | Dollar | %24 | $ | $ |