# Tanod utilpeek Text Encode/Decode

> Tanod utilpeek Text Encode/Decode is a paid API for AI agents from tanod.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Encodes or decodes text using codecs including base64, base64url, base32, hex, URL, HTML, quoted-printable, ROT13, punycode, IDNA, and JWT (decode-only, unverified).

## Facts

- Endpoint: POST https://tanod.dev/v1/text/encode?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-utilpeek-text-encode-decode-4c66275f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oTrAv-UgicBA6l2rdIYPS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tanod-utilpeek-text-encode-decode-4c66275f -d '<json body>'
```

Example prompt: Can you base64-decode this string for me: 'SGVsbG8sIFdvcmxkIQ=='?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call text encoding or decoding utility without standing up your own library — especially useful in agent pipelines that need to inspect JWTs, sanitize URL parameters, or handle multi-format data interchange. Prefer it for one-off conversions across a wide variety of codecs (base64, hex, URL, HTML, ROT13, punycode, IDNA, quoted-printable) without needing a full SDK.

## Known failure modes

- Invalid codec name returns a 400 error
- Attempting to encode a JWT (direction=encode with codec=jwt) is not supported
- Text exceeding 100,000 characters is rejected
- Malformed base64/hex/JWT input that cannot be decoded returns an error
- Punycode/IDNA decode of invalid input returns an error

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

Returns the encoded or decoded text as a string. For JWT decode, returns the header and payload claims as parsed JSON (signature is never verified). The original input is never logged or echoed back for JWTs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 100000,
   "minLength": 1,
   "description": "At most 100,000 characters; never logged; a JWT is never echoed back."
  },
  "codec": {
   "enum": [
    "base64",
    "base64url",
    "base32",
    "hex",
    "url",
    "html",
    "quoted_printable",
    "rot13",
    "punycode",
    "idna",
    "jwt"
   ],
   "type": "string",
   "description": "base64, base64url, base32, hex, url, html, quoted_printable, rot13, punycode, idna or jwt (decode only; the signature is never verified)."
  },
  "direction": {
   "enum": [
    "encode",
    "decode"
   ],
   "type": "string",
   "default": "encode",
   "description": "encode (default) or decode; jwt is decode only."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 11,
  "codec": "base64",
  "output": "aGVsbG8gd29ybGQ=",
  "source": {
   "library": "Python standard library (base64, binascii, urllib.parse, html, quopri, codecs) + idna",
   "license": "PSF-2.0 / BSD-3-Clause"
  },
  "direction": "encode"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-utilpeek-text-encode-decode-4c66275f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
