Turn domains and URLs into hosts, AdGuard, Pi-hole, RPZ, dnsmasq or Unbound blocklists.
IOC Converter
Use IOC Converter
What it does
Paste indicators of compromise or any text. The converter refangs and classifies URLs, domains, IP addresses, e-mail addresses and hashes, merges duplicates and writes them as a STIX 2.1 bundle, a MISP event, CSV, Suricata rules or a YARA skeleton.
It runs entirely in your browser: nothing you enter is uploaded.
How to use IOC Converter
- Paste IOCs or a report. Paste a list or any text. Defanged forms like hxxps:// and [.] are turned back into real values. Text after a tab or " # " on a line becomes the comment of that line's IOCs.
- Choose the output format. Pick STIX 2.1, MISP event, CSV, Suricata rules or YARA rule skeleton. Extra fields appear for MISP (title, threat level, analysis, distribution), Suricata (first sid) and YARA (rule name, author).
- Decide on URL hosts. Tick Also add the host of each URL if you want the host of every URL as its own domain or IP indicator.
- Convert. Press Convert or Ctrl+Enter. Switching the format or a MISP menu afterwards updates the output at once; after typing a title, sid or rule name, press Enter or Convert.
- Review before export. Read the summary and any Not in this format box, then open IOCs found to check every value and comment.
- Copy, download or pass on. Copy the output or download it with the file name shown. Send to… opens it in the Blocklist Converter or the Abuse Report Generator.
Example
Drainer campaign IOCs with comments
hxxps://connect.wallet-verify[.]example/claim # drainer landing page
wallet-verify.example
198.51.100.23
2001:db8::23
support@wallet-verify.example
44d88612fea8a8f36de82e1278abb02f # EICAR test file6 unique IOCs: URL 1 Domain 1 IPv4 1 IPv6 1 E-mail 1 MD5 1
Each IOC is an indicator (spec_version 2.1, indicator_types malicious-activity) with a STIX pattern; the bundle and indicator IDs are random UUIDv4 values.
STIX 2.1 bundle (JSON)
{
"type": "bundle",
"id": "bundle--9bbd66dc-1735-4610-9fa4-1728d2d24160",
"objects": [
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--76bed4a1-d4de-40e2-990f-618d4808917c",
"created": "2026-10-20T17:09:59.108Z",
"modified": "2026-10-20T17:09:59.108Z",
"name": "https://connect.wallet-verify.example/claim",
"indicator_types": [
"malicious-activity"
],
"pattern": "[url:value = 'https://connect.wallet-verify.example/claim']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2026-10-20T17:09:59.108Z",
"description": "drainer landing page"
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--795d119e-5917-4254-a8be-be240749baf6",
"created": "2026-10-20T17:09:59.108Z",
"modified": "2026-10-20T17:09:59.108Z",
"name": "wallet-verify.example",
"indicator_types": [
"malicious-activity"
],
"pattern": "[domain-name:value = 'wallet-verify.example']",
"pattern_type": "stix",
"pattern_version": "2.1",
"valid_from": "2026-10-20T17:09:59.108Z"
},
{
"type": "indicator",
"spec_version": "2.1",
"id": "indicator--b44a4ee9-3bf6-41f7-9b7f-a74eee60b8be",
"created": "2026-10-20T17:09:59.108Z",
…A STIX 2.1 bundle with six indicators, for example [url:value = 'https://connect.wallet-verify.example/claim'] and [file:hashes.MD5 = '44d88612fea8a8f36de82e1278abb02f'], with each comment as the indicator description.
What it checks
| Signal | What it means |
|---|---|
| Unique IOCs and duplicates merged | The count after deduplication, with a badge per type such as URL, Domain, IPv4 or SHA-256. Processing stops at 50,000 IOCs. |
| Not in this format | Entries the chosen format cannot hold, with the reason. Crypto addresses have no STIX object, Suricata has no inline rule for e-mail addresses or hashes, and YARA has no SHA-512. |
| Comments | Become the STIX description, the MISP and CSV comment, a # line above the Suricata rules and a // note in YARA, so others know why an IOC is listed. |
| Live values in the output | Exports contain real, refanged URLs and domains so tools can match them. Only the IOCs found table shows them defanged; defang before pasting into chat or e-mail. |
| Suricata sid range | Rules are numbered from the first sid with rev:1. Domains get a dns.query and a tls.sni rule that also match subdomains; https:// URL rules only fire on decrypted traffic. |
| YARA skeleton | Text IOCs become ascii wide nocase strings and MD5, SHA-1 and SHA-256 become hash module conditions. Rename and test the rule before use. |
| MISP event settings | Event title, threat level, analysis and distribution go into the event, which is exported unpublished. Ethereum addresses are exported as text without the IDS flag. |
| STIX identifiers | Each IOC is an indicator with a STIX pattern. Bundle and indicator IDs are random UUIDv4 values, so every conversion gives new IDs. |
More examples
Suricata rules from three IOCs
hxxp://login.example[.]net/verify # landing page
203.0.113.7 # panel
wallet-verify.example3 unique IOCs and 4 rules, sid 9000001 to 9000004: an http.host and http.uri rule for login.example.net/verify, an ip rule for 203.0.113.7, and dns.query and tls.sni rules for .wallet-verify.example. The comments appear as # landing page and # panel.
YARA with published hash vectors
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 # empty file
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
0x000000000000000000000000000000000000dEaDA rule named PhishDestroy_IOC_ plus today's date with import "hash", the Ethereum address as a string and a hash.sha256 condition for the empty-file SHA-256. Not in this format: 1 × SHA-512: the YARA hash module has no SHA-512.
CSV with Also add the host ticked
hxxps://pay.example[.]org/invoice # fake invoice
https://pay.example.org/invoice
billing@example[.]org3 unique IOCs (2 duplicates merged). CSV: type,value,comment, then url,https://pay.example.org/invoice,fake invoice, domain,pay.example.org,fake invoice and email,billing@example.org with an empty comment.
FAQ
Which IOC types are recognised and how are they mapped?
URLs, domains, IPv4 and IPv6 addresses (CIDR ranges too), e-mail addresses, MD5, SHA-1, SHA-256 and SHA-512 hashes, and Bitcoin and Ethereum addresses with checksum checks. STIX gets url, domain-name, ipv4-addr, ipv6-addr, email-addr and file:hashes patterns; MISP gets url, domain or hostname, ip-dst, email-src and the hash types.
What should I check before importing the result?
Free-text extraction can pick up file names that end in a real TLD (readme.md, archive.zip) or hex strings that are not file hashes, so review the IOC table first. Crypto addresses have no STIX object, Suricata rules cover only domains, URLs and IPs, and the YARA hash module has no SHA-512, so those entries are listed as not converted.
Is anything uploaded?
No. Parsing and conversion run in your browser, and the output is only copied or downloaded when you ask for it.
How do I attach a note to an IOC?
Put it on the same line after a tab or after a space, #, space. The note applies to every IOC on that line. When a value appears twice, the first note is kept; a later note is used only if the first line had none.
Are the Suricata rules ready to deploy?
Treat them as a starting point. Pick a sid range your sensor does not use, test the rules on recorded traffic, and remember that URL rules for HTTPS sites only work where traffic is decrypted.
Which format should I pick?
Use STIX 2.1 or MISP for threat-intelligence platforms, CSV for spreadsheets and simple feeds, Suricata for network sensors, and the YARA skeleton for scanning files. For DNS or ad-block lists, send the result to the Blocklist Converter.