Sometimes a link should not take over the tab the reader is standing in. Send someone to an external reference and the page they were reading is gone from view; many will never come back to it. Opening the destination in a new tab keeps your page open underneath, ready when the reader returns. In HTML that behavior is one attribute on the anchor tag, but it has a safety half that is easy to miss when tags are written by hand.
This guide explains the pairing: the target setting that asks for a new tab, and the rel=noopener default that should travel with it. It shows how to apply both to a whole list at once with the free URL to HTML Link Converter on Ovatly, which turns a plain list of URLs into ready-to-paste anchor tags.
Contents
- Quick answer
- What the target option changes
- The safety half: why noopener travels with it
- How to build new-tab links, step by step
- Worked example: the example.com anchor with target and noopener
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
To make a link open in a new tab with HTML, set the target option in the URL to HTML Link Converter to open in a new tab, and every anchor it generates carries target="_blank". Leave the rel=noopener box ticked, because it is ticked by default and makes new-tab links safer at no cost. Paste your URLs one per line, choose the link text style, set the target and rel options, then copy the generated HTML block into your page or template.
What the target option changes
By default, a link replaces the page in front of the reader: click, and the current tab navigates away. The target option on an anchor tag changes that instruction. Set it to open in a new tab and the tag carries target="_blank", which tells the browser to load the destination in a fresh tab and leave the current page exactly where it was.
On a single hand-written link that is one attribute to remember. On a list of thirty links it is thirty chances to forget it on one of them, which is why the converter treats it as a list-wide setting: choose it once, before you copy the block, and every generated anchor carries the same target. The label and the destination are unaffected; the target only decides where the destination opens.
The safety half: why noopener travels with it
A new-tab link without noopener leaves a connection back to your page that the opened page can use. The page you sent the reader to keeps a handle on the tab it came from, and that handle is a trust you extend to every destination you link to, including ones you do not control.
rel=noopener closes that connection. The new tab opens, the reader gets the destination, and the opened page holds no handle back to yours. That is why the converter ticks noopener by default: it makes target="_blank" links safer at no cost, and the links behave exactly the same for your visitors. The one reason to untick it is narrow: if a system you publish to strips the value anyway, leaving the box ticked changes nothing there. In every other case, the default is the right setting and the sensible habit is to leave it on.
How to build new-tab links, step by step
- Open the URL to HTML Link Converter and paste your URLs, one per line. Bare domains get https:// added automatically.
- Choose the link text style: the URL itself, just the domain, or your own wording with the
{url},{domain}and{n}placeholders. - Set the target option to open in a new tab, and check the rel options: noopener should be ticked already, and you can add sponsored for paid, affiliate or compensated links, nofollow for a link you do not want to endorse or cannot vouch for, or ugc for links inside user-submitted content.
- Copy the generated HTML block and paste it into your page or template. If you need the links as a list, switch the output format to the unordered list option and each anchor comes wrapped in an
<li>inside a<ul>, target and rel included.
Worked example: the example.com anchor with target and noopener
Start with the same input as a plain conversion: the line https://example.com, with the link text set to domain only. This time the target is set to open in a new tab, and the default noopener is left ticked. The converter returns:
<a href="https://example.com/" target="_blank" rel="noopener">example.com</a>
Read the tag part by part. The href holds the full address, complete with the standard trailing slash the converter adds to the root of the site. The label is the domain alone, as chosen. The target="_blank" attribute is the new-tab instruction, present because the target option was set. And rel="noopener" is the safety default riding alongside it, present because the box was left as the converter sets it. One input line produced the complete, correctly paired tag; a pasted list of fifty lines produces fifty of them, each with the same pairing.
Limitations and honest tradeoffs
The converter does not check that the sites are live. It only reads the text you paste and formats it, with no network requests, so setting the target changes how a link opens, not whether the destination works. Test important links after you publish them.
The safety described here is exactly the one the default provides, no wider. noopener closes the connection back to your page; it says nothing about whether the destination itself is trustworthy, and it is not a substitute for choosing links you are willing to send readers to. Unticking it, where a publishing system does not strip it, removes that property from every tag in the block. And as with any generated block, nothing is published for you: the tags take effect only once you paste them into a page or template that renders HTML.
Common mistakes
- Setting the target and unticking noopener out of habit. The default is ticked because the pairing is the safe one. Untick only when the system you publish to strips the value anyway.
- Adding the target to some links in a list by hand. One forgotten tag sends a reader away from your page mid-list. Set the option once in the converter so every anchor matches.
- Assuming a new-tab link means the destination was checked. The converter never visits the address. It formats text; verifying the destination is a separate step.
- Typing markup into custom link text. The text is HTML-escaped on purpose, so
<b>bold</b>appears as visible characters rather than formatting. Labels are text, not code. - Skipping the skipped-lines report. An invalid line is reported as skipped, never silently turned into a link, so a list you do not read can mean a link your page quietly lacks.
FAQs
Which setting makes a link open in a new tab? The target option in the converter. Set the target to open in a new tab and every anchor the converter generates carries that instruction, so one setting covers the whole list instead of editing each tag by hand.
Why is rel=noopener ticked by default?
Because it makes target=_blank links safer at no cost. A new-tab link without noopener leaves a connection back to your page that the opened page can use. The default closes that connection, and the links behave exactly the same for your visitors.
When should I untick noopener? Only if a system you publish to strips it anyway. In every other case, leave the default ticked: it costs nothing, and unticking it removes the safety property the new-tab setting needs.
When do I use sponsored, nofollow or ugc instead? Use rel=sponsored for paid, affiliate or compensated links. Use nofollow when you link to something you do not want to endorse or cannot vouch for, and ugc for links inside user-submitted content like comments.
Does the converter check that the sites are live? No. It only reads the text you paste and formats it, with no network requests. Setting the target changes how a link opens, not whether the destination works, so test important links after you publish them.
Conclusion
A new-tab link is a pairing, not a single attribute: target="_blank" to open the destination in a fresh tab, and rel=noopener, ticked by default in the URL to HTML Link Converter, to close the connection back to your page at no cost. Set the target once and the converter applies the pair to every anchor in your list. If the anchor tag itself is new to you, start with our companion guide on how to turn a URL into a clickable HTML link, which covers the href, the label and the text styles. For more guides in this series, see our URL and Link Tools guides.