Encoding toolbox: Base64, hex, URL, HTML and Unicode
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
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.
$0.001 per call with prepaid credits: $1 by card pays for 1,000 calls, with no account and no subscription.
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://glyphtools.com/pack/encoding-toolbox?text=Caf%C3%A9%20%26%20%3Ctags%3E"
Node.js
const r = await fetch("https://glyphtools.com/pack/encoding-toolbox?text=Caf%C3%A9%20%26%20%3Ctags%3E", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/pack/encoding-toolbox?text=Caf%C3%A9%20%26%20%3Ctags%3E", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/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 10 successful calls are free:
https://glyphtools.com/mcp