Base64 Encode / Decode

UTF-8 safe. Converts text to and from Base64.

Base64 Encoder and Decoder guide

The Base64 tool encodes plain text into Base64 and decodes Base64 back into readable text. Base64 is commonly used when binary-safe text is needed in JSON, HTML, email, API examples or configuration values.

Base64 is an encoding, not encryption. Anyone can decode it. Use it for compatibility and transport, not for secrecy.

When to use it

How to use it

  1. Paste text into the input box.
  2. Choose encode to create Base64 or decode to read Base64.
  3. Review the output for unexpected characters or decoding errors.
  4. Copy the result into your code, request body or documentation.
  5. Use the image-specific Base64 tools when working with image data URLs.

Example

Input

hello utilitytools

Output

aGVsbG8gdXRpbGl0eXRvb2xz

Decoding the output returns the original text.

Privacy

Encoding and decoding are performed in the browser. UtilityTools.eu does not receive the text you paste.

Limitations and accuracy notes

FAQ

Is Base64 secure?

No. It is reversible encoding. Use encryption if you need secrecy.

Why does my decoded text look broken?

The original data may be binary, use a different character encoding, or not be Base64 text.

What does the equals sign mean?

Equals signs are padding used by standard Base64 to complete the final group of characters.