Base64 Encode / Decode
Encode text to Base64 or decode Base64 strings instantly.
What Is Base64 Encode / Decode?
Base64 is a binary-to-text encoding scheme that converts binary data into a string of 64 safe ASCII characters (A–Z, a–z, 0–9, +, /). Base64 encoding is widely used in web development to embed images as data URIs, encode API credentials in HTTP headers, store binary payloads in JSON, and transmit data through text-only channels like email. The Base64 Decode function reverses this process, turning an encoded string back into its original text.
How to Use Base64 Encode / Decode
- Select the Encode or Decode tab depending on your task.
- Paste your text (or Base64 string) into the input panel.
- The result appears instantly in the output panel.
- Click Copy to copy the result to your clipboard.
Features
- Encode plain text to Base64 instantly
- Decode Base64 strings back to readable text
- Handles full UTF-8 character set including Unicode
- Copy result to clipboard in one click
- Runs entirely in your browser — zero data uploaded
FAQ
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /). It is commonly used to encode data in email attachments, data URIs, and API tokens.
Is Base64 encoding the same as encryption?
No. Base64 is an encoding scheme, not encryption. It is easily reversible and should never be used to protect sensitive data.
Can I encode binary files with this tool?
This tool is designed for text (UTF-8) encoding and decoding. For binary file encoding, use a dedicated file converter.
Is my data sent to a server?
No. All Base64 encoding and decoding happens entirely in your browser using the built-in btoa() and atob() functions.