All endpoints
Base64 Encoder / Decoder
POST
/api/v1/tools/base64-encoder-decoderEncode and decode Base64 text or files, including data URLs.
Authentication
Requires an API key in the X-API-Key header.
Try it
POST
/api/v1/tools/base64-encoder-decoderParameters
modestringoptionalencode (default) or decode.
encodedecodeinputstringrequiredText to encode, or Base64 to decode.
urlSafebooleanoptionalUse URL-safe alphabet when encoding.
lineBreaksbooleanoptionalWrap output in 76-char lines.
Request body
{
"mode": "encode",
"input": "hello"
}Response codes
200Success.400Invalid request — check your body or parameters.401Missing or invalid API key.403The API key is not scoped to this endpoint.429Rate limit exceeded — retry after a short wait.
Language
cURL
Request
curl -X POST https://utilerio.com/api/v1/tools/base64-encoder-decoder \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"mode":"encode","input":"hello"}'Response
{ "output": "aGVsbG8=" }