Base64 Encode / Decode
Encode and decode Base64 strings instantly in your browser. Supports UTF-8 text. No data leaves your device.
Examples of use
- Encode credentials for HTTP Basic Authentication headers
- Decode Base64-encoded API responses or tokens
- Convert binary data to a text-safe format for transmission
When to use this tool?
- When encoding credentials for HTTP Basic Authentication
- When decoding Base64-encoded tokens, payloads, or emails
- When embedding binary data (images, files) in JSON or XML
- When debugging data encoding issues in APIs
Frequently asked questions
- What is Base64?
- Base64 is an encoding scheme that represents binary data as a string of ASCII characters. It is commonly used to encode data for transmission over text-based protocols like HTTP and email.
- Does this tool support UTF-8 text?
- Yes. The encoder and decoder fully support UTF-8, including accented characters, emojis, and non-Latin scripts.
- Is Base64 encoding secure?
- No. Base64 is an encoding, not encryption. It is easily reversible and should not be used to protect sensitive data. Use it for data transport, not security.