Codec/Bench

Base64 Decode and Encode

Your data stays in this browser.

Convert plain text, Base64, or Base64url:

  • Base64: uses +, /, and = padding
  • Base64url: uses - and _ without padding.

Source

Editable
1 line13 bytesUTF-8

Target

Read only
1 line20 bytesUTF-8

How to use

  1. Enter plain text to encode, or Base64 data to decode.
  2. Choose Plain text, Base64 encoded, or Base64url encoded.
  3. Select channel formats, then convert and copy result.

What is Base64?

Base64 represents binary data as readable ASCII text. It helps move data through text-based systems, but it is encoding—not encryption—and does not protect secrets.