1. Home
  2. Developer tools
  3. URL Defanger

URL Defanger

Share suspicious links in tickets and chat without anyone clicking them. Defang a block of text, refang it for analysis, or clean tracking from ordinary URLs.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use URL Defanger

  1. Paste text containing URLs, IPs or e-mail addresses.
  2. Choose defang, refang or clean.
  3. Copy the result.

Features

  • hxxp, [.], (.) and [dot] styles
  • Defangs URLs, domains, IPv4 addresses and e-mails
  • Leaves file names such as report.txt alone
  • Refangs common defanged styles
  • Removes utm_*, fbclid, gclid and similar parameters
  • Strips fragments and embedded credentials

Supported formats

Input

  • Typed or pasted text

You get

  • Defanged text
  • Refanged text
  • Cleaned URLs

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the URL Defanger is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Defanging only prevents accidental clicks and previews; it does not make a link safe.
  • Unusual defanging styles are not all recognised when refanging.

Guide

Defanging links and indicators for safe sharing

When you paste a suspicious link into a ticket, a chat or an e-mail, there is a real risk that someone clicks it, or that a mail client fetches it to build a preview. Security teams therefore rewrite indicators so that they stop working as links. This is called defanging. The reverse step, refanging, restores the original so the indicator can be looked up. This page does both for whole blocks of text, and has a third task for the opposite problem: stripping tracking junk from ordinary links.

What defanging changes

Four substitutions cover nearly every convention. The scheme http becomes hxxp, so https:// turns into hxxps://. Dots become [.], (.) or [dot]. An @ in an address can become [@], and the :// can be written [://] if a system still links the rest. You can choose which of these to apply, and whether every dot is rewritten or only the one before the top-level domain. IPv4 addresses are handled too, so 203.0.113.9 becomes 203[.]0[.]113[.]9.

A worked example

The sample text is a short phishing report: a login-lookalike URL with utm_source and fbclid parameters, a command-and-control address with a port and a path, a reply-to address, and a line saying “report.txt and notes.md are not domains”. With the default options the page produces hxxps://secure-login[.]bank-update[.]example[.]com/verify?id=42&utm_source=mail&fbclid=XYZ, then 203[.]0[.]113[.]9 and hxxp://evil[.]example[.]net:8080/gate[.]php, then billing[@]invoice-pay[.]example[.]org. The last line is untouched: report.txt and notes.md do not end in a real top-level domain, so they are left readable.

Refanging

Switch to Refang to turn such text back into live indicators before you search for them. The page understands the styles above, plus [at] for the at sign, and leaves anything else alone. Refang only in a place where an accidental click is harmless, and never in a document that others will open.

The third task takes one URL per line and returns a tidier version. It removes the utm_* family, fbclid, gclid, msclkid and similar click identifiers, the fragment after #, and any user name and password written into the address. A note under the result lists what was removed from each line. This is useful when you share a link publicly and do not want to pass along who clicked it or where from.

Limits

Defanging only prevents accidents; a defanged link is still a pointer to a hostile site, and automated scanners may refang it. The page does not look up reputation, resolve domains or check redirects. Unusual obfuscation, such as Base64 or split strings, is not reversed.

Good habits when sharing indicators

Defang at the moment of writing, not later, and say in the document which style you used. Keep a refanged copy only in the tool that needs it, such as a sandbox or a threat-intelligence platform. In chat tools that auto-link text, check that the defanged form really stays inert, since some linkers recognise bracketed dots. When you must share a live link with a colleague, send it in a message of its own with a warning rather than hiding it in a long paragraph.

Checked against the current version of the URL Defanger on .

Frequently asked questions

Which defang style should I use in a report?

The bracket-dot style [.] with hxxp is the most widely recognised, and most analysis tools refang it automatically. Use one style across a report so readers and scripts can reverse it reliably.

Does cleaning a link change where it goes?

Removing tracking parameters normally does not change the destination, but some sites use parameters for real content, so the page lists what it removed from each line and you can check it.

Why not just write the link in a code block?

Many chat, ticket and e-mail systems turn text into links anyway, and screenshots and copies lose the formatting. Changing the characters themselves is reliable.

Does defanging make a link safe to open?

No. It only prevents accidental clicks and automatic link previews. Refang it before you analyse it, and open it only in an isolated environment.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.