IOC Defanger / Refanger
Paste URLs, domains, IPs or email addresses and instantly defang them for safe sharing in reports, tickets and chat -- or refang defanged indicators back into a usable form.
Text is transformed entirely in your browser. Nothing you paste here -- including live malicious indicators -- is sent to a server or stored.
What this tool does
The IOC Defanger rewrites URLs, domains, IPv4 addresses and email addresses so they can't be accidentally clicked, resolved, or auto-linked when pasted into email, chat, tickets or reports. "Refang" reverses the process, restoring the original indicator so it can be fed into scanners, SIEMs or threat intel platforms.
Why security professionals use it
When analysts share indicators of compromise (IOCs) with colleagues, vendors, or in public writeups, an active hyperlink or clickable email address is a real risk -- someone might click it, a mail gateway might follow it, or an auto-linking tool might render it as a live link. Defanging is a long-standing SOC and threat-intel convention: replacing characters like ., @ and :// with bracketed equivalents ([.], [@], [://]) keeps the indicator readable and identifiable without it being "live."
How it works
Defanging replaces http with hxxp, https with hxxps, every literal dot with [.], @ with [@], and :// with [://]. Refanging applies the inverse substitutions in the opposite order so a previously defanged indicator becomes usable again.
Step by step
- 1Paste one or more IOCs -- URLs, domains, IPs or emails -- into the text box, one per line or inline in a sentence.
- 2Click Defang to make every indicator safe to paste elsewhere.
- 3Click Refang on defanged text to restore the original, clickable/resolvable form for tooling.
- 4Use Copy to grab the result, or Clear to start over.
Practical examples
http://evil-domain.com/login becomes hxxp[://]evil-domain[.]com/login.
attacker@phish.net becomes attacker[@]phish[.]net.
185.220.101.7 becomes 185[.]220[.]101[.]7.
Common mistakes
- Forgetting to defang before pasting into ticketing systems or chat tools that auto-preview links.
- Defanging indicators that are meant to go directly into a scanner or SIEM query -- refang first.
- Assuming defanging alone makes a sample or link 'safe' to interact with; it only prevents accidental auto-resolution, not investigation risk.
- Manually retyping dots and slashes, which is slow and easy to get wrong on long IOC lists.
Security considerations
Defanging is a communication safeguard, not a technical control. It doesn't sandbox, sanitize, or neutralize malicious content -- it just stops the text from being interpreted as a live link or address by mail clients, chat apps and browsers. Continue to follow your organization's safe handling procedures (isolated analysis environments, no direct browsing to suspicious URLs) when actually investigating an indicator.
Frequently asked questions
Why replace dots with [.] instead of just removing the link?
Keeping the visual structure of the indicator lets readers still recognize and analyze it, while preventing it from being auto-linked or resolved. Removing information entirely would make the report less useful.
Is defanging a standardized format?
There's no single official standard, but hxxp/hxxps and bracketed [.], [@], [://] are the de facto convention used across most SOCs, CERTs and threat intel reports.
Will refang always perfectly restore the original text?
For indicators defanged with the common convention, yes. Non-standard defanging styles (e.g. 'dot' spelled out, or different bracket characters) may not be recognized.
Does this tool detect what type of indicator I pasted?
It highlights how many IOC-like patterns (domains, IPs, URLs, emails) it detected in the text, but it does not perform reputation lookups or classify indicators as malicious.
Related tools
File Hash Calculator
Compute SHA-256, SHA-384 and SHA-512 file hashes without uploading the file anywhere.
Unix Timestamp Converter
Convert Unix timestamps to readable UTC dates and back, in seconds or milliseconds.
Security Log Analyzer
Paste sample logs and extract IPs, timestamps, users, URLs and severity indicators.