Clean, strip, or de-duplicate HTML anchors instantly.
This tool is free to use
If it saved you some time, consider buying me a coffee to support future updates.
Buy me a coffeeLinkPurge processes a block of HTML and manages its anchor links in bulk, based on the mode you pick: strip every link entirely (keeping the visible text), remove duplicates so each URL only links once, randomly sample one instance of each repeated URL, or strip everything except in-page "#" jump links.
In every mode, unwrapping a link keeps its text content in place — nothing readable is deleted, only the <a> tag itself. This is useful for cleaning up over-linked content pulled from a CMS export, a scraped page, or content that's accumulated redundant links over several edits.
Yes, completely free with no account or usage limit.
"Strip All Links" removes every link. "First Instance Only" keeps the first occurrence of each URL and removes repeats. "Random Sampling" keeps exactly one randomly chosen instance of each repeated URL instead of always the first. "Preserve Anchors" removes external links but leaves in-page "#" jump links untouched.
No. All processing happens locally in your browser using the DOM — nothing is sent to a server.
No — when a link is removed, its visible text stays in place. Only the <a> wrapper is stripped, not the words inside it.
Two links are considered duplicates if they have the exact same href value. Links with no href are left untouched in duplicate-detection modes since there's nothing to compare.