# Encoding Toolbox: Base64, Hex, URL, HTML and Unicode

> Encoding Toolbox: Base64, Hex, URL, HTML and Unicode is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

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.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/pack/encoding-toolbox?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-encoding-toolbox-base64-hex-c4452849
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I4VDEhUVEUxSzQZCFH4Z1

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 agent-data-tools-revmesh2074-workers-dev-encoding-toolbox-base64-hex-c4452849
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "The text (up to 20,000 characters)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-encoding-toolbox-base64-hex-c4452849/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
