← Back to homepage
🧬
Developer

Base64 Encoder / Decoder

Encode text to Base64 and decode it back.

How does Base64 Encoder / Decoder work?

This tool converts text to Base64 and back, with UTF-8 handling so accented characters and emoji survive the round trip. Base64 is an encoding, not encryption — anyone can decode it back to the original text.

How to use it

  1. Paste text or a Base64 string into the box.
  2. Click "Encode Base64" to convert plain text to Base64, or "Decode Base64" to reverse it.
  3. Copy the result.

Common use cases

  • Decoding the payload segment of a JWT to inspect its contents.
  • Embedding a small image or file as a data URI in CSS or HTML.
  • Debugging an API request that sends data as a Base64 header.

Frequently asked questions

Is Base64 encryption?
No. It is a reversible encoding with no secret key, so it should never be used to protect sensitive data — anyone can decode it.
What happens if I try to decode invalid Base64?
The tool shows "Invalid Base64 input" instead of returning garbled text.