Base64 Encoder and Decoder

Convert text, including emoji and non-Latin characters, to Base64 or decode Base64 back to UTF-8 text.

How to encode or decode Base64

Paste plain text and click Encode to Base64. For URL-safe output, enable the checkbox before encoding. To convert Base64 back to text, paste it and click Decode to text. The decoder accepts either alphabet, skips spaces and line breaks, and accepts input without padding. Click Copy to copy the result.

FAQ

Is my data uploaded? The tool processes your input entirely in your browser and sends none of it to a server.

Does Base64 protect sensitive data? Base64 is a reversible encoding. Anyone with the encoded text can decode it without a key. Use encryption to protect sensitive data.

What is URL-safe Base64? It uses - and _ in place of + and /. The URL-safe option also omits trailing = padding.

Why might decoding fail? The input must be valid Base64 and represent valid UTF-8 bytes to display as text.

Try the JSON formatter or URL list cleaner.