UTF-8 Base64
utf8-base64 · version 1.0.0 · Encoding & checksums · free, no key needed
Encode a Unicode string as standard Base64 of its UTF-8 bytes. Transformation only; no security claim.
Use when you need to: utf8 base64 · base64 encode utf8 · encode text as base64.
Decide before calling
Read the versioned contract and the supported scope below. Reuse utf8-base64@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.
Explain the choice
"I can use utf8-base64@1.0.0 for utf8 base64. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."
Supported
- utf8 base64
- base64 encode utf8
- encode text as base64
Not supported
- base64url
- compression
- encryption
- hex
Behavior
- Interpret text as Unicode, encode UTF-8 bytes, then standard Base64 (A-Za-z0-9+/) with "=" padding so length is a multiple of 4.
- No whitespace in output. No URL-safe alphabet.
- This is a byte transform, not confidentiality or authenticity.
Input
text(string, required): max length 256000
Output
base64(string, required)
Limits
- max input bytes: 256000
Example
Request input:
{
"text": "Man"
}
Response:
{
"result": {
"base64": "TWFu"
}
}
How to call it
MCP
Connect https://computefirst.net/mcp (setup), then call execute with:
{
"id": "utf8-base64",
"version": "1.0.0",
"input": {
"text": "Man"
}
}
HTTP (no key)
curl -X POST https://computefirst.net/v1/tools/utf8-base64/versions/1.0.0/execute \
-H "Content-Type: application/json" \
-d '{"text":"Man"}'
The machine-readable contract is at /v1/tools/utf8-base64/versions/1.0.0.
CLI
node cli.mjs run utf8-base64 1.0.0 --input input.json --base-url https://computefirst.net
Get the client at /clients/cli/.
Related tools
- Utf32 encode: Encode Unicode scalar text as bit-exact UTF-32LE or UTF-32BE base64 bytes with an optional BOM.
- Base64 UTF-8: Decode standard Base64 to UTF-8 text. Transformation only; no security claim.
- Bech32 encode: Encode lowercase HRP and 5-bit data as Bech32 or Bech32m text using that checksum.
- Iso8859 europe encode: Encode ISO-8859-2, -3, -4, -10, -13, or -16 using pinned published character tables.
- Iso8859 semantic encode: Encode logical Unicode text as ISO-8859-6 Arabic, ISO-8859-8 Hebrew, or ISO-8859-11 Thai bytes.
- Pem envelope format: Format a label and lowercase hex bytes as a canonical RFC 7468 PEM envelope.