Code Tool
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back into readable text in your browser.
Encode or decode Base64
Paste text, upload a local text file, then encode or decode without sending data anywhere.
Drop a text file
Choose a text-based file. It is read locally in your browser.
Output
Encoded or decoded output appears here.
StatusReady to start
Enter text to encode or Base64 to decode.
Input characters16
Output characters0
Input size16 B
Output size0 B
Your text is processed in your browser and is not uploaded.
How to Use Base64 Encoder Decoder
- Paste text or a Base64 string into the input box.
- Choose encode or decode.
- Review the converted output.
- Copy the result when it looks correct.
FAQ
Is my text uploaded?
No. Encoding and decoding happen in your browser.
Can I decode JWT parts with this tool?
You can decode Base64 strings, but JWT tokens are easier to inspect with the dedicated JWT Decoder.
What is Base64 used for?
Base64 is commonly used to represent binary or structured data as text in APIs, tokens and configuration values.
Why does decoding sometimes fail?
Decoding can fail when the input is not valid Base64 or does not represent readable text.