Loading…
Loading…
Base64 encoder decoder
Convert text or binary data to Base64 encoding, or decode Base64 strings back to readable text — instantly in the browser without any server-side processing.
Last reviewed
June 23, 2026
Basic Auth headers require Base64-encoded credentials in the format username:password. Encode the combined string here and prefix the result with "Basic " to form a valid Authorization header value.
The tool applies standard Base64 encoding (RFC 4648) to the input. Encoding converts bytes to a 64-character alphabet; decoding reverses the process to recover the original data.
Input is processed in the browser. Avoid encoding sensitive credentials, long-lived API keys, or private data through online tools.
The tool handles plain text and UTF-8 input. Binary files such as images or PDFs cannot be pasted directly — use a file-based tool or command-line utility for binary Base64 encoding.