Developer Tool
HTML Link Builder
HTML Link Builder helps clean or transform pasted text quickly in the browser. Use it online on EasyTools99.
Tool area
Everything runs in the browser.
Reference results
| Input | Result |
|---|---|
https://example.com/menu
Menu | <a href="https://example.com/menu">Menu</a> |
https://example.com/hours
Library hours | <a href="https://example.com/hours">Library hours</a> |
https://example.com/registration
Register for class | <a href="https://example.com/registration">Register for class</a> |
https://example.com/paper | <a href="https://example.com/paper">Link text</a> |
https://example.com/products?id=3&colour=blue
Product details | <a href="https://example.com/products?id=3&colour=blue">Product details</a> |
https://example.com/exhibition
Paper & colour | <a href="https://example.com/exhibition">Paper & colour</a> |
How it works
Put the address on the first line and the clickable text on the second. The builder puts them into the link markup and encodes characters such as & as HTML entities. If you omit the clickable text, the generated link uses the default label Link text.
Worked examples
- A librarian gives the opening-hours link a descriptive label and previews it before sending a bulletin.
- A catalogue editor copies an address with query parameters and follows the link to check the intended product variant.
- A club links to its enrolment form and chooses a label that still makes sense when read out of context.
Common pitfalls
- Putting the label on the address line.
- Giving several links the same vague name.
- Treating generated markup as a safety check for the destination.
The builder reads the first two lines. Paste the tag into a block that accepts HTML. Check the address and the expected destination, particularly for relative links.
FAQ
How do I create an HTML link from a URL?
Enter the URL on the first line and the label on the second.
How does HTML encode an ampersand in a link?
It is the HTML entity for an ampersand. The browser interprets it as &.
How can I check the eventual destination?
Follow the link in a preview and inspect the page you reach after any redirects.
