Base64 Encode / Decode
Encode and decode Base64, with proper UTF-8 support.
Your result will appear here.
How to use this tool
- Paste text or Base64 into the input box.
- Choose Encode or Decode from the buttons.
- Read the result and copy it with the copy button.
About this tool
You need to drop a short string into a data URI or read the payload of a token, and the browser's built-in Base64 functions only handle plain ASCII. Accented letters turn into mojibake and you are left guessing.
This tool handles the UTF-8 conversion for you. Encode a string and get standard Base64, or paste Base64 and get the original text back. Developers use it to inspect a token's contents or prepare a small inline asset during debugging.
Encoding happens locally in your browser. Nothing is logged or sent to a server.
Frequently asked questions
Why do accented characters break in other Base64 tools?
Many tools call btoa directly, which only accepts single-byte characters. This tool converts to UTF-8 bytes first.
Is Base64 a form of encryption?
No. Base64 only changes how bytes are represented. It is encoding, not encryption, and hides nothing.
What if my Base64 is invalid?
The result area shows a clear error instead of garbled text, and your original input is kept.