Text

Base64 Encode

0calls
Free

This is a simple and practical Base64 encoding tool.

POST
uapis.cn
/api/v1/text/base64/encode
Body
text
string
required

text field

Overview

You provide a piece of raw text, we help you convert it to a Base64-encoded string.

Request body

text
stringrequired

Response

200 / OK

Successful response

JSON
{
  "encoded": "aGVsbG8gd29ybGQ="
}

400 / Bad Request

Invalid request parameters

JSON
{
  "code": "INVALID_ARGUMENT",
  "details": {},
  "message": "Missing 'text' field."
}