Skip to content

Encoding

Base64 Encoder / Decoder

Encode and decode Base64, including Unicode text, locally in your browser.

LocalProcessed locally — your text never leaves your browser.

Available actions: copy, clear, swap.

Text or Base64
Result
Enter text to encode or Base64 to decode. Unicode is supported.

How to use

  1. 1. Enter plain text or Base64

    Type or paste into the input. Unicode is supported. Encoding and decoding run in your browser.

  2. 2. Encode or decode

    Encode turns text into Base64. Decode turns Base64 back into text. Ctrl+Enter / Cmd+Enter encodes. Swap exchanges input and output.

  3. 3. Copy the result

    Copy the output when you need it. Clear resets both panels.

Examples

  • Encode ASCII

    hello becomes aGVsbG8=.

  • Encode unicode

    Characters such as 世界 are encoded with UTF-8, then Base64. Decoding restores the original text.

Frequently asked questions

Is this Base64 encoder sending data to a server?
No. Encode and decode run locally with the Web APIs in your browser.
Does it support unicode?
Yes. Text is converted with UTF-8 before encoding, and decoded back to unicode text.
Why did decode fail?
The input must be valid Base64 (A–Z, a–z, 0–9, +, /, and padding). Extra symbols or truncated strings will produce a clear error.