Toolora

Useful tools for SEO, websites, developers and everyday work.

Text to Base64

Encode Text to Base64.



Text to Base64

Text to Base64 is a useful tool that allows you to convert text & encode them into base64 strings. Just specify the content and press the button to generate Base64 string.

What Base64 is and how to use it

Base64 converts text or data into a string made of 64 safe characters (A to Z, a to z, 0 to 9, + and /). It is used wherever binary data or special characters must pass through systems built for plain text, such as email attachments, data URLs, JSON and HTTP headers.

How to use it

  1. Type or paste your text.
  2. Click encode.
  3. Copy the Base64 output.

Example

The word Hello encodes to SGVsbG8=. The = at the end is padding, added when the input length is not a multiple of three bytes.

Good to know

  • Base64 output is about 33% larger than the original data.
  • Base64 is not encryption. Anyone can decode it with the Base64 to Text tool, so never use it to hide passwords.
  • Basic HTTP authentication sends username:password in Base64, which is why it must always run over HTTPS.

Frequently asked questions

Why does my Base64 end with = or ==?

The equals signs are padding that make the output length a multiple of four.

Can I encode images?

Yes. The Image to Base64 tool produces a string you can embed directly in HTML or CSS.

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us