Numerly

Base64 Encoder & Decoder

Toggle between encode and decode. Type or paste — the result updates instantly. Copy with one click.

Base64 output

SGVsbG8sIHdvcmxkIQ==

How it works

Encoding uses TextEncoder + btoa to produce standards-compliant Base64. Decoding parses the input as Base64 and decodes to UTF-8 text. Whitespace is forgiving in decode mode.

Frequently asked

Is this binary-safe?
Encoding handles any UTF-8 string correctly, including emoji and multi-byte characters. Pure binary file encoding requires file upload, which is on the roadmap.
Why does my Base64 fail to decode?
Common causes: missing padding (=, ==), URL-safe encoding using - and _ instead of + and /, or accidental whitespace. We tolerate whitespace and missing padding automatically.
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone with the encoded string can decode it instantly. Use it for transport, not for secrecy.

Other generators

Popular calculators

Share

Popular converters