Find out how a string is encoded
Find out how a string is encoded. Tries hex, base64, base64url, base32, base58, URL (percent) encoding and quoted-printable, and inflates gzip or zlib data found inside (a decoded size cap guards against compression bombs). Each plausible decoding comes back ranked by confidence, from how much of it reads as text, with the decoded text (first 2,000 characters) or a hex preview of binary bytes.
Answeringour last check, 2026-11-27
5 of 5checks answered this week
366 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agent402.tools/api/encoding-detect
| Category | Everything else |
|---|---|
| Provider host | agent402.tools |
| Networks | algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k, eip155:10, eip155:1329, eip155:137, eip155:143, eip155:42161, eip155:42220, eip155:43114, eip155:4663, eip155:5042, eip155:57073, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, stellar:pubnet |
| Payment schemes | exact, upto |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.001 | 317 ms |
| 2026-11-26 | valid payment request | 402 | $0.001 | 407 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 366 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 371 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 314 ms |
Example input (from the provider)
{
"body": {
"text": "SGVsbG8sIGFnZW50IQ=="
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"text": {
"description": "The encoded string (at most 100,000 characters)",
"type": "string"
}
},
"required": [
"text"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"best": {
"type": "string"
},
"candidates": {
"items": {
"properties": {
"bytes": {
"type": "number"
},
"confidence": {
"type": "number"
},
"encoding": {
"type": "string"
},
"printableRatio": {
"type": "number"
},
"text": {
"type": "string"
},
"textTruncated": {
"type": "boolean"
},
"validUtf8": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "number"
},
"input": {
"type": "string"
},
"inputChars": {
"type": "number"
}
},
"required": [
"input",
"inputChars",
"count",
"best",
"candidates"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}