{"id":"base64url-encode","version":"1.0.0","description":"Encode supplied UTF-8 text or hexadecimal bytes as base64url and return the encoded string.","supported_operations":["encode text as URL-safe base64","convert hex bytes to base64url","make base64 safe for a URL","base64url encode UTF-8","encode bytes without base64 padding","create padded URL-safe base64"],"unsupported_operations":["standard base64 with plus and slash","decode base64url text","encrypt or sign data"],"semantics":["Exactly one of text or hex is supplied; text is encoded as UTF-8 and hex represents bytes.","padding true appends RFC 4648 equals padding; padding false omits it.","Hex input is case-insensitive and must have an even number of digits.","Disclaimer: format transform only; provides no confidentiality, integrity, or authenticity."],"limits":{"max_input_bytes":12288,"max_output_bytes":16384},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["padding"],"properties":{"text":{"type":"string","maxLength":12288},"hex":{"type":"string","maxLength":24576,"pattern":"^[0-9A-Fa-f]*$"},"padding":{"type":"boolean"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["encoded","standard_version"],"properties":{"encoded":{"type":"string","maxLength":16384,"pattern":"^[A-Za-z0-9_-]*={0,2}$"},"standard_version":{"type":"string","const":"RFC 4648 §5 (2006); RFC 7515 Appendix C (2015)"}}},"examples":[{"input":{"text":"Hello?","padding":false},"output":{"encoded":"SGVsbG8_","standard_version":"RFC 4648 §5 (2006); RFC 7515 Appendix C (2015)"}},{"input":{"hex":"ff00","padding":true},"output":{"encoded":"_wA=","standard_version":"RFC 4648 §5 (2006); RFC 7515 Appendix C (2015)"}}],"execute_url":"/v1/tools/base64url-encode/versions/1.0.0/execute"}