Base64 Encoder/Decoder

Encode and decode Base64 strings. Supports standard, URL-safe, and raw encodings.

What is Base64? Base64 is a binary-to-text encoding scheme that represents binary data as printable ASCII characters, commonly used to embed images or files in JSON, HTML, and email. URL-safe Base64 replaces + and / with - and _ so the output is safe to use in URLs and filenames without escaping. Raw variants omit the = padding characters.