Overview
Encode text to Base64 or decode Base64 back to text. Useful for API development, Basic Auth headers, and data encoding.
How to Use
Enter the required information below. Results update in real-time with details about your configuration.
Enter text above and click Encode or Decode
Example Use Cases
- Encode credentials for HTTP Basic Authentication headers
- Decode Base64 payloads from JWT tokens, API responses, or log files
- Transfer binary data as text across systems that only support ASCII
- Store small blobs of data in configuration files or environment variables
Common Issues
Invalid padding: Base64 strings require proper padding (= characters). Some implementations accept missing padding, but strict decoders will fail.
URL-unsafe characters: Standard Base64 includes + and / which have special meaning in URLs. Use Base64URL encoding for URL-safe transmission.