Picsova

Base64 Encode / Decode

Encode text to Base64 and decode Base64 back to text, with full Unicode support. Useful for tokens, data URIs, and debugging.

Runs entirely in your browser. Nothing is uploaded.

Text ⇄ Base64

Base64 is how binary-unsafe text gets carried through places that only accept plain ASCII: HTTP headers, basic auth strings, data URIs, and the segments of a JWT. Encoding and decoding it is a constant small task in debugging, and the strings involved often contain credentials. This converter runs both directions in the page with proper Unicode handling, so accented characters and emoji survive the round trip intact.

How to encode and decode Base64

  1. 1

    Choose a direction

    Switch between encoding plain text and decoding an existing Base64 string.

  2. 2

    Paste your input

    The output is produced live as you type or paste.

  3. 3

    Copy the result

    One click takes the encoded or decoded text.

Good to know

  • Unicode is handled correctly, so accented letters, non-Latin scripts, and emoji come back exactly as they went in.
  • Base64 is encoding, not encryption: anyone can decode it, so it protects nothing on its own.
  • Encoded output is roughly a third larger than the input, which is the cost of ASCII safety.
  • The `=` characters at the end are padding, and a string with the wrong padding will fail to decode.

What people use it for

  • Decoding a Base64 header or basic-auth string while debugging a request
  • Encoding a small piece of text for a data URI or config value
  • Reading the encoded segments of a token by hand

Frequently asked questions

Does it handle emoji and non-English text?+

Yes. Encoding and decoding are fully Unicode-safe using UTF-8, so emoji and accented characters round-trip correctly.

Is my data sent to a server?+

No. Encoding and decoding happens entirely in your browser using built-in web APIs. Nothing is uploaded, stored, or logged.

Related tools

Or browse all 50 free tools.