Utf32 encode

utf32-encode · version 1.0.0 · Encoding & checksums · free, no key needed

Encode Unicode scalar text as bit-exact UTF-32LE or UTF-32BE base64 bytes with an optional BOM.

Use when you need to: encode text as UTF-32 · convert text to UTF-32LE · convert text to UTF-32BE.

Decide before calling

Read the versioned contract and the supported scope below. Reuse utf32-encode@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 utf32-encode@1.0.0 for encode text as UTF-32. 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

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "text": "A",
  "endian": "le",
  "bom": false,
  "noncharacters": "allow"
}

Response:

{
  "result": {
    "base64": "QQAAAA==",
    "byte_length": 4,
    "endian": "le",
    "bom": false,
    "standard_version": "Unicode Standard 16.0, Unicode Encoding Schemes"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "utf32-encode",
  "version": "1.0.0",
  "input": {
    "text": "A",
    "endian": "le",
    "bom": false,
    "noncharacters": "allow"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/utf32-encode/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"text":"A","endian":"le","bom":false,"noncharacters":"allow"}'

The machine-readable contract is at /v1/tools/utf32-encode/versions/1.0.0.

CLI

node cli.mjs run utf32-encode 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.