Encode text to Base64, or decode Base64 back to plain text. Useful for developers, emails and config files that need text in a safe format.
Base64 Encode / Decode
Encode text to Base64, or decode Base64 back to plain text.
How to use the Base64 Encoder / Decoder
- Type or paste text — or Base64 — into the Input box.
- Click Encode to turn plain text into Base64.
- Click Decode to turn Base64 back into plain text.
- Click Copy output to copy the result.
The Base64 Encoder / Decoder encodes text to Base64, or decodes Base64 back to plain text, instantly. It is free, with no sign-up, and nothing is uploaded — everything runs in your browser. It is useful for developers, emails and config files that need text in a safe format.
The output box is read-only, so the result cannot be edited by accident — use the Copy output button to take it elsewhere. A short message line under the output tells you what happened, for example when pasted text is not valid Base64. Because the tool has no settings at all, there is nothing to learn: paste, click one button, and copy the answer.
Q: What is Base64 used for?
A: It puts text in a safe format for developers, emails and config files that need encoded text.
Q: What happens if I try to decode invalid Base64?
A: The tool shows a message saying it is not valid Base64, instead of giving a wrong result.