Base64 Encoder And Decoder

Encode text as standard Base64, or decode padded Base64 back into readable UTF-8 text.

For a Unicode version, use the Unicode Base64 Encoder And Decoder online tool.



Question

What is Base64?

The Nerdmosis Base64 tool converts text to and from the standard Base64 alphabet defined by RFC 4648: A-Z, a-z, 0-9, +, /, with = padding when needed. Encoded output is padded standard Base64, and decoded input must use valid standard padding.

Use it when you need text-safe representations for payload snippets, configuration values, examples, data URLs, API debugging, or systems that expect Base64 instead of raw bytes. Decoding trims surrounding whitespace, rejects malformed padding or characters outside the standard Base64 character set, and converts the decoded bytes back to UTF-8 text.

This page is intended for standard padded Base64 text, not Base64URL input that uses - and _, MIME-wrapped input with line breaks, unpadded variants, or arbitrary binary files. Base64 is an encoding format, not encryption; do not treat encoded secrets as protected.


Books

References