About this tool
Build correct <a> tags for websites, emails and forum signatures — including safe new-tab links and SEO rel attributes.
How to use the HTML Link Code Generator
- Enter the link url, link text, title (optional) and open in.
- The result appears in the output box as you type.
- Copy the output or download it as a file.
How it works
Text and URL are HTML-escaped. New-tab links get rel="noopener noreferrer" to prevent the opened page controlling yours.
Frequently asked questions
When should I use nofollow or sponsored?
Use sponsored for paid or affiliate links and nofollow when you do not want to vouch for a link, per search-engine guidelines.