Skip to main content
SwiftTools

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

  1. 1Choose Encode or Decode mode.
  2. 2Paste your text (or Base64 string).
  3. 3Read the result, or copy it with one click.

Examples

Encode

Input
Hello, SwiftTools!
Result
SGVsbG8sIFN3aWZ0VG9vbHMh

Decode

Input
SGVsbG8sIFN3aWZ0VG9vbHMh
Result
Hello, 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.