Converters

Base64 Encode/Decode

Encode text to Base64 or decode Base64 strings online. Supports URL-safe encoding.

About This Tool

The Base64 Encoder/Decoder converts text to Base64 format and back. Base64 is commonly used for embedding data in HTML, CSS, email attachments, and API communications. This tool supports both standard and URL-safe Base64 encoding.

How to Use

  1. Enter text or paste a Base64 string into the input area
  2. Click Encode to convert text to Base64
  3. Click Decode to convert Base64 back to text
  4. Enable “URL-safe encoding” for Base64url format

FAQ

What is Base64?

Base64 is an encoding scheme that converts binary data into ASCII text. It uses 64 printable characters (A-Z, a-z, 0-9, +, /) to represent data safely in text-based systems.

When should I use URL-safe encoding?

Use URL-safe Base64 when the encoded string will be used in URLs or filenames. It replaces + with – and / with _ to avoid conflicts.