Base64 Encoder and Decoder

Convert text to Base64 and back. Useful for data URLs, basic auth headers, and inspecting encoded payloads.

Encoding and decoding happen in your browser only.

Encode and decode Base64 on the device

Convert plain text to standard Base64, or decode a Base64 string back to UTF-8. This is encoding, not encryption. JWT uses Base64URL instead; decode those tokens with the JWT Decoder rather than this converter.

How to encode or decode Base64

  1. Paste plain text to encode, or Base64 to decode.
  2. Choose Encode or Decode.
  3. Copy the result into your application.

Base64 FAQ

Does this support Unicode?

Yes. Text is encoded as UTF-8 before Base64 conversion.

Is this the same as Base64URL?

This tool uses standard Base64. JWT uses Base64URL, which replaces +/ and omits padding.

Related tools

Guides: developer guides, service enquiry.