{"uid":"cap_oTrAv-UgicBA6l2rdIYPS","slug":"tanod-utilpeek-text-encode-decode-4c66275f","name":"Tanod utilpeek Text Encode/Decode","description":"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.","url":"https://tanod.dev/v1/text/encode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WjuCEFd0AO8g8ytgh7oS_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes text using codecs including base64, base64url, base32, hex, URL, HTML, quoted-printable, ROT13, punycode, IDNA, and JWT (decode-only, unverified).","exampleAgentPrompt":"Can you base64-decode this string for me: 'SGVsbG8sIFdvcmxkIQ=='?","exampleUseCases":[{"title":"Inspect JWT token claims","prompt":"I have this JWT and I just want to see what's inside it — decode it for me without worrying about the signature: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIn0.signature"},{"title":"URL-encode a query parameter","prompt":"URL-encode this string so I can safely put it in a query parameter: 'hello world & goodbye/world?foo=bar'"},{"title":"Convert punycode domain to unicode","prompt":"Convert this punycode domain back to its readable unicode form: xn--n3h.xn--nxasmq6b"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:43:47.021Z","isFirstParty":false,"canonicalSlug":"tanod-utilpeek-text-encode-decode-4c66275f"}