Convert text to and from Base64 instantly in your browser, with full Unicode support.
Updated
/ 5 - Be the first to rate this tool Thanks for rating!
Verification failed - please try again.
Quick check
Please verify you're not a robot to submit your rating.
Give feedback
Tell us what you think about Base64 encode or decode text online.
- Runs entirely in your browser — your text is never sent to a server
- Full Unicode support — emoji and accented characters round-trip correctly
- Free, no account required
How it works
-
1
Select Encode to make Base64, or Decode to read it.
-
2
Paste text or a Base64 string into the input.
-
3
Press Encode or Decode to convert it.
-
4
Copy the result, or press Swap to reverse it.
About the Base64 Encode/Decode
Base64 represents any data using 64 safe characters, which is why it appears in HTTP Basic auth headers, data URIs, email attachments and Kubernetes secrets. This tool converts text to Base64 and back in your browser. It first encodes your text as UTF-8 bytes, so accented letters, non-Latin scripts and emoji survive the round trip instead of turning into garbled characters.
What you can do
- Encode any text into standard Base64.
- Decode a Base64 string back into readable text.
- Use Swap to move the result into the input and flip the direction, for a quick round-trip check.
- Copy the output, or create a Share link that reopens the tool with the same text and mode.
When it works best
- Reading the value of a Kubernetes secret or an encoded environment variable.
- Building a username:password string for an Authorization: Basic header.
- Checking what an encoded query parameter or webhook field actually contains.
Things to know
- Conversion is done in the browser. A shared link holds the text in the URL, so do not share links for secrets.
- Base64 is an encoding, not encryption: anyone can decode it.
- It uses the standard alphabet with + and /. URL-safe Base64 with - and _ is reported as invalid, and the output is assumed to be UTF-8 text, not binary data.
- To encode an image or file, use Image to Base64. To read the parts of a JWT, use the JWT Decoder.
Frequently asked questions
Yes. Text is converted to UTF-8 bytes first, so non-Latin characters round-trip correctly.
No. Only the standard alphabet with + and / is accepted; strings using - and _ are reported as invalid.
This tool handles text. Use Image to Base64 for images.
No, it is an encoding anyone can reverse. Avoid share links for secrets, since they contain the text.