Encode and decode Base64 text

For people preparing or checking Base64 content during an exchange, Base64 Encoder makes the trip between encoded data and readable text straightforward.

Encode plain text as Base64 or decode existing Base64 content when you need a readable round trip. You get the result directly in your browser.

How to use

  1. Type the plain text to encode, or paste the Base64 string you want to decode into the main field.
  2. Choose the matching action, including the base64url variant when the receiving system expects it.
  3. Run the conversion and read the result shown beside the input, ready to copy.
  4. If something looks wrong, clear the fields and try a shorter sample to isolate the problem.

Example

Someone prepares a small value for a test file. They enter Hello Base64, run the encoder, copy the resulting string into the example, then decode it to confirm that it turns back into the original text.

Input

Hello Base64

Output

SGVsbG8gQmFzZTY0

Limits and formats

Where processing happens

All processing happens in your browser. The text or string you paste stays on your device and is not uploaded or stored elsewhere. You can encode and decode small excerpts as often as needed during the session.

Frequently asked questions

Does Base64 secure a password?

No. Base64 makes data easier to transport or embed, but it does not protect it. Anyone who receives the string can decode it. Use real encryption for security.

Why does my decoded text look strange?

The input may not be valid Base64, or it may contain line breaks, spaces or missing characters. Check the source and try the base64url variant if your system uses it.

Can I import a file?

File import is intended for small text files. For large binary files, a dedicated tool is more practical because pasting or handling a very long string in a browser becomes awkward.

Tools in the same category