HTML Link (Anchor Tag) Generator: rel, target, UTM, mailto
Write link markup without forgetting rel="noopener" or escaping the attributes.
Use the tool
Why this tool exists
Enter the destination and text, choose web page, email, phone or download, and optionally a title, new-tab behaviour, a rel value (nofollow, sponsored, ugc) and UTM source, medium and campaign. The output escapes attributes, adds rel="noopener" for new tabs, normalises tel: numbers, validates email addresses and refuses javascript: links.
Choose descriptive link text; "click here" tells screen-reader users and search engines nothing. Use rel="sponsored" for paid links and ugc for user-generated content.
No data is sent anywhere: the work happens in your browser, so you can use it offline once the page has loaded.
How to use it
- Enter the URL, email or phone number.
- Choose the link type, title and rel.
- Optionally add UTM parameters.
- Copy the tag.
Frequently asked questions
When do I need rel="noopener"?
For target="_blank" links; browsers imply it now, but it is still good practice.
What is rel="sponsored"?
A hint to search engines that the link is paid or an affiliate placement.
Does it shorten URLs?
No.
Is my data sent anywhere?
No. Everything is processed in your browser, and the page makes no network requests with your input.