Encode Base64

Encode a string to Base64 format for safe transmission in URLs and APIs.

Code

Utilities
base64_encode($input);

Parameters

The string to encode to Base64.

Server

More PHP Snippets