Base64 decode API: standard or URL-safe base64 to text
Decode standard or URL-safe base64 to UTF-8 text. Missing padding is tolerated. Use to read encoded headers, tokens and data URLs.
When to use it
- Read encoded headers, tokens and data URLs
- Decode standard or URL-safe base64
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | The base64 text |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/base64/decode?text=aGVsbG8gd29ybGQ%3D"
Or one of your 25 free calls, no key:
curl "https://tools.funwords.eu/base64/decode?text=aGVsbG8gd29ybGQ%3D&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
{
"text": "hello world"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is base64_decode, and the first 25 successful calls are free:
https://tools.funwords.eu/mcp
Questions
Does padding matter?
No, missing padding is tolerated; the output is UTF-8 text.
How do I pay?
Each successful call costs $0.01; failed calls are not charged. The first 25 calls are free. Then pay with card credits (from $1; the key goes in an Authorization header or, for clients that can only fetch a URL, as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.