Base64 Encoder & Decoder Online

Encode text to Base64 or decode Base64 strings. Supports UTF-8, URL-safe Base64, and hex conversion.

How to Use

  1. 1

    Enter text

    Type or paste the text to encode, or a Base64 string to decode.

  2. 2

    Choose direction

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

  3. 3

    Copy

    The result appears instantly. Click Copy to use it.

FAQ

What is Base64 encoding used for?

Base64 encodes binary data as ASCII text. Common uses: embedding images in HTML/CSS (data URIs), encoding credentials in HTTP headers, transmitting binary data in JSON/XML, and email attachments (MIME).

Can I convert Base64 to hex?

Yes. Decode the Base64 string to binary, then represent each byte as a two-character hexadecimal value. This tool supports direct Base64 to text conversion; use our Hash Generator for hex output.

Is Base64 encryption?

No. Base64 is encoding, not encryption. Anyone can decode a Base64 string without a key. Never use Base64 to protect sensitive data — use proper encryption (AES, RSA) instead.