URL Encode / Decode API - percent-encoding
url_encode_decodePercent-encode or decode text and URLs (whole link or single value, + as space). Runs on our server, files are deleted right after the call, nothing stored. Free: 25 calls/day per IP. Paid: $0.001 per call via x402 at https://radarbg.com/x402/url-encode-decode.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "encode",
"text": "https://example.com/a b?x=ü",
"wholeLink": true
},
"name": "url_encode_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | encode or decode | encode |
| text | Yes | The text | |
| wholeLink | No | Keep : / ? & = as they are (mode=encode) | |
| plusIsSpace | No | Treat + as space (mode=decode) |