HTML Anchor Tag Generator
Anchor Tag Settings
Live Preview
Tips: Always add
rel="noopener noreferrer" when using target="_blank"
to prevent security vulnerabilities. Use rel="nofollow" for untrusted external links.
Features
- Link Types: URL, email (mailto:), phone (tel:), page anchor, and file download.
- Target Options: _blank, _self, _parent, _top.
- rel Attributes: nofollow, noopener, noreferrer, sponsored, ugc.
- Download Links: Generate download links with a custom filename.
- Live Preview: See the link render as you configure it.
- Security Tip: Reminder to add noopener/noreferrer with _blank.
How to Use
- Enter Text: Type the link label.
- Set href: Enter the URL, email, phone number, or anchor ID.
- Choose Type: Select the link type to auto-format the href.
- Configure: Set target, rel, title, class, and id.
- Copy: Click "Copy" to grab the generated tag.