Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text.
Encode and decode Base64 without confusing it for security
Convert Unicode text to Base64 or inspect an encoded text payload locally. Invalid input is rejected instead of returning corrupted output.
0 B
input size
—
output size
Ready
operation
Input
0 charactersResult
No output yetAbout the Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to plain text, with full Unicode and emoji support.
Useful for data URIs, embedding assets, inspecting tokens and debugging encoded payloads.
Base64 is not encryption; it simply represents data using a safe set of characters, which is why it is common in URLs, emails and data URIs.
Key features
- Encode and decode in the same tool
- Correctly handles Unicode and emoji
- Input and output byte-size indicators
- Copy, download or reuse the result as input
- Clear invalid-Base64 errors
- Everything stays in your browser
How to use
- 1Paste text or Base64, load a local text file or use the Unicode sample.
- 2Choose Encode text or Decode Base64.
- 3Review any validation error and the input/output size indicators.
- 4Copy, download or move the result back into the input for another operation.
- 5Copy the encoded or decoded result for use in your application.
Examples
Hello WorldSGVsbG8gV29ybGQ=Text is converted to a Base64 string that is safe for text-only fields.
SGVsbG8gV29ybGQ=Hello WorldA Base64 string is turned back into the original text.
Frequently asked questions
- Is Base64 the same as encryption?
- No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to hide secrets.
- Does it support emojis and non-English text?
- Yes. The tool is Unicode-safe, so emojis and accented or non-Latin characters encode and decode correctly.
- Is my input sent to a server?
- No. Encoding and decoding run entirely in your browser.
Helpful guides
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
