Local in BrowserEncoding

Base64 Encode/Decode

Converts text safely to Base64 and back. Ideal for tokens and credentials.

Purpose and Limits

What this tool does

Encodes text or decodes existing Base64 strings, e.g., to inspect HTTP Basic Auth headers or generic payloads without external tools.

Input
Plain text or a valid Base64 string.
Output
The corresponding Base64 encoding or decoded plain text.

Notes

  • The tool automatically detects if decoding is possible based on the input.
  • Whitespace and line breaks are handled correctly during encoding.

Limitations

  • Currently only processes text, no binary files (images, PDFs).
  • Invalid Base64 sequences result in a clear error message instead of corrupt data.