Delx

Base64 Encoder/Decoder

Encode plaintext to Base64 or decode Base64 strings back to readable text. Specify "encode" or "decode" as the action. Defaults to encode if omitted.

>_Base64 Encoder/DecoderLIVE API

Usage

CLI

delx base64 "Hello World" --action encode
delx base64 "SGVsbG8gV29ybGQ=" --action decode

REST (curl)

curl -X POST https://api.delx.ai/api/v1/utils/base64 \
  -H "Content-Type: application/json" \
  -d '{"input": "Hello World", "action": "encode"}'

MCP (JSON-RPC)

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "base64",
    "arguments": {
      "input": "Hello World",
      "action": "encode"
    }
  }
}

FAQ

Does it support URL-safe Base64?

The default output is standard Base64 with + and / characters. URL-safe encoding (using - and _) is not currently supported but is on the roadmap.

What happens if the decode input is invalid?

You will receive a clear error message indicating the input is not valid Base64. The response includes the error position when possible.

What encoding is used for the text?

UTF-8 encoding is used for both encode and decode operations. This means international characters and emoji are fully supported.

Related

Related Tools

← All ToolsCLI Docs