Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text, instantly in your browser.

About Base64 encoding

Base64 represents binary or text data using 64 printable ASCII characters, making it safe to embed in JSON, URLs, emails, or config files. This tool uses your browser's built-in TextEncoder and btoa/atob APIs, so it correctly handles Unicode text and nothing is sent to a server. Check "URL-safe" to use the Base64URL alphabet (-/_ instead of +//, no padding) used in JWTs and URL query parameters.

Share on LinkedInShare on X
Link to this tool

Copy this HTML to cite this tool from your own site or article.

About Base64 Encoder / Decoder

Base64 Encoder / Decoder encodes text or binary data into Base64 representation and decodes Base64 strings back to plain text.

How to use Base64 Encoder / Decoder

  1. Paste plain text or Base64 content into the text field.
  2. Select the desired operation mode: Encode or Decode.
  3. Click Process to execute the Base64 transformation.
  4. Copy the processed Base64 payload or decoded plain text.

Examples

Text Input: Hello World Base64 Encoded: SGVsbG8gV29ybGQ=

FAQ

Is Base64 an encryption method?

No. Base64 is an encoding format designed for data transmission, not a security or encryption mechanism.

Does Base64 support UTF-8 characters?

Yes. UTF-8 multi-byte characters are encoded and decoded correctly.