🌙 Night Mode
Home β€Ί Encode / Decode β€Ί CyberChef
πŸ”ͺ External Tool

CyberChef

The Cyber Swiss Army Knife β€” 300+ operations for encoding, decoding, encryption, hashing, compression, and data analysis. All running 100% in your browser, built by GCHQ.

CyberChef πŸ”ͺ Open Source Β· GCHQ
If the tool doesn't load below: πŸ”ͺ Open CyberChef in New Tab β†—
πŸ”ͺ

CyberChef is best opened directly

CyberChef may block embedding in some browsers due to security policies. Click the button below to open it in a new tab β€” it works identically there.

πŸ”ͺ Open CyberChef Now β†—

300+ Operations Across Every Category

πŸ”
Encoding & Decoding
Base64, URL encode/decode, HTML entities, Hex, Binary, Octal, Morse code, ROT13, XOR
#️⃣
Hashing
MD5, SHA-1, SHA-256, SHA-512, HMAC, bcrypt, RIPEMD, Adler-32, CRC32
πŸ”’
Encryption & Decryption
AES, DES, 3DES, RSA, Blowfish, RC4, ChaCha20, GPG, JWT sign/verify
πŸ“¦
Compression
Gzip, Zlib, DEFLATE, Brotli, LZMA, Zip, Tar β€” compress and decompress
🌐
Networking / IP
IP format conversion, DNS, HTTP headers, Defang URL, Parse URI, MAC address
πŸ“„
Data Format
JSON beautify, XML to JSON, CSV to JSON, YAML, Markdown, serialise, deserialise
πŸ”’
Number Theory
Hex ↔ decimal, Binary ↔ decimal, Bitwise ops, To charcode, From charcode
πŸ”
Search / Regex
Regex extract, find/replace, Extract URLs, Extract IPs, Extract emails, strings
πŸ–ΌοΈ
Images
Image steganography, render image, generate image, extract EXIF data
⛓️
Chain Operations
Link multiple operations into a recipe. E.g. Base64 decode β†’ Gunzip β†’ JSON beautify β€” all in one pipeline.
πŸ”—
Shareable Recipes
Copy the URL to share your exact recipe + data with teammates. The full state is encoded in the URL.
πŸ”’
100% Client-Side
No data is sent to any server. Every operation runs in your browser β€” safe for sensitive or proprietary data.

What Is CyberChef?

CyberChef is an open-source, browser-based tool created by GCHQ (the UK's intelligence and cyber agency). It is often called "The Cyber Swiss Army Knife" because it provides hundreds of operations for data manipulation β€” all running entirely in your browser without any server-side processing.

Whether you are a security researcher, penetration tester, CTF player, developer, or system administrator, CyberChef handles tasks that would otherwise require multiple separate tools or complex scripts.

How CyberChef Works β€” Recipes

CyberChef uses a recipe metaphor:

  1. You provide your input (text, file, hex, binary…)
  2. You drag operations (called "ingredients") into a recipe
  3. The output is computed instantly as data flows through each step

For example, a recipe to decode a typical obfuscated payload might be: Base64 Decode β†’ Gunzip β†’ JSON Beautify.

Common Use Cases

For Developers

  • Decode Base64 JWT tokens to inspect claims
  • Beautify and validate JSON / XML responses from APIs
  • Generate HMAC signatures for API authentication testing
  • Convert between hex, binary, decimal, and character codes
  • URL-encode query parameters with special characters
  • Hash passwords or tokens (MD5, SHA-256) for verification

For Security / CTF Players

  • Chain XOR β†’ Base64 β†’ Gunzip to de-obfuscate malware payloads
  • Decrypt AES/DES/3DES ciphertexts with known keys
  • Extract hidden data from steganographic images
  • Identify and decode Morse code, ROT13, Bacon cipher
  • Parse and analyse network packet data

For DevOps / SysAdmins

  • Compress and expand Gzip/Zlib data from logs or configs
  • Convert IP address formats (IPv4 ↔ IPv6, CIDR ranges)
  • Parse and extract data from CSV, JSON, XML logs
  • Verify checksums (MD5, CRC32, Adler-32)

Quick-Start Recipes to Try

Task Recipe (operations in order)
Decode a JWT tokenFrom Base64URL β†’ JSON Beautify
Hash a passwordSHA-256 (or bcrypt)
Decode gzipped dataFrom Base64 β†’ Gunzip
Decode obfuscated JSFrom Hex β†’ XOR key β†’ From Base64
AES encrypt a messageAES Encrypt β†’ To Base64
Extract all URLs from textExtract URLs
Format a minified JSONJSON Beautify

Tips for Using CyberChef

  • Use Ctrl+Space in the search box to quickly find operations
  • Set the output encoding (Hex, Base64, Raw Bytes) using the output format button
  • Click the πŸ”— Share Recipe button to get a URL that encodes your entire recipe + input
  • Use the Magic operation to let CyberChef try to auto-detect encodings
  • Recipes are saved in your browser β€” use Save to keep your favourite recipes
  • File input: drag and drop any file directly into the input area