Encoding toolbox: Base64, hex, URL, HTML and Unicode
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.
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | The text (up to 20,000 characters) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/pack/encoding-toolbox?text=Caf%C3%A9%20%26%20%3Ctags%3E"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/pack/encoding-toolbox?text=Caf%C3%A9%20%26%20%3Ctags%3E&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"characters": 13,
"utf8Bytes": 14,
"base64": "Q2Fmw6kgJiA8dGFncz4=",
"base64url": "Q2Fmw6kgJiA8dGFncz4",
"hex": "436166c3a92026203c746167733e",
"urlComponent": "Caf%C3%A9%20%26%20%3Ctags%3E",
"url": "Caf%C3%A9%20&%20%3Ctags%3E",
"html": "Café & <tags>",
"rot13": "Pnsé & <gntf>",
"codePoints": [
"U+0043",
"U+0061"
],
"punycode": null,
"decoded": {}
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is pack_encoding_toolbox, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp