Developer tools

Base64 Encoder / Decoder

Encode UTF-8 text as Base64 or decode standard and URL-safe Base64 back into text.

Make it yours

Processed in your browser

Your result

A little input. A useful result.

Adjust the example inputs, then select Convert Base64.

A LITTLE KNOW-HOW

About this tool

Convert text to Base64 for a data field, or inspect text encoded with standard Base64 or Base64URL. Unicode text is encoded as UTF-8, including emoji. This text decoder rejects binary data that is not valid UTF-8.

How to use it

  1. 1

    Choose Encode or Decode.

  2. 2

    Select the standard or URL-safe alphabet and paste the input.

  3. 3

    Convert the text and copy the output.

Questions, answered

Is Base64 encryption?

No. Anyone can decode it without a key. Do not use Base64 to protect passwords or private information.

What is different about Base64URL?

It uses hyphens and underscores instead of plus and slash. This tool omits padding when generating Base64URL and accepts padded or unpadded input when decoding.