{"uid":"cap_I4VDEhUVEUxSzQZCFH4Z1","slug":"agent-data-tools-revmesh2074-workers-dev-encoding-toolbox-base64-hex-c4452849","name":"Encoding Toolbox: Base64, Hex, URL, HTML and Unicode","description":"Every common encoding of one text in a single call: Base64 and Base64url, hex, URL component and full-URL encoding, HTML-escaped, ROT13, Unicode code points, UTF-8 byte count and Punycode for international domain names, plus automatic decoding when the input already looks like Base64, hex, URL or HTML encoding. Use to prepare data for headers, URLs and markup, or to work out what an encoded string says.","url":"https://agent-data-tools.revmesh2074.workers.dev/pack/encoding-toolbox?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"The text (up to 20,000 characters)"}}},"responseSchema":{"type":"object","properties":{"hex":{"type":"string"},"url":{"type":"string"},"html":{"type":"string"},"rot13":{"type":"string"},"base64":{"type":"string"},"decoded":{"type":"object","properties":{}},"punycode":{},"base64url":{"type":"string"},"utf8Bytes":{"type":"number"},"characters":{"type":"number"},"codePoints":{"type":"array","items":{"type":"string"}},"urlComponent":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uO5U6I7l8xzeES3GPdw_L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Converts any text into every common encoding format (Base64, hex, URL, HTML, ROT13, Unicode, Punycode) in a single call, and auto-decodes encoded input strings.","exampleAgentPrompt":"Can you encode the string 'Hello, wörld! <script>' into Base64, hex, URL-safe, and HTML-escaped formats all at once, and also tell me its UTF-8 byte count and Unicode code points?","exampleUseCases":[{"title":"Prepare API header value","prompt":"I need to Base64-encode the string 'myuser:mypassword' to use as a Basic Auth header — can you give me the Base64 and Base64url versions?"},{"title":"Decode mystery encoded string","prompt":"Someone sent me this string 'SGVsbG8gV29ybGQ=' and I think it might be Base64 — can you decode it and also show me all its other encodings?"},{"title":"Punycode for internationalized domain","prompt":"What's the Punycode representation of the domain 'münchen.de' so I can use it in a DNS record?"}],"resultDescription":"A JSON object containing the input text encoded as: base64, base64url, hex, urlComponent (percent-encoded component), url (full URL encoding), html (HTML-escaped), rot13, an array of Unicode codePoints, utf8Bytes count, characters count, punycode (for IDN domains), and a decoded object showing auto-decoded values when the input appears to already be Base64, hex, URL, or HTML encoded.","failureModes":["Text exceeding 20,000 characters returns an error","Empty text parameter returns a validation error","Network timeout on the workers.dev edge if overloaded","Payment failure (402) if free call quota exhausted and no USDC/credits available"],"whenToPreferThis":"Choose this endpoint when you need multiple encoding formats for the same string in one round-trip, rather than calling separate single-purpose encoding APIs. It is ideal when you are unsure which encoding a received string uses, since it auto-detects and decodes Base64, hex, URL, and HTML. It also covers niche needs like Punycode for internationalized domain names and Unicode code point enumeration that most encoding utilities omit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:07:58.450Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-encoding-toolbox-base64-hex-c4452849"}