API & MCP

Everything a person can do on Crypto Kitchen, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Crypto Kitchen

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.

Inputs of Crypto Kitchen
FieldTypeDefaultDescription
inputtextarea—Input
inputFilefile—Or upload a file. Any file up to 10 MB, processed as raw bytes.
inputEncodingselect (text, hex, base64)"text"Pasted input is
recipetextarea"from-base64\ngunzip\njson-pretty"Recipe (one operation per line). Syntax: op-id name=value name="value with spaces". Operations: to-base64, from-base64, to-base64url, to-base32, from-base32, to-base58, from-base58, to-hex (separator?), from-hex, to-hexdump, url-encode (all?), url-decode (plus?), html-encode (nonAscii?), html-decode, punycode-encode, punycode-decode, qp-encode, qp-decode, gzip (level?), gunzip, deflate, inflate, deflate-raw, inflate-raw, brotli-compress (quality?), brotli-decompress, hash (alg?, format?), hmac (alg?, key, format?), crc32, aes-encrypt (mode?, key, iv, aad?, padding?), aes-decrypt (mode?, key, iv, tag?, aad?, padding?), xor (key), rot13, caesar (shift?), vigenere-encode (key), vigenere-decode (key), jwt-decode, jwt-verify (key, alg?), uuid-parse, ulid-parse, timestamp (unit?), json-pretty (indent?, sortKeys?), json-minify, regex-extract (pattern, flags?, group?), text-case (mode?), reverse (unit?), byte-swap (width?), entropy, magic (depth?). Byte arguments accept hex:, b64: or utf8: prefixes. Use @key to insert the secret field.
keytextarea—Secret / key (referenced as @key). Optional: HMAC/JWT secret or a PEM/JWK public key for jwt-verify. Hidden in the results.
outputFormatselect (auto, text, hex, base64)"auto"Show output as

Example request

Base64 → gunzip → pretty JSON

curl -X POST https://cryptokitchen.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"input":"H4sIAAAAAAACA6tWKi1OLVKyUkpMSVTSUSrKz0ktVrKKVkpMyc3MU9JRSkktU4rVUUpMLsksS1WyKikqTa0FAJsiBuU0AAAA","recipe":"from-base64\ngunzip\njson-pretty"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "crypto-kitchen": { "type": "http", "url": "https://cryptokitchen.usefulweb.site/mcp" }
  }
}