Skip to main content
JoliTools

Base64 Encoder & Decoder

Encode text to Base64 or decode it back to readable text.

Conversion mode

Your text stays in your browser

0 input characters

Text to Base64

Unicode text is converted to UTF 8 bytes before encoding.

0 output characters

Encoding and decoding happen locally in your browser. Your text is never uploaded to JoliTools.

About this tool

Base64 is a way to represent data using ordinary text characters. You may come across it while working with websites, email messages, application settings, or API responses. The JoliTools Base64 Encoder and Decoder lets you turn readable text into Base64 and convert it back again. Choose Encode or Decode, paste your input, and the result appears automatically. You can also click Convert whenever you want to run the operation again. Everything happens locally in your browser, and your text is never uploaded to JoliTools for processing.

Encoding is useful when a system needs information represented in a text friendly format. For example, some email attachments use Base64 as part of the process of transferring file data. You may also see Base64 in data URLs, where encoded image or other file content is included directly in a document. API tokens and certain configuration values can contain Base64 encoded sections as well. These are common examples of where the format appears, but this particular tool is designed for text. It does not provide a file upload feature or convert arbitrary binary files into downloadable attachments.

How to use the base64 encoder & decoder

  1. 1Choose Encode to turn text into Base64 or Decode to convert Base64 into readable text.
  2. 2Type or paste your text into the input box.
  3. 3Check the automatic result or click Convert to process it again.
  4. 4Copy or download the output, or use Swap to reverse the conversion.

Good to know

To encode text, choose Encode and enter something like Hello World. The tool converts the text into UTF 8 bytes and then represents those bytes using Base64 characters. This means it can handle ordinary English text as well as many other languages and emoji. To reverse the process, choose Decode and paste the encoded result. The tool converts the Base64 back into bytes and checks that those bytes form valid UTF 8 text. If they do, you will see the original text. The Swap button makes it easy to move the current result into the input and reverse the operation.

One important detail is that Base64 does not provide security. It is not encryption, and decoding does not require a secret key. Anyone with the encoded value can recover its contents. You should never treat Base64 as a safe place to hide a password, personal information, or confidential message. Encoding also makes data larger. For ordinary binary data, Base64 usually increases the size by about one third, sometimes slightly more because of padding. It is useful for compatibility, not for reducing file size or protecting information.

The decoder supports standard Base64 and URL safe Base64, including valid input with or without padding. It also tolerates ordinary spaces and line breaks in encoded input. However, it cannot recover missing data or guess what damaged text was supposed to contain. Base64 can represent binary files, but binary bytes are not necessarily readable text. If those bytes are not valid UTF 8, JoliTools reports an error instead of silently replacing them with incorrect characters. When you are finished, use Copy output or Download output to keep the result as a text file. For images and other binary formats, use a tool designed specifically for those file types.

Frequently asked questions

Yes. You can encode and decode text for free without creating an account or signing up. The tool runs directly in your browser and does not require an external processing service.

More free tools you might find useful.

Part of Developer Tools on JoliTools, free tools, no sign-up.