Encode text to Base64 or decode it back.

Encoding and decoding happen in your browser (UTF-8 aware) — nothing is uploaded.

Plain text
Base64
The input is not valid Base64.

About Base64 Encode / Decode

This Base64 encoder and decoder converts text to Base64 and back, live, in two side-by-side panes. Type plain text on one side to see it encoded instantly, or paste a Base64 string on the other side to decode it — a swap button flips direction in one click.

The implementation is UTF-8 aware, so accents, emoji and non-Latin scripts round-trip correctly instead of being mangled the way naive btoa-based converters mangle them. Invalid Base64 input is flagged immediately rather than producing garbage output.

Everything happens in your browser; nothing you type is uploaded. That makes it a safe place to decode base64 online even when the payload is an API credential, a config blob or an email fragment you would rather not paste into a random website’s server.

How to use Base64 Encode / Decode

  1. Type or paste plain text in the left pane to encode it to Base64.
  2. Or paste an existing Base64 string in the right pane to decode it.
  3. Use Swap to flip the two panes and reverse direction.
  4. Copy either side to your clipboard, or Clear to start over.

Frequently asked questions

Base64 represents binary or arbitrary text using 64 safe ASCII characters, so data survives transport through systems that only handle text — email bodies, JSON payloads, data URIs, HTTP basic auth headers and configuration files.

No. Base64 is an encoding, not encryption — anyone can decode it instantly, exactly as this tool does. Never use it to protect secrets; use real encryption for anything confidential.

Yes. Text is encoded as UTF-8 before the Base64 step, so emoji, accented characters and non-Latin alphabets decode back to exactly what you typed.

No. Encoding and decoding both run in your browser. Tokens, credentials or private strings you paste here are never transmitted anywhere.

Yes — the Base64 encoder/decoder is free and unlimited, with no account needed.

The decoder runs in strict mode: characters outside the Base64 alphabet or a broken padding sequence are rejected. Check for line breaks, missing = padding or URL-safe variants that use - and _ instead of + and /.


Popular searches
base64 encode base64 decode base64 encoder base64 decoder online text to base64 decode base64 string
Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.