Base64 / URL / Hex / JWT encoder and decoder
encodersEncode or decode Base64, Base64URL, URL percent-encoding, and hex, or decode JWT headers/claims offline without signature verification. text holds the payload (max 64 KB); type defaults to "auto" (jwt -> %-URL -> >=8-char hex -> printable base64 -> else encode all), and explicit type overrides auto-detection. Use for text encoding or JWT inspection, not PEM certs (cert_decoder) or IDNs (punycode). Offline; flags alg="none" (fail) and expired JWTs (warn), shows binary as hex, and returns isError=true on malformed JWT/URL escapes. Requires middle.network auth; uses 1 daily quota unit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "encoders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to encode or decode. | |
| type | No | Operation mode. "auto" auto-detects and decodes Base64, Base64URL, URL percent-encoding, hex, or JWT. Pass "encode", "encode-base64", "encode-url", or "encode-hex" to encode instead of decode. | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO-8601 UTC timestamp when the result was generated. | |
| ms | No | Elapsed execution time in milliseconds. | |
| data | Yes | Tool-specific structured payload (records, timings, parsed fields, or scores). | |
| tool | Yes | Catalog tool identifier. | |
| share | No | Optional shareable report link metadata. | |
| status | Yes | Overall diagnostic verdict (worst finding wins; no findings = pass). | |
| target | Yes | Normalised domain, IP, or input target. | |
| limited | No | Optional list of upstream data sources that were rate-limited or unavailable. | |
| summary | Yes | Plain-English and technical one-line summaries. | |
| findings | Yes | Ordered diagnostic findings with severity and actionable fixes. |