Base64 Encoder / Decoder

Convert text to Base64 and back. Handy for HTTP headers, basic auth snippets and small embedded payloads.

Notes

Encoding uses the browser's btoa and atob functions, with basic handling for UTF-8 text. Very large payloads or binary files should be handled with dedicated tools; this page is meant for small snippets and debugging use.