Encoding utility
Base64 Encoder
Encode text as Base64 with Unicode support.
● This tool runs entirely in your browser. Your input is never uploaded to our servers.
Output
Your result will appear here…
How to use Base64 Encoder
- Enter plain text, including any intended spaces or line breaks.
- Select Convert.
- Copy the standard Base64 result.
Example
Input / settings:
Hello
Output:
SGVsbG8=
When to use
- Create a text fixture for an API.
- Inspect UTF-8 encoding round trips.
- Prepare a text value for a Base64 field.
Overview
Base64 represents bytes using a text alphabet. This tool converts your text to UTF-8 bytes before encoding, so non-ASCII text is supported.
Common mistakes
- Encoding does not keep secrets confidential.
- A trailing newline changes the encoded bytes.
- Standard Base64 and Base64URL use different alphabets.
Practical tips
- Use the decoder to verify the original text.
- This text input is not a file upload or arbitrary binary encoder.
Privacy and security
This tool runs entirely in your browser. Your input is never uploaded to our servers. Encoding happens locally. Anyone who has the output can decode it.
Frequently asked questions
Can I encode Japanese text or emoji?
Yes. Text is encoded as UTF-8 first.
Does this generate JWT-compatible Base64URL?
No. It generates standard Base64, which can contain +, /, and =.
Why does the result sometimes end in =?
Padding completes the final encoded group when the byte length is not divisible by three.