Back to Developer Tools

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to plain text with full Unicode support.

About This Tool

Free Base64 encoder and decoder online — encode any text string to Base64 or decode a Base64-encoded string back to plain text, instantly in your browser with no uploads. Base64 encoding represents binary data as ASCII text using 64 characters (A–Z, a–z, 0–9, +, /). It is used everywhere in software: embedding images in HTML/CSS as data URIs, sending binary data over JSON APIs, encoding email attachments (MIME), storing binary data in databases that only accept text, and transmitting credentials in HTTP Basic Authentication headers. This tool handles standard Base64 and URL-safe Base64 (replaces + with - and / with _). Paste your input, select Encode or Decode, and copy the output.

How to Use

  1. 1

    Enter your input

    Paste the text to encode, or the Base64 string to decode.

  2. 2

    Choose mode

    Select Encode (text → Base64) or Decode (Base64 → text).

  3. 3

    Copy the result

    The output appears instantly. Click Copy to use it.

Frequently Asked Questions

Is Base64 encryption?+
No. Base64 is encoding, not encryption. It is reversible by anyone with no key or password. Do not use it to secure sensitive data — use AES encryption for that.
Why does Base64 output end with = or ==?+
Base64 encodes in groups of 3 bytes into 4 characters. When the input length is not a multiple of 3, padding characters (=) are added to complete the final group.

Related Tools

URL Encoder

Try it free →

JSON Formatter

Try it free →

Image to Base64

Try it free →

SHA Hash Generator

Try it free →