Encode or Decode Base64 Instantly
Type or paste text and encode it to Base64, or paste a Base64 string and decode it back to readable text. If the Base64 input is invalid, you'll see a clear error message instead of a silent failure. Everything runs in your browser — nothing is sent to a server.
🧩 Great For
- Encoding a string for embedding in a data URL or config file
- Decoding a Base64 token or payload to see what it actually contains
- Quickly checking whether a piece of text is valid Base64
- Converting between plain text and Base64 while debugging an API
📋 How to Use
- Type or paste text into the left box, then press "Encode →"
- Or paste a Base64 string into the right box, then press "← Decode"
- If the Base64 is invalid, an error message explains it
- Press "Copy result" to copy the output
Frequently Asked Questions
What happens if my Base64 input is invalid?
An error message appears explaining that the input could not be decoded — no output is shown until the Base64 is valid.
Does this support Unicode text, like emoji or Korean?
Yes. Text is UTF-8 encoded before being converted to Base64, so non-ASCII characters round-trip correctly.
Is my text sent anywhere?
No. Encoding and decoding happen entirely in your browser — nothing is saved or sent to a server.