Skip to main content
SK Play Labs logoSK Play Labs

Base64 Encoder / Decoder

Convert text to and from Base64.

Runs entirely in your browser — nothing you enter is uploaded or sent to a server.

Base64 is encoding, not encryption — anyone can decode it back in seconds, so never use it to protect passwords or anything secret. Read our full disclaimer.

About this tool

Base64 represents any data using 64 ASCII characters, which is why it's used to move or embed content — data URIs, API tokens, email attachments — through channels that expect plain text. This tool converts text in both directions and is UTF-8 safe, so accented characters and emoji round-trip correctly. It runs entirely in your browser, converting live as you type, and flags input that isn't valid Base64.

Try it

Encode "Hello 👋" and you get "SGVsbG8g8J+Riw==". Switch to Decode, paste that back, and you get "Hello 👋" again.

How to use

  1. 1Choose Encode (text → Base64) or Decode (Base64 → text).
  2. 2Type or paste your input.
  3. 3The converted result appears instantly beside it.
  4. 4Copy the output with one click.

Features

  • Flip between encode and decode with one toggle.
  • UTF-8 safe — accents, symbols, and emoji round-trip correctly.
  • Converts live as you type, flagging invalid Base64.
  • One-click copy of the result.

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding, not encryption — anyone can decode it in seconds. Don't use it to protect secrets; it only makes data safe to store or transmit as plain text.

Does it handle emoji and non-English text?

Yes. The tool encodes text as UTF-8 first, so emoji and accented characters round-trip correctly in both directions.

Why does Base64 output end in = signs?

The = characters are padding. Base64 encodes in groups of three bytes; when the input doesn't divide evenly, one or two = are added so the output length is a multiple of four. They're a normal part of the format.

Why is the Base64 longer than my original text?

It encodes every 3 bytes as 4 characters, so the output is about 33% larger than the input. That size cost is the trade-off for making data safe to embed or transmit as text.

What's the difference between Base64 and Base64URL?

Base64URL is a variant that replaces the + and / characters (which have special meaning in URLs) with - and _, and often drops the padding. It's what JWTs use. This tool produces standard Base64.

More developer tools

View all