Base64 Encoder & Decoder
Free Base64 encoder and decoder for text. Encode and decode UTF-8 strings instantly, right in your browser.
About Base64 Encoder & Decoder
Encode text into Base64 or decode a Base64 string back into text, with proper UTF-8 handling so non-ASCII characters round-trip correctly. Useful for data URIs, tokens, config values and any time you need to move text through a Base64-only channel.
How to use it
- 1Choose Encode or Decode mode.
- 2Paste your text (or Base64 string).
- 3Read the result, or copy it with one click.
Examples
Encode
Hello, SwiftTools!SGVsbG8sIFN3aWZ0VG9vbHMhDecode
SGVsbG8sIFN3aWZ0VG9vbHMhHello, SwiftTools!Frequently asked questions
Does it handle non-English text?
Yes. Text is encoded as UTF-8 before Base64 encoding and decoded back the same way, so accented characters, CJK and emoji are preserved.
Can I encode files or images?
This tool works on text. For binary files or images you need a file-aware Base64 tool, because it deals in bytes rather than characters.
Is Base64 encryption?
No - Base64 is an encoding, not encryption. Anyone with the string can decode it. Do not rely on it to protect sensitive data.