Text tool

Base64 Encoder and Decoder

Convert regular text to Base64 or decode Base64 strings while working with API tokens, test fixtures, and encoded payloads.

Encode and decode text safely

Base64 is often used in API examples, data URLs, authorization headers, test fixtures, and small encoded payloads. This tool lets you encode readable text into Base64 or decode Base64 back into text while keeping the work in the browser.

The converter uses TextEncoder and TextDecoder so Unicode characters can be encoded and decoded more reliably than older ASCII-only snippets.

Common Base64 tasks

  • Encode short test strings before adding them to sample API payloads.
  • Decode Base64 values copied from logs, examples, or fixtures.
  • Check whether an encoded value is text before using it in documentation.

FAQ

Is Base64 encryption?

No. Base64 is an encoding format, not a security feature. Anyone can decode it.

Does it support Unicode text?

Yes. The tool uses TextEncoder and TextDecoder for non-ASCII characters.

Why does decoding fail?

The input may contain invalid Base64 characters, missing padding, or bytes that cannot be decoded as text.