Crypto Kitchen
CyberChef-style recipes: chain encodings, compression, hashes, AES, JWT and more, step by step.
How it works
Write a recipe of operations, one per line, and run text or a file (up to 10 MB) through it: base64/32/58, hex, URL, HTML entities, Punycode and quoted-printable, gzip/deflate/brotli, hashes and HMAC, AES-GCM/CBC/CTR, XOR, ROT13/Caesar/Vigenère, JWT decode and verify, UUID/ULID parsing, timestamps, JSON, regex extraction, text case, byte swap, entropy and a Magic auto-decoder. Every intermediate result is shown; binary output can be downloaded.
- The input (pasted text, hex, base64 or an uploaded file) becomes a byte string; each recipe line is an operation that maps bytes to bytes. Text operations decode as UTF-8. The table shows every intermediate result; on an error the pipeline stops and reports the failing step.
- Cryptography uses Node.js crypto (OpenSSL): AES-GCM appends/verifies the 16-byte tag, CBC uses PKCS#7 padding, CTR is a stream mode. You must supply key and IV, so results are reproducible; never reuse a GCM nonce with the same key.
- JWT decode never checks signatures. jwt-verify supports HS256/384/512 (secret), RS*/PS* (RSA), ES256/384/512 (raw r||s signatures as in RFC 7518) and EdDSA with a PEM, certificate or JWK key, and refuses tokens whose header alg differs from the expected one.
- Decompression stops at 50 MB of output to defuse decompression bombs; regex extraction runs in an isolated VM context with a 1-second limit.
- Magic checks for gzip/zlib headers, JWTs, UUIDs/ULIDs, timestamps, JSON, percent-encoding, HTML entities, hex, base64/base64url, base32 and quoted-printable, and applies the most plausible decoder repeatedly while the output stays readable or reveals another known format.
Data and keys are processed on the server for this request only. Do not paste production secrets.
Sources
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Keysmith Crypto & secrets lab
Audit certificates, keys, TLS and passwords in one lab; server runs ask first.
Related tools
- CyberChef-lite Pipeline – One-click decoding recipes: JWT, base64 → gunzip → JSON, double URL decode, hex dump.
- RSA/ECC Key Inspector – Inspect PEM, DER, JWK or OpenSSH keys: type, size, curve, fingerprints, thumbprint and weaknesses.
How to use the Crypto Kitchen
Chain decoding, compression, hashing, AES, JWT and text operations into a recipe and see every intermediate result, CyberChef-style.
What it is for
A log line contains H4sIAAAA…, an API returns a token you'd like to inspect, or you need to check that an AES-GCM ciphertext decrypts with the key you were given. These jobs usually take three or four separate tools in a row. The Crypto Kitchen lets you write them as a recipe, one operation per line, and shows the bytes after every step.
Operations include base64/base32/base58, hex and hexdumps, URL and HTML encoding, Punycode, quoted-printable, gzip/deflate/brotli, hashes, HMAC and CRC-32, AES in GCM, CBC and CTR mode, XOR, classic ciphers (ROT13, Caesar, Vigenère), JWT decode and verify, UUID/ULID and timestamp parsing, JSON formatting, regex extraction, text case, byte swapping, an entropy estimate and magic, which guesses the decoding chain for you. Input can be pasted text, hex, base64 or a file up to 10 MB.
Your data and key are processed on the server for the request only. Don't paste production secrets. It's a debugging workbench, not a vault.
Worked example
Paste H4sIAAAAAAACA6tWKi1OLVKyUkpMSVTSUSrKz0ktVrKKVkpMyc3MU9JRSkktU4rVUUpMLsksS1WyKikqTa0FAJsiBuU0AAAA and use the recipe:
from-base64
gunzip
json-pretty
The step table shows what happens. From Base64 gives 72 binary bytes starting with 1f 8b, the gzip signature. Gunzip gives 52 bytes of text, {"user":"ada","roles":["admin","dev"],"active":true}. JSON pretty print gives the indented 78-byte version.
Now replace the whole recipe with a single line, magic. You get the same output, with the explanation "from-base64 (base64 alphabet, length multiple of 4) → gunzip (gzip magic bytes 1f 8b) → json-pretty (valid JSON)".
A second example: the text Attack at dawn through aes-encrypt mode=gcm key=… iv=cafebabefacedbaddecaf888, then entropy, then aes-decrypt with the same parameters. Encryption produced 30 bytes, the 14-byte ciphertext plus the 16-byte tag 6c47ff63607929534a6a05ccbb85e491. The entropy step measured 4.84 bits per byte and warned that 30 bytes is too short for a reliable estimate. Decryption reported "GCM tag verified: the ciphertext is authentic".
How to read the result
- Steps table: index, operation, arguments (keys show as
•••), size in bytes, whether the output is text or binary, and a preview. If a step fails, the pipeline stops there and names it. - Output: the final bytes as text, hex or base64 (choose with Show output as), plus their SHA-256. Binary output can be downloaded.
- Notes: per-step facts such as the GCM tag, a JWT's
iatas a date, or the chain that magic chose.
Tips and common mistakes
- Put secrets in the Secret / key field and reference them as
@key, for examplejwt-verify key=@key alg=HS256. They're hidden in the results. - Defaults differ between operations. AES keys, IVs and XOR keys are read as hex, while HMAC and JWT secrets are read as UTF-8 text. Add a
hex:,b64:orutf8:prefix whenever you're unsure. jwt-decodenever checks the signature. Usejwt-verifywith the expectedalg. It refuses tokens whose header claims a different algorithm.- Never reuse a GCM IV with the same key. It's fine in a test recipe, but fatal in production.
- An entropy close to 8 bits per byte suggests compressed or encrypted data, but short inputs can't reach that ceiling, so don't read too much into small samples.
- Arguments with spaces need quotes, as in
regex-extract pattern="@([a-z0-9.-]+)" group=1.
FAQ
Is this the same as CyberChef?
It's the same idea, recipes of chained operations, with a smaller set of operations. It also works as a JSON API, so you can run the same recipe from a script.
Can it crack an unknown cipher?
No. It applies operations you specify, and magic only recognises encodings and compression, not encryption.
Which JWT algorithms can it verify?
HS256/384/512 with a secret; RS, PS, ES256/384/512 and EdDSA with a PEM, certificate or JWK public key.
Is there a size limit for decompression?
Yes. Output stops at 50 MB to defuse decompression bombs.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://cryptokitchen.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://cryptokitchen.usefulweb.site/mcp· tool namecrypto_kitchen
Example request
curl -s -X POST https://cryptokitchen.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"input":"H4sIAAAAAAACA6tWKi1OLVKyUkpMSVTSUSrKz0ktVrKKVkpMyc3MU9JRSkktU4rVUUpMLsksS1WyKikqTa0FAJsiBuU0AAAA","recipe":"from-base64\ngunzip\njson-pretty"}'