Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Magic Decoder API

Identify and decode an unknown string: Base64, Base32, hex, URL/percent encoding, JWTs, Unix timestamps, UUIDs, HTML entities, binary, Morse, ROT13, punycode, IP addresses and more. Returns matches ranked by confidence.

POST /api/v1/tools/magic-decoderMCP magic_decoderDeveloper Tools

Paste any mystery string to identify and decode it: JWT, Base64, hex, URL encoding, HTML entities, timestamps, UUIDs, IPs, colours, cron, Morse and more.

Input

Send these as a JSON object. Unknown fields are rejected.

input
The mystery string to identify. (string, up to 50000 characters, required)
limit
Return at most this many matches. (integer, 1 to 50, default 5)
curl https://pithlab.com/api/v1/tools/magic-decoder \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"input":"SGVsbG8sIFdvcmxkIQ=="}'
Example response
{
  "ok": true,
  "result": {
    "best": null,
    "matches": []
  }
}