Base64 Encoder/Decoder

Encode or decode Base64 strings

Runs in your browser

What is Base64?

Base64 is a method of encoding binary data into ASCII text strings. It is widely used to transmit data over protocols that only support text, such as email or URLs. This tool allows you to encode text to Base64 or decode Base64 strings back to original text.

Use cases

  • Encode data to embed in URLs or HTML
  • Transmit binary data over text-based protocols
  • Encode images or files for storage as strings
  • Decode Base64 data from APIs or emails

When to use?

Use this tool when you need to encode or decode Base64 data. Commonly used in web development, API processing, or when working with encoded data.

Examples

  1. Encode a short text

    Input

    Hello, GetIt!

    Output

    SGVsbG8sIEdldEl0IQ==

  2. Decode a Base64 string

    Input

    R2V0SXQgVG9vbHM=

    Output

    GetIt Tools

Questions and answers

Is Base64 a form of encryption?

No. Base64 only changes how data is written, and anyone can decode it. Never use it to hide passwords or other secrets.

Why does decoding fail?

The input contains characters that are not part of the Base64 alphabet, or the padding at the end ("=") is incomplete. Copy the whole string and try again.

Can I encode accented letters, Asian scripts or emoji?

Not yet. The encoder accepts plain Latin characters only, so text with characters such as Vietnamese accents, Chinese or emoji shows an error.

All Tools