Link Code

HTML Email Link Code

A mailto link opens the visitor's default email app with the address already filled in.

Live Tool
email-link.html Live

          
Preview

1How To Use

Follow these steps — no coding experience needed.

  1. Add the email addressWhere should the message go?
  2. Add an optional subjectPre-fills the subject line for the visitor.
  3. Copy the codeClicking it opens their default email app.

2Example Output

What this code looks like once it's on a real page.

3Browser Compatibility

BrowserSupportNotes
Chrome✓ SupportedFull support
Firefox✓ SupportedFull support
Safari✓ SupportedFull support
Edge✓ SupportedFull support
Opera✓ SupportedFull support
Mobile browsers✓ SupportedFull support, iOS & Android

Supported in every current browser — Chrome, Firefox, Safari, Edge and Opera all render this identically, on both desktop and mobile.

Related Pages

More tools that pair naturally with this one.