Base64 Encoder and Decoder

Encode and decode UTF-8 text with standard or URL-safe Base64 output.

Mode

Encode

Input size

19 B

Output size

28 B

Base64 converter

Encode and decode UTF-8 text in the browser.

Output
SGVsbG8gZnJvbSBNb3dhdG9vbA==

Related calculators

Text encoding

Base64 represents binary data as text. This tool handles UTF-8 text so emoji, accented characters, and non-Latin scripts can be encoded and decoded safely.

URL-safe Base64

URL-safe mode replaces characters that often need escaping in URLs. Use it for tokens, identifiers, or payloads that must travel through query strings or path segments.