How to use the mailto link generator
- 1Enter one or more recipients, separated by commas.
- 2Add a subject, a message, and CC or BCC if needed.
- 3Copy the link in the format you need, or press Test to open it in your mail app.
Encoding
Spaces, line breaks, ampersands and accented letters must be percent-encoded inside a mailto link or the subject and body are cut off at the first special character. The generator encodes each field, uses %0D%0A for line breaks as the standard requires, and leaves the addresses readable.
Keep the body short. Some mail apps ignore links longer than about 2,000 characters; the generator shows the length and warns before that point.
Questions about the mailto link generator
How do I add a subject to a mailto link?
Append ?subject= followed by the encoded text: mailto:someone@example.com?subject=Hello%20there. Further fields are joined with &.
Can a mailto link attach a file?
No. There is no standard way to do it, and mail apps ignore attachment parameters for security reasons.
Why does nothing happen when I click the link?
The device has no default mail app set. On Windows and macOS, choose a default mail application in system settings; in Chrome, allow Gmail to handle email links.