← All tools
Base64 Codec
Encode text to Base64 or decode Base64 back to text.
Overview
Base64 encoding turns binary or text data into an ASCII string, commonly used in data URIs, email attachments, and API payloads. This tool converts in both directions.
How to Use
- Choose encode or decode mode.
- Paste your text or Base64 string.
- The result updates instantly.
- Copy the output.
Common Use Cases
- Embedding small images as data URIs in CSS/HTML
- Decoding Base64-encoded JWT payload segments while debugging
- Preparing binary data for transport in JSON APIs
FAQ
Is Base64 encoding the same as encryption?
No. Base64 is a reversible encoding, not encryption — anyone can decode it. Never use it to protect sensitive data.