base64_encode
Convert a UTF-8 string into standard Base64 when you need a portable text encoding for credentials, binary-safe transport, or embedding data in JSON/HTTP fields.
Use when:
Encode this UTF-8 string as Base64
Convert plain text into standard Base64 for transport
Produce a Base64 representation of a credential or payload string
Do not use when:
Decode Base64 back to text (use base64_decode)
Percent-encode URL components (use url_encode)
Hash or encrypt data for security—Base64 is encoding only
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Text to encode |