Developer tool

Base64 Encoder & Decoder

Translate UTF-8 text to Base64 and back. This is text encoding for transport or storage, not encryption.

Private by designRuns in your browser
Recent tools
Ctrl / ⌘ + Enter to run

Loading workspace…

Preparing the controls for this tool. Your files have not been selected or uploaded.
QUICK START

How to use Base64 Encoder & Decoder

  1. Paste the text or import a supported text file. Choose Encode for plain text or Decode for a Base64 string.
  2. Run the operation. Decoding accepts standard Base64 and whitespace but requires a valid UTF-8 text result.
  3. Compare the result with your expected text, then copy or download it. Keep secrets out of examples you share.
BEFORE YOU BEGIN

What to expect

Encode UTF-8 text to Base64 or decode a valid Base64 string. Base64 is an encoding, not encryption; do not treat encoded text as a secret.

Local processing

Your files and inputs are processed in your browser and are not uploaded. Download or copy results before leaving. Normal site and library requests still reach the hosting service.

Text encoding example

Encoding Hello produces SGVsbG8=. Decoding that value returns Hello. Unicode text is encoded as UTF-8 before Base64 conversion.

Text: Hello
Base64: SGVsbG8=

Binary data and security

This interface expects text, not arbitrary binary output. A decoded image or archive may fail UTF-8 validation. Use Image to Base64 for a complete image data URL. Anyone with a Base64 string can decode it; it does not protect passwords.

HELP & TROUBLESHOOTING

Frequently asked questions

Why does a Base64 value fail to decode?

Invalid characters, truncated encoding or bytes that are not valid UTF-8 can cause an error. Supply the encoded value itself, not a data URL prefix.

Does this support JWT Base64URL?

JWT uses a different alphabet. Use JWT Decoder to inspect a token header and payload instead of pasting the entire token here.

Where is my input processed?

Files and inputs are processed locally in your browser and are not uploaded. The hosting service receives normal website and library requests. Download or copy results before leaving.