| Field | Detail |
|---|---|
| Summary | Decode, encode and deobfuscate data of any kind |
| Category | Data manipulation utility |
| Phase | analysis |
| Interface | Web / offline GUI |
| Platform | Linux, Windows, macOS |
| Licence | Open source (Apache 2.0) |
| Docs | https://github.com/gchq/CyberChef |
| Related | jwt_tool, John the Ripper and Hashcat, Wireshark and tcpdump |
The "Cyber Swiss-Army Knife" (by GCHQ). A browser app that chains operations into a recipe to transform data — encoding, crypto, compression, parsing, extraction. Not an attack tool; it's the utility you reach for constantly to decode, deobfuscate and make sense of whatever you've captured.
💡 Tip — Run it offline Download the single
CyberChef.htmlfrom the GitHub releases and open it locally. Everything runs client-side in your browser — no data leaves the page — so it's safe for sensitive/engagement data (don't paste client data into a random online instance).
How it works
- Input pane (your data) → Recipe (ordered operations you drag in) → Output pane.
- Search the operation list, drag ops into the recipe, reorder them; output updates live.
- Magic wand operation auto-detects encodings and suggests the recipe — try it first on mystery data.
- Save/share a recipe via the Save/Load Recipe buttons or the URL fragment.
Operations you'll use constantly
| Task | Operation(s) |
|---|---|
| Base64 | From/To Base64 |
| URL encoding | URL Decode / Encode |
| Hex | From/To Hex, Hexdump |
| HTML entities | From/To HTML Entity |
| Decimal/binary/octal | From/To Charcode, From Decimal |
| ROT13 / Caesar | ROT13, ROT13 Brute Force |
| XOR | XOR, XOR Brute Force |
| Hashing | MD5, SHA1, SHA256, NTLM, etc. |
| JWT | JWT Decode / JWT Sign / JWT Verify |
| Gzip/zlib | Gunzip, Zlib Inflate, Raw Inflate |
| Extract | Extract IP addresses, URLs, Email, Strings, Dates |
| Defang/Fang | Defang URL / Fang URL (safe IOCs for reports) |
| Date/time | From/To UNIX Timestamp |
| Diff | Diff two inputs |
Common recipes (chains)
# "What is this?" — let CyberChef figure it out
Magic (with 'Intensive mode')
# Nested/obfuscated encoding
From Base64 → URL Decode → Raw Inflate → (read)
# Decode a JWT quickly
JWT Decode
# Deobfuscate a blob
From Base64 → Gunzip → Decode text ('UTF-8')
# Pull IOCs out of a log/dump then make them report-safe
Extract URLs → Defang URL
# XOR-encrypted string, key unknown
XOR Brute Force (key length 1)
More operations & tips
| Operation / feature | Use |
|---|---|
| Magic (+ Intensive mode) | Auto-detect encodings and suggest a recipe |
| Fork / Merge | Split input on a delimiter, run the recipe on each piece, then recombine |
| Subsection | Apply the following ops only to regex-matched parts |
| Register | Capture a value with regex and reuse it later in the recipe |
| Flow Control → Jump / Conditional Jump | Loop or branch within a recipe |
| Detect File Type / Extract Files | Identify or carve embedded files from a blob |
- Nested-decode pattern:
From Base64 → Gunzip → (text); for tokens useFrom Base64 (URL-safe alphabet). - Headless/CI: the cyberchef npm package exposes the same operations as a Node API.
- Recipes save/share via the Save recipe button or the URL fragment.
Kill-chain usage
Analysis
# recipe: Magic -> From Base64 -> Gunzip : decode/deobfuscate captured data
Where it fits
A constant companion across phases: decode tokens next to jwt_tool, make sense of payloads pulled from Wireshark and tcpdump or Burp Suite, identify a hash type before cracking in John the Ripper and Hashcat, unpack obfuscated web content, and defang indicators for a clean report. When you're staring at an unidentified blob, CyberChef's Magic is usually the quickest way in.