Base64 Check and Decoded Size
base64_checkCheck whether text is valid base64 or base64url (RFC 4648 sections 4 and 5) before you decode it or send it on. Send the text; get back which alphabet it uses, whether the padding is right (and exactly how many '=' to add or remove), the first bad character and its position if there is one, whether line breaks or spaces are in it, whether the unused bits are zero (canonical, RFC 4648 3.5), the decoded size in bytes, and whether the decoded bytes are valid UTF-8 text. The decoded content itself is never returned. Padding rule: required (RFC 4648 default), optional, or none (as JWT and other base64url users do). Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/base64-check). Not legal, tax or financial advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "base64_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The base64 or base64url text to check (up to 20000 characters). Line breaks and spaces are reported, and ignored only with allow_line_breaks. | |
| padding | No | required (default, RFC 4648 3.2): '=' must bring the length to a multiple of 4. optional: correct '=' or none. none: no '=' allowed (JWT, RFC 7515). | required |
| alphabet | No | auto (default): either alphabet, but not a mix. base64: '+' and '/' (RFC 4648 section 4). base64url: '-' and '_' (section 5). | auto |
| allow_line_breaks | No | true when the format allows line breaks inside (MIME RFC 2045, PEM RFC 7468): spaces, tabs and line breaks are skipped. false (default, RFC 4648 3.3): they make the text need a fix. |